From PaoloV, 5 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2019-06-14 20:10:44.679541 [INFO] switch_core.c:2487
  2. FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit)
  3.  
  4. FreeSWITCH Started
  5. Max Sessions [1000]
  6. Session Rate [30]
  7. SQL [Enabled]
  8. freeswitch@deb209> sofia global siptrace on
  9.  
  10. +OK Global siptrace on
  11. freeswitch@deb209> recv 794 bytes from udp/[172.16.16.99]:5060 at 20:11:00.838080:
  12.    ------------------------------------------------------------------------
  13.    INVITE sip:number_to_call@deb209.lan SIP/2.0
  14.    Via: SIP/2.0/UDP 172.16.16.99;rport;branch=z9hG4bKzsxbgvng
  15.    Max-Forwards: 70
  16.    To: <sip:number_to_call@deb209.lan>
  17.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  18.    Call-ID: auboqghblvjrqxh@PC-Z97
  19.    CSeq: 910 INVITE
  20.    Contact: <sip:1001@172.16.16.99>
  21.    Content-Type: application/sdp
  22.   Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
  23.    Supported: replaces,norefersub,100rel
  24.    User-Agent: Twinkle/1.10.1
  25.    Content-Length: 309
  26.    
  27.    v=0
  28.    o=twinkle 240836978 1585164347 IN IP4 172.16.16.99
  29.    s=-
  30.    c=IN IP4 172.16.16.99
  31.    t=0 0
  32.    m=audio 22110 RTP/AVP 8 0 97 98 3 101
  33.    a=rtpmap:8 PCMA/8000
  34.    a=rtpmap:0 PCMU/8000
  35.    a=rtpmap:97 speex/8000
  36.    a=rtpmap:98 speex/16000
  37.    a=rtpmap:3 GSM/8000
  38.    a=rtpmap:101 telephone-event/8000
  39.    a=fmtp:101 0-15
  40.    a=ptime:20
  41.    ------------------------------------------------------------------------
  42. 2019-06-14 20:11:00.826987 [NOTICE] switch_channel.c:1114 New Channel sofia/internal/1001@deb209.lan [24f3394f-c530-42a6-91c7-49c4cc6306e6]
  43. send 796 bytes to udp/[172.16.16.99]:5060 at 20:11:00.839124:
  44.    ------------------------------------------------------------------------
  45.    SIP/2.0 407 Proxy Authentication Required
  46.    Via: SIP/2.0/UDP 172.16.16.99;rport=5060;branch=z9hG4bKzsxbgvng
  47.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  48.    To: <sip:number_to_call@deb209.lan>;tag=jQr01rgX7p9ep
  49.    Call-ID: auboqghblvjrqxh@PC-Z97
  50.    CSeq: 910 INVITE
  51.    User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit
  52.    Accept: application/sdp
  53.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  54.    Supported: timer, path, replaces
  55.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  56.    Proxy-Authenticate: Digest realm="deb209.lan", nonce="06d647d3-498f-4787-8586-7cc4c724903a", algorithm=MD5, qop="auth"
  57.    Content-Length: 0
  58.    
  59.    ------------------------------------------------------------------------
  60. recv 311 bytes from udp/[172.16.16.99]:5060 at 20:11:00.839511:
  61.    ------------------------------------------------------------------------
  62.    ACK sip:number_to_call@deb209.lan SIP/2.0
  63.    Via: SIP/2.0/UDP 172.16.16.99;rport;branch=z9hG4bKzsxbgvng
  64.    Max-Forwards: 70
  65.    To: <sip:number_to_call@deb209.lan>;tag=jQr01rgX7p9ep
  66.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  67.    Call-ID: auboqghblvjrqxh@PC-Z97
  68.    CSeq: 910 ACK
  69.    User-Agent: Twinkle/1.10.1
  70.    Content-Length: 0
  71.    
  72.    ------------------------------------------------------------------------
  73. recv 1034 bytes from udp/[172.16.16.99]:5060 at 20:11:00.839692:
  74.    ------------------------------------------------------------------------
  75.    INVITE sip:number_to_call@deb209.lan SIP/2.0
  76.    Via: SIP/2.0/UDP 172.16.16.99;rport;branch=z9hG4bKcaittfdm
  77.    Max-Forwards: 70
  78.    Proxy-Authorization: Digest username="1001",realm="deb209.lan",nonce="06d647d3-498f-4787-8586-7cc4c724903a",uri="sip:number_to_call@deb209.lan",response="07eee45a79b2c4e303187fcfac03977d",algorithm=MD5,cnonce="65cd38f7f7",qop=auth,nc=00000001
  79.    To: <sip:number_to_call@deb209.lan>
  80.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  81.    Call-ID: auboqghblvjrqxh@PC-Z97
  82.    CSeq: 911 INVITE
  83.    Contact: <sip:1001@172.16.16.99>
  84.    Content-Type: application/sdp
  85.   Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
  86.    Supported: replaces,norefersub,100rel
  87.    User-Agent: Twinkle/1.10.1
  88.    Content-Length: 309
  89.    
  90.    v=0
  91.    o=twinkle 240836978 1585164347 IN IP4 172.16.16.99
  92.    s=-
  93.    c=IN IP4 172.16.16.99
  94.    t=0 0
  95.    m=audio 22110 RTP/AVP 8 0 97 98 3 101
  96.    a=rtpmap:8 PCMA/8000
  97.    a=rtpmap:0 PCMU/8000
  98.    a=rtpmap:97 speex/8000
  99.    a=rtpmap:98 speex/16000
  100.    a=rtpmap:3 GSM/8000
  101.    a=rtpmap:101 telephone-event/8000
  102.    a=fmtp:101 0-15
  103.    a=ptime:20
  104.    ------------------------------------------------------------------------
  105. 2019-06-14 20:11:00.860573 [INFO] mod_dialplan_xml.c:637 Processing test <1001>->number_to_call in context default
  106. send 295 bytes to udp/[172.16.16.99]:5060 at 20:11:00.862289:
  107.    ------------------------------------------------------------------------
  108.    SIP/2.0 100 Trying
  109.    Via: SIP/2.0/UDP 172.16.16.99;rport=5060;branch=z9hG4bKcaittfdm
  110.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  111.    To: <sip:number_to_call@deb209.lan>
  112.    Call-ID: auboqghblvjrqxh@PC-Z97
  113.    CSeq: 911 INVITE
  114.    User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit
  115.    Content-Length: 0
  116.    
  117.    ------------------------------------------------------------------------
  118. 2019-06-14 20:11:00.860573 [NOTICE] switch_channel.c:1114 New Channel sofia/external/number_to_call [65ba406e-0e6a-4d57-b5dd-2f53b34873b0]
  119. send 1161 bytes to udp/[my_proxy_ip]:5060 at 20:11:00.866132:
  120.    ------------------------------------------------------------------------
  121.    INVITE sip:number_to_call@123.ims.my_provider.net:5060 SIP/2.0
  122.    Via: SIP/2.0/UDP my_public_ip:5080;rport;branch=z9hG4bK9X12v734KmrZe
  123.    Max-Forwards: 69
  124.    From: "123456789" <sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  125.    To: <sip:number_to_call@123.ims.my_provider.net:5060>
  126.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  127.    CSeq: 5714138 INVITE
  128.    Contact: <sip:123456789@my_public_ip:5080;transport=udp;gw=outbound-my_provider>
  129.    User-Agent: ZYXEL VMG8924-B10D V5.13(ABLH.0)b6
  130.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY
  131.    Supported: precondition, 100rel, timer, path, replaces
  132.    Allow-Events: talk, hold, conference, refer
  133.    Content-Type: application/sdp
  134.    Content-Disposition: session
  135.    Content-Length: 248
  136.    X-FS-Support: update_display,send_info
  137.    Remote-Party-ID: "123456789" <sip:123456789@ims.my_provider.net>;party=calling;screen=yes;privacy=off
  138.    
  139.    v=0
  140.    o=FreeSWITCH 1560495772 1560495773 IN IP4 my_public_ip
  141.    s=FreeSWITCH
  142.    c=IN IP4 my_public_ip
  143.    t=0 0
  144.    m=audio 40088 RTP/AVP 8 0 101
  145.    a=rtpmap:8 PCMA/8000
  146.    a=rtpmap:0 PCMU/8000
  147.    a=rtpmap:101 telephone-event/8000
  148.    a=fmtp:101 0-16
  149.    a=ptime:20
  150.    ------------------------------------------------------------------------
  151. recv 332 bytes from udp/[my_proxy_ip]:5060 at 20:11:00.880195:
  152.    ------------------------------------------------------------------------
  153.    SIP/2.0 100 Trying
  154.    Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe
  155.    To: <sip:number_to_call@123.ims.my_provider.net>
  156.    From: "123456789"<sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  157.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  158.    CSeq: 5714138 INVITE
  159.    User-Agent: ZTE-SBC
  160.    Content-Length: 0
  161.    
  162.    ------------------------------------------------------------------------
  163. recv 805 bytes from udp/[my_proxy_ip]:5060 at 20:11:01.076014:
  164.    ------------------------------------------------------------------------
  165.    SIP/2.0 183 Session Progress
  166.    Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe
  167.    To: <sip:number_to_call@123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
  168.    From: "?"<sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  169.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  170.    CSeq: 5714138 INVITE
  171.    Contact: <sip:my_proxy_ip:5060;zte-did=2-4-20481-2565-12>
  172.    RSeq: 1710764156
  173.    Supported: 100rel
  174.    P-Early-Media: sendonly
  175.    Require: 100rel
  176.    Accept: application/sdp,
  177.         multipart/mixed
  178.    Reason: SIP;cause=404;text="Not Found"
  179.    Content-Type: application/sdp
  180.    Content-Length: 174
  181.    Content-Disposition: session
  182.    
  183.    v=0
  184.    o=ZTE 75885206 1020429859 IN IP4 94.32.130.114
  185.    s=phone-call
  186.    c=IN IP4 94.32.130.114
  187.    t=0 0
  188.    m=audio 32790 RTP/AVP 8 101
  189.    a=rtpmap:101 telephone-event/8000
  190.    a=sendrecv
  191.    ------------------------------------------------------------------------
  192. send 728 bytes to udp/[my_proxy_ip]:5060 at 20:11:01.076200:
  193.    ------------------------------------------------------------------------
  194.    PRACK sip:my_proxy_ip:5060;zte-did=2-4-20481-2565-12 SIP/2.0
  195.    Via: SIP/2.0/UDP my_public_ip:5080;rport;branch=z9hG4bKa7tUy2m8gXeja
  196.    Max-Forwards: 70
  197.    From: "123456789" <sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  198.    To: <sip:number_to_call@123.ims.my_provider.net:5060>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
  199.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  200.    CSeq: 5714139 PRACK
  201.    Contact: <sip:123456789@my_public_ip:5080;transport=udp;gw=outbound-my_provider>
  202.    RAck: 1710764156 5714138 INVITE
  203.    User-Agent: ZYXEL VMG8924-B10D V5.13(ABLH.0)b6
  204.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY
  205.    Supported: precondition, 100rel, timer, path, replaces
  206.    Content-Length: 0
  207.    
  208.    ------------------------------------------------------------------------
  209. 2019-06-14 20:11:01.059362 [NOTICE] sofia.c:7336 Pre-Answer sofia/external/number_to_call!
  210. 2019-06-14 20:11:01.059362 [INFO] switch_ivr_originate.c:3752 Sending early media
  211. 2019-06-14 20:11:01.079472 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1001@deb209.lan!
  212. send 1132 bytes to udp/[172.16.16.99]:5060 at 20:11:01.083881:
  213.    ------------------------------------------------------------------------
  214.    SIP/2.0 183 Session Progress
  215.    Via: SIP/2.0/UDP 172.16.16.99;rport=5060;branch=z9hG4bKcaittfdm
  216.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  217.    To: <sip:number_to_call@deb209.lan>;tag=K0HS3K104ZZ1H
  218.    Call-ID: auboqghblvjrqxh@PC-Z97
  219.    CSeq: 911 INVITE
  220.    Contact: <sip:number_to_call@my_public_ip:5060;transport=udp>
  221.    User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit
  222.    Accept: application/sdp
  223.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  224.    Supported: timer, path, replaces
  225.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  226.    Content-Type: application/sdp
  227.    Content-Disposition: session
  228.    Content-Length: 222
  229.    P-Early-Media: sendonly
  230.    Remote-Party-ID: "Outbound Call" <sip:number_to_call@deb209.lan>;party=calling;privacy=off;screen=no
  231.    
  232.    v=0
  233.    o=FreeSWITCH 1560495861 1560495862 IN IP4 172.16.16.209
  234.    s=FreeSWITCH
  235.    c=IN IP4 172.16.16.209
  236.    t=0 0
  237.    m=audio 40000 RTP/AVP 8 101
  238.    a=rtpmap:8 PCMA/8000
  239.    a=rtpmap:101 telephone-event/8000
  240.    a=fmtp:101 0-16
  241.    a=ptime:20
  242.    ------------------------------------------------------------------------
  243. recv 329 bytes from udp/[my_proxy_ip]:5060 at 20:11:01.134893:
  244.    ------------------------------------------------------------------------
  245.    SIP/2.0 200 OK
  246.    Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bKa7tUy2m8gXeja
  247.    To: <sip:number_to_call@123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
  248.    From: "?"<sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  249.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  250.    CSeq: 5714139 PRACK
  251.    Content-Length: 0
  252.    
  253.    ------------------------------------------------------------------------
  254. recv 396 bytes from udp/[my_proxy_ip]:5060 at 20:11:06.525419:
  255.    ------------------------------------------------------------------------
  256.    SIP/2.0 404 Not Found
  257.    Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe
  258.    To: <sip:number_to_call@123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
  259.    From: "?"<sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  260.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  261.    CSeq: 5714138 INVITE
  262.    X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net"
  263.    Content-Length: 0
  264.    
  265.    ------------------------------------------------------------------------
  266. send 395 bytes to udp/[my_proxy_ip]:5060 at 20:11:06.525621:
  267.    ------------------------------------------------------------------------
  268.    ACK sip:number_to_call@123.ims.my_provider.net:5060 SIP/2.0
  269.    Via: SIP/2.0/UDP my_public_ip:5080;rport;branch=z9hG4bK9X12v734KmrZe
  270.    Max-Forwards: 69
  271.    From: "123456789" <sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
  272.    To: <sip:number_to_call@123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
  273.    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
  274.    CSeq: 5714138 ACK
  275.    Content-Length: 0
  276.    
  277.    ------------------------------------------------------------------------
  278. 2019-06-14 20:11:06.522456 [NOTICE] sofia.c:8516 Hangup sofia/external/number_to_call [CS_EXCHANGE_MEDIA] [UNALLOCATED_NUMBER]
  279. 2019-06-14 20:11:06.522456 [NOTICE] switch_channel.c:4901 Hangup sofia/internal/1001@deb209.lan [CS_EXECUTE] [UNALLOCATED_NUMBER]
  280. 2019-06-14 20:11:06.522456 [NOTICE] switch_core_session.c:1744 Session 2 (sofia/external/number_to_call) Ended
  281. 2019-06-14 20:11:06.522456 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/number_to_call [CS_DESTROY]
  282. send 855 bytes to udp/[172.16.16.99]:5060 at 20:11:06.542699:
  283.    ------------------------------------------------------------------------
  284.    SIP/2.0 404 Not Found
  285.    Via: SIP/2.0/UDP 172.16.16.99;rport=5060;branch=z9hG4bKcaittfdm
  286.    Max-Forwards: 70
  287.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  288.    To: <sip:number_to_call@deb209.lan>;tag=K0HS3K104ZZ1H
  289.    Call-ID: auboqghblvjrqxh@PC-Z97
  290.    CSeq: 911 INVITE
  291.    User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit
  292.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  293.    Supported: timer, path, replaces
  294.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  295.    Reason: Q.850;cause=1;text="UNALLOCATED_NUMBER"
  296.    Content-Length: 0
  297.    X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net"
  298.    Remote-Party-ID: "Outbound Call" <sip:number_to_call@deb209.lan>;party=calling;privacy=off;screen=no
  299.    
  300.    ------------------------------------------------------------------------
  301. recv 551 bytes from udp/[172.16.16.99]:5060 at 20:11:06.543387:
  302.    ------------------------------------------------------------------------
  303.    ACK sip:number_to_call@deb209.lan SIP/2.0
  304.    Via: SIP/2.0/UDP 172.16.16.99;rport;branch=z9hG4bKcaittfdm
  305.    Max-Forwards: 70
  306.    Proxy-Authorization: Digest username="1001",realm="deb209.lan",nonce="06d647d3-498f-4787-8586-7cc4c724903a",uri="sip:number_to_call@deb209.lan",response="07eee45a79b2c4e303187fcfac03977d",algorithm=MD5,cnonce="65cd38f7f7",qop=auth,nc=00000001
  307.    To: <sip:number_to_call@deb209.lan>;tag=K0HS3K104ZZ1H
  308.    From: "test" <sip:1001@deb209.lan>;tag=roasw
  309.    Call-ID: auboqghblvjrqxh@PC-Z97
  310.    CSeq: 911 ACK
  311.    User-Agent: Twinkle/1.10.1
  312.    Content-Length: 0
  313.    
  314.    ------------------------------------------------------------------------
  315. 2019-06-14 20:11:06.522456 [NOTICE] switch_core_session.c:1744 Session 1 (sofia/internal/1001@deb209.lan) Ended
  316. 2019-06-14 20:11:06.522456 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/1001@deb209.lan [CS_DESTROY]
  317. ...
  318.  
  319. +OK
  320.  
  321. 2019-06-14 20:11:14.139362 [INFO] switch_core.c:2854 Shutting down
  322. 2019-06-14 20:11:14.721580 [CONSOLE] switch_core.c:2981 End existing sessions
  323. 2019-06-14 20:11:14.721580 [CONSOLE] switch_core.c:2983 Clean up modules.
  324.