call

From willt, 3 Months ago, written in Plain Text, viewed 32 times.
URL http://pastebin.freepbx.org/view/c141ee48 Embed
Download Paste or View Raw
  1. <--- SIP read from UDP:192.168.254.247:5060 --->
  2. INVITE sip:2415365@192.168.254.5 SIP/2.0
  3. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-eca3b1a5
  4. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  5. To: <sip:2415365@192.168.254.5>
  6. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  7. CSeq: 101 INVITE
  8. Max-Forwards: 70
  9. Contact: "2004" <sip:2004@192.168.254.247:5060>
  10. Expires: 240
  11. User-Agent: Cisco/SPA504G-7.5.2
  12. Content-Length: 401
  13. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
  14. Supported: replaces
  15. Content-Type: application/sdp
  16.  
  17. v=0
  18. o=- 826705 826705 IN IP4 192.168.254.247
  19. s=-
  20. c=IN IP4 192.168.254.247
  21. t=0 0
  22. m=audio 16432 RTP/AVP 0 2 8 9 18 96 97 98 101
  23. a=rtpmap:0 PCMU/8000
  24. a=rtpmap:2 G726-32/8000
  25. a=rtpmap:8 PCMA/8000
  26. a=rtpmap:9 G722/8000
  27. a=rtpmap:18 G729a/8000
  28. a=rtpmap:96 G726-40/8000
  29. a=rtpmap:97 G726-24/8000
  30. a=rtpmap:98 G726-16/8000
  31. a=rtpmap:101 telephone-event/8000
  32. a=fmtp:101 0-15
  33. a=ptime:30
  34. a=sendrecv
  35. <------------->
  36. --- (14 headers 18 lines) ---
  37. Sending to 192.168.254.247:5060 (NAT)
  38. Sending to 192.168.254.247:5060 (NAT)
  39. Using INVITE request as basis request - fda6fb8f-8cf8f18d@192.168.254.247
  40. Found peer '2004' for '2004' from 192.168.254.247:5060
  41.  
  42. <--- Reliably Transmitting (no NAT) to 192.168.254.247:5060 --->
  43. SIP/2.0 401 Unauthorized
  44. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-eca3b1a5;received=192.168.254.247
  45. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  46. To: <sip:2415365@192.168.254.5>;tag=as78f2a9c3
  47. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  48. CSeq: 101 INVITE
  49. Server: FPBX-13.0.192.18(13.17.0)
  50. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  51. Supported: replaces, timer
  52. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1c5e0d9b"
  53. Content-Length: 0
  54.  
  55.  
  56. <------------>
  57. Scheduling destruction of SIP dialog 'fda6fb8f-8cf8f18d@192.168.254.247' in 6400 ms (Method: INVITE)
  58.  
  59. <--- SIP read from UDP:192.168.254.247:5060 --->
  60. ACK sip:2415365@192.168.254.5 SIP/2.0
  61. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-eca3b1a5
  62. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  63. To: <sip:2415365@192.168.254.5>;tag=as78f2a9c3
  64. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  65. CSeq: 101 ACK
  66. Max-Forwards: 70
  67. Contact: "2004" <sip:2004@192.168.254.247:5060>
  68. User-Agent: Cisco/SPA504G-7.5.2
  69. Content-Length: 0
  70.  
  71. <------------->
  72. --- (10 headers 0 lines) ---
  73.  
  74. <--- SIP read from UDP:192.168.254.247:5060 --->
  75. INVITE sip:2415365@192.168.254.5 SIP/2.0
  76. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-e3807021
  77. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  78. To: <sip:2415365@192.168.254.5>
  79. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  80. CSeq: 102 INVITE
  81. Max-Forwards: 70
  82. Authorization: Digest username="2004",realm="asterisk",nonce="1c5e0d9b",uri="sip:2415365@192.168.254.5",algorithm=MD5,response="acea87ff633a72134c6d1ff51746d8be"
  83. Contact: "2004" <sip:2004@192.168.254.247:5060>
  84. Expires: 240
  85. User-Agent: Cisco/SPA504G-7.5.2
  86. Content-Length: 401
  87. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
  88. Supported: replaces
  89. Content-Type: application/sdp
  90.  
  91. v=0
  92. o=- 826705 826705 IN IP4 192.168.254.247
  93. s=-
  94. c=IN IP4 192.168.254.247
  95. t=0 0
  96. m=audio 16432 RTP/AVP 0 2 8 9 18 96 97 98 101
  97. a=rtpmap:0 PCMU/8000
  98. a=rtpmap:2 G726-32/8000
  99. a=rtpmap:8 PCMA/8000
  100. a=rtpmap:9 G722/8000
  101. a=rtpmap:18 G729a/8000
  102. a=rtpmap:96 G726-40/8000
  103. a=rtpmap:97 G726-24/8000
  104. a=rtpmap:98 G726-16/8000
  105. a=rtpmap:101 telephone-event/8000
  106. a=fmtp:101 0-15
  107. a=ptime:30
  108. a=sendrecv
  109. <------------->
  110. --- (15 headers 18 lines) ---
  111. Sending to 192.168.254.247:5060 (no NAT)
  112. Using INVITE request as basis request - fda6fb8f-8cf8f18d@192.168.254.247
  113. Found peer '2004' for '2004' from 192.168.254.247:5060
  114.   == Using SIP RTP TOS bits 184
  115.   == Using SIP RTP CoS mark 5
  116. Found RTP audio format 0
  117. Found RTP audio format 2
  118. Found RTP audio format 8
  119. Found RTP audio format 9
  120. Found RTP audio format 18
  121. Found RTP audio format 96
  122. Found RTP audio format 97
  123. Found RTP audio format 98
  124. Found RTP audio format 101
  125. Found audio description format PCMU for ID 0
  126. Found audio description format G726-32 for ID 2
  127. Found audio description format PCMA for ID 8
  128. Found audio description format G722 for ID 9
  129. Found audio description format G729a for ID 18
  130. Found unknown media description format G726-40 for ID 96
  131. Found unknown media description format G726-24 for ID 97
  132. Found unknown media description format G726-16 for ID 98
  133. Found audio description format telephone-event for ID 101
  134. Capabilities: us - (ulaw|alaw|gsm|g726|g722), peer - audio=(ulaw|g726|alaw|g722|g729)/video=(nothing)/text=(nothing), combined - (ulaw|alaw|g726|g722)
  135. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  136. Peer audio RTP is at port 192.168.254.247:16432
  137. Looking for 2415365 in from-internal (domain 192.168.254.5)
  138. sip_route_dump: route/path hop: <sip:2004@192.168.254.247:5060>
  139.  
  140. <--- Transmitting (no NAT) to 192.168.254.247:5060 --->
  141. SIP/2.0 100 Trying
  142. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-e3807021;received=192.168.254.247
  143. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  144. To: <sip:2415365@192.168.254.5>
  145. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  146. CSeq: 102 INVITE
  147. Server: FPBX-13.0.192.18(13.17.0)
  148. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  149. Supported: replaces, timer
  150. Contact: <sip:2415365@192.168.254.5:5060>
  151. Content-Length: 0
  152.  
  153.  
  154. <------------>
  155.     -- Executing [2415365@from-internal:1] Macro("SIP/2004-000000cb", "user-callerid,LIMIT,EXTERNAL,") in new stack
  156.     -- Executing [s@macro-user-callerid:1] Set("SIP/2004-000000cb", "TOUCH_MONITOR=1506117948.205") in new stack
  157.     -- Executing [s@macro-user-callerid:2] Set("SIP/2004-000000cb", "AMPUSER=2004") in new stack
  158.     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/2004-000000cb", "0?report") in new stack
  159.     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/2004-000000cb", "1?Set(REALCALLERIDNUM=2004)") in new stack
  160.     -- Executing [s@macro-user-callerid:5] Set("SIP/2004-000000cb", "AMPUSER=2004") in new stack
  161.     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2004-000000cb", "0?limit") in new stack
  162.     -- Executing [s@macro-user-callerid:7] Set("SIP/2004-000000cb", "AMPUSERCIDNAME=2004") in new stack
  163.     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/2004-000000cb", "0?report") in new stack
  164.     -- Executing [s@macro-user-callerid:9] Set("SIP/2004-000000cb", "AMPUSERCID=2004") in new stack
  165.     -- Executing [s@macro-user-callerid:10] Set("SIP/2004-000000cb", "__DIAL_OPTIONS=Ttr") in new stack
  166.     -- Executing [s@macro-user-callerid:11] Set("SIP/2004-000000cb", "CALLERID(all)="2004" <2004>") in new stack
  167.     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/2004-000000cb", "0?limit") in new stack
  168.     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/2004-000000cb", "1?Set(GROUP(concurrency_limit)=2004)") in new stack
  169.     -- Executing [s@macro-user-callerid:14] ExecIf("SIP/2004-000000cb", "0?Set(CHANNEL(language)=)") in new stack
  170.     -- Executing [s@macro-user-callerid:15] GotoIf("SIP/2004-000000cb", "1?continue") in new stack
  171.     -- Goto (macro-user-callerid,s,29)
  172.     -- Executing [s@macro-user-callerid:29] Set("SIP/2004-000000cb", "CALLERID(number)=2004") in new stack
  173.     -- Executing [s@macro-user-callerid:30] Set("SIP/2004-000000cb", "CALLERID(name)=2004") in new stack
  174.     -- Executing [s@macro-user-callerid:31] GotoIf("SIP/2004-000000cb", "0?cnum") in new stack
  175.     -- Executing [s@macro-user-callerid:32] Set("SIP/2004-000000cb", "CDR(cnam)=2004") in new stack
  176.     -- Executing [s@macro-user-callerid:33] Set("SIP/2004-000000cb", "CDR(cnum)=2004") in new stack
  177.     -- Executing [s@macro-user-callerid:34] Set("SIP/2004-000000cb", "CHANNEL(language)=en") in new stack
  178.     -- Executing [2415365@from-internal:2] Gosub("SIP/2004-000000cb", "sub-record-check,s,1(out,2415365,dontcare)") in new stack
  179.     -- Executing [s@sub-record-check:1] GotoIf("SIP/2004-000000cb", "0?initialized") in new stack
  180.     -- Executing [s@sub-record-check:2] Set("SIP/2004-000000cb", "__REC_STATUS=INITIALIZED") in new stack
  181.     -- Executing [s@sub-record-check:3] Set("SIP/2004-000000cb", "NOW=1506117948") in new stack
  182.     -- Executing [s@sub-record-check:4] Set("SIP/2004-000000cb", "__DAY=22") in new stack
  183.     -- Executing [s@sub-record-check:5] Set("SIP/2004-000000cb", "__MONTH=09") in new stack
  184.     -- Executing [s@sub-record-check:6] Set("SIP/2004-000000cb", "__YEAR=2017") in new stack
  185.     -- Executing [s@sub-record-check:7] Set("SIP/2004-000000cb", "__TIMESTR=20170922-150548") in new stack
  186.     -- Executing [s@sub-record-check:8] Set("SIP/2004-000000cb", "__FROMEXTEN=2004") in new stack
  187.     -- Executing [s@sub-record-check:9] Set("SIP/2004-000000cb", "__MON_FMT=wav") in new stack
  188.     -- Executing [s@sub-record-check:10] NoOp("SIP/2004-000000cb", "Recordings initialized") in new stack
  189.     -- Executing [s@sub-record-check:11] ExecIf("SIP/2004-000000cb", "0?Set(ARG3=dontcare)") in new stack
  190.     -- Executing [s@sub-record-check:12] Set("SIP/2004-000000cb", "REC_POLICY_MODE_SAVE=") in new stack
  191.     -- Executing [s@sub-record-check:13] ExecIf("SIP/2004-000000cb", "0?Set(REC_STATUS=NO)") in new stack
  192.     -- Executing [s@sub-record-check:14] GotoIf("SIP/2004-000000cb", "3?checkaction") in new stack
  193.     -- Goto (sub-record-check,s,17)
  194.     -- Executing [s@sub-record-check:17] GotoIf("SIP/2004-000000cb", "1?sub-record-check,out,1") in new stack
  195.     -- Goto (sub-record-check,out,1)
  196.     -- Executing [out@sub-record-check:1] NoOp("SIP/2004-000000cb", "Outbound Recording Check from 2004 to 2415365") in new stack
  197.     -- Executing [out@sub-record-check:2] Set("SIP/2004-000000cb", "RECMODE=dontcare") in new stack
  198.     -- Executing [out@sub-record-check:3] ExecIf("SIP/2004-000000cb", "1?Goto(routewins)") in new stack
  199.     -- Goto (sub-record-check,out,7)
  200.     -- Executing [out@sub-record-check:7] Gosub("SIP/2004-000000cb", "recordcheck,1(dontcare,out,2415365)") in new stack
  201.     -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/2004-000000cb", "Starting recording check against dontcare") in new stack
  202.     -- Executing [recordcheck@sub-record-check:2] Goto("SIP/2004-000000cb", "dontcare") in new stack
  203.     -- Goto (sub-record-check,recordcheck,3)
  204.     -- Executing [recordcheck@sub-record-check:3] Return("SIP/2004-000000cb", "") in new stack
  205.     -- Executing [out@sub-record-check:8] Return("SIP/2004-000000cb", "") in new stack
  206.     -- Executing [2415365@from-internal:3] ExecIf("SIP/2004-000000cb", "0 ?Set(CDR(accountcode)=)") in new stack
  207.     -- Executing [2415365@from-internal:4] Set("SIP/2004-000000cb", "MOHCLASS=default") in new stack
  208.     -- Executing [2415365@from-internal:5] Set("SIP/2004-000000cb", "_NODEST=") in new stack
  209.     -- Executing [2415365@from-internal:6] Macro("SIP/2004-000000cb", "dialout-trunk,1,19162415365,,off") in new stack
  210.     -- Executing [s@macro-dialout-trunk:1] Set("SIP/2004-000000cb", "DIAL_TRUNK=1") in new stack
  211.     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2004-000000cb", "0?sub-pincheck,s,1()") in new stack
  212.     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2004-000000cb", "0?disabletrunk,1") in new stack
  213.     -- Executing [s@macro-dialout-trunk:4] Set("SIP/2004-000000cb", "DIAL_NUMBER=19162415365") in new stack
  214.     -- Executing [s@macro-dialout-trunk:5] Set("SIP/2004-000000cb", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  215.     -- Executing [s@macro-dialout-trunk:6] Set("SIP/2004-000000cb", "OUTBOUND_GROUP=OUT_1") in new stack
  216.     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2004-000000cb", "0?nomax") in new stack
  217.     -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2004-000000cb", "0?chanfull") in new stack
  218.     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2004-000000cb", "0?skipoutcid") in new stack
  219.     -- Executing [s@macro-dialout-trunk:10] Set("SIP/2004-000000cb", "DIAL_TRUNK_OPTIONS=T") in new stack
  220.     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2004-000000cb", "outbound-callerid,1") in new stack
  221.     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2004-000000cb", "0?Set(CALLERPRES(name-pres)=)") in new stack
  222.     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2004-000000cb", "0?Set(CALLERPRES(num-pres)=)") in new stack
  223.     -- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/2004-000000cb", "0?Set(REALCALLERIDNUM=2004)") in new stack
  224.     -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/2004-000000cb", "1?normcid") in new stack
  225.     -- Goto (macro-outbound-callerid,s,7)
  226.     -- Executing [s@macro-outbound-callerid:7] Set("SIP/2004-000000cb", "USEROUTCID=") in new stack
  227.     -- Executing [s@macro-outbound-callerid:8] Set("SIP/2004-000000cb", "EMERGENCYCID=") in new stack
  228.     -- Executing [s@macro-outbound-callerid:9] Set("SIP/2004-000000cb", "TRUNKOUTCID=<1916-478-8800>") in new stack
  229.     -- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/2004-000000cb", "1?trunkcid") in new stack
  230.     -- Goto (macro-outbound-callerid,s,15)
  231.     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2004-000000cb", "1?Set(CALLERID(all)=<1916-478-8800>)") in new stack
  232.     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/2004-000000cb", "0?Set(CALLERID(all)=)") in new stack
  233.     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/2004-000000cb", "0?Set(CALLERID(all)=)") in new stack
  234.     -- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/2004-000000cb", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  235.     -- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/2004-000000cb", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  236.     -- Executing [s@macro-outbound-callerid:20] Set("SIP/2004-000000cb", "CDR(outbound_cnum)=19164788800") in new stack
  237.     -- Executing [s@macro-outbound-callerid:21] Set("SIP/2004-000000cb", "CDR(outbound_cnam)=") in new stack
  238.     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2004-000000cb", "1?sub-flp-1,s,1()") in new stack
  239.     -- Executing [s@sub-flp-1:1] ExecIf("SIP/2004-000000cb", "0?Set(TARGET_FLP_1=191619162415365)") in new stack
  240.     -- Executing [s@sub-flp-1:2] GotoIf("SIP/2004-000000cb", "0?match") in new stack
  241.     -- Executing [s@sub-flp-1:3] Return("SIP/2004-000000cb", "") in new stack
  242.     -- Executing [s@macro-dialout-trunk:13] Set("SIP/2004-000000cb", "OUTNUM=19162415365") in new stack
  243.     -- Executing [s@macro-dialout-trunk:14] Set("SIP/2004-000000cb", "custom=SIP/vitel-outbound") in new stack
  244.     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2004-000000cb", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  245.     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2004-000000cb", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  246.     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/2004-000000cb", "dialout-trunk-predial-hook,") in new stack
  247.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2004-000000cb", "") in new stack
  248.     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2004-000000cb", "0?skipcrm") in new stack
  249.     -- Executing [s@macro-dialout-trunk:19] Set("SIP/2004-000000cb", "__CRM_DIRECTION=OUTBOUND") in new stack
  250.     -- Executing [s@macro-dialout-trunk:20] Set("SIP/2004-000000cb", "__CRM_DESTINATION=19162415365") in new stack
  251.     -- Executing [s@macro-dialout-trunk:21] Set("SIP/2004-000000cb", "__CRM_SOURCE=2004") in new stack
  252.     -- Executing [s@macro-dialout-trunk:22] AGI("SIP/2004-000000cb", "sangomacrm.agi") in new stack
  253.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  254.     -- <SIP/2004-000000cb>AGI Script sangomacrm.agi completed, returning 0
  255.     -- Executing [s@macro-dialout-trunk:23] Set("SIP/2004-000000cb", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  256.     -- Executing [s@macro-dialout-trunk:24] NoOp("SIP/2004-000000cb", "CRM Finished") in new stack
  257.     -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/2004-000000cb", "0?bypass,1") in new stack
  258.     -- Executing [s@macro-dialout-trunk:26] ExecIf("SIP/2004-000000cb", "1?Set(CONNECTEDLINE(num,i)=19162415365)") in new stack
  259.     -- Executing [s@macro-dialout-trunk:27] ExecIf("SIP/2004-000000cb", "1?Set(CONNECTEDLINE(name,i)=CID:19164788800)") in new stack
  260.     -- Executing [s@macro-dialout-trunk:28] ExecIf("SIP/2004-000000cb", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)19164788800)") in new stack
  261.     -- Executing [s@macro-dialout-trunk:29] GotoIf("SIP/2004-000000cb", "0?customtrunk") in new stack
  262.     -- Executing [s@macro-dialout-trunk:30] Dial("SIP/2004-000000cb", "SIP/vitel-outbound/19162415365,300,T") in new stack
  263.   == Using SIP RTP TOS bits 184
  264.   == Using SIP RTP CoS mark 5
  265. Audio is at 12178
  266. Adding codec ulaw to SDP
  267. Adding codec alaw to SDP
  268. Adding codec gsm to SDP
  269. Adding codec g726 to SDP
  270. Adding codec g722 to SDP
  271. Adding non-codec 0x1 (telephone-event) to SDP
  272. Reliably Transmitting (NAT) to 64.2.142.109:5060:
  273. INVITE sip:19162415365@outbound.vitelity.net SIP/2.0
  274. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK0a3bc9a5;rport
  275. Max-Forwards: 70
  276. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  277. To: <sip:19162415365@outbound.vitelity.net>
  278. Contact: <sip:delc_elk@65.73.31.80:5060>
  279. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  280. CSeq: 102 INVITE
  281. User-Agent: FPBX-13.0.192.18(13.17.0)
  282. Date: Fri, 22 Sep 2017 22:05:48 GMT
  283. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  284. Supported: replaces, timer
  285. Remote-Party-ID: "19164788800" <sip:19164788800@65.73.31.80>;party=calling;privacy=off;screen=no
  286. Content-Type: application/sdp
  287. Content-Length: 352
  288.  
  289. v=0
  290. o=root 2014475341 2014475341 IN IP4 65.73.31.80
  291. s=Asterisk PBX 13.17.0
  292. c=IN IP4 65.73.31.80
  293. t=0 0
  294. m=audio 12178 RTP/AVP 0 8 3 111 9 101
  295. a=rtpmap:0 PCMU/8000
  296. a=rtpmap:8 PCMA/8000
  297. a=rtpmap:3 GSM/8000
  298. a=rtpmap:111 G726-32/8000
  299. a=rtpmap:9 G722/8000
  300. a=rtpmap:101 telephone-event/8000
  301. a=fmtp:101 0-16
  302. a=ptime:20
  303. a=maxptime:150
  304. a=sendrecv
  305.  
  306. ---
  307.     -- Called SIP/vitel-outbound/19162415365
  308.  
  309. <--- SIP read from UDP:64.2.142.109:5060 --->
  310. SIP/2.0 407 Proxy Authentication Required
  311. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK0a3bc9a5;received=65.73.31.80;rport=5060
  312. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  313. To: <sip:19162415365@outbound.vitelity.net>;tag=as65ad2f26
  314. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  315. CSeq: 102 INVITE
  316. User-Agent: packetrino
  317. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  318. Supported: replaces
  319. Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="143bc14a"
  320. Content-Length: 0
  321.  
  322. <------------->
  323. --- (11 headers 0 lines) ---
  324. Transmitting (NAT) to 64.2.142.109:5060:
  325. ACK sip:19162415365@outbound.vitelity.net SIP/2.0
  326. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK0a3bc9a5;rport
  327. Max-Forwards: 70
  328. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  329. To: <sip:19162415365@outbound.vitelity.net>;tag=as65ad2f26
  330. Contact: <sip:delc_elk@65.73.31.80:5060>
  331. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  332. CSeq: 102 ACK
  333. User-Agent: FPBX-13.0.192.18(13.17.0)
  334. Content-Length: 0
  335.  
  336.  
  337. ---
  338. Audio is at 12178
  339. Adding codec ulaw to SDP
  340. Adding codec alaw to SDP
  341. Adding codec gsm to SDP
  342. Adding codec g726 to SDP
  343. Adding codec g722 to SDP
  344. Adding non-codec 0x1 (telephone-event) to SDP
  345. Reliably Transmitting (NAT) to 64.2.142.109:5060:
  346. INVITE sip:19162415365@outbound.vitelity.net SIP/2.0
  347. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK438631c3;rport
  348. Max-Forwards: 70
  349. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  350. To: <sip:19162415365@outbound.vitelity.net>
  351. Contact: <sip:delc_elk@65.73.31.80:5060>
  352. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  353. CSeq: 103 INVITE
  354. User-Agent: FPBX-13.0.192.18(13.17.0)
  355. Proxy-Authorization: Digest username="delc_elk", realm="asterisk", algorithm=MD5, uri="sip:19162415365@outbound.vitelity.net", nonce="143bc14a", response="ca39e101fe6c8cdf81c3f028f351ff82"
  356. Date: Fri, 22 Sep 2017 22:05:48 GMT
  357. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  358. Supported: replaces, timer
  359. Remote-Party-ID: "19164788800" <sip:19164788800@65.73.31.80>;party=calling;privacy=off;screen=no
  360. Content-Type: application/sdp
  361. Content-Length: 352
  362.  
  363. v=0
  364. o=root 2014475341 2014475342 IN IP4 65.73.31.80
  365. s=Asterisk PBX 13.17.0
  366. c=IN IP4 65.73.31.80
  367. t=0 0
  368. m=audio 12178 RTP/AVP 0 8 3 111 9 101
  369. a=rtpmap:0 PCMU/8000
  370. a=rtpmap:8 PCMA/8000
  371. a=rtpmap:3 GSM/8000
  372. a=rtpmap:111 G726-32/8000
  373. a=rtpmap:9 G722/8000
  374. a=rtpmap:101 telephone-event/8000
  375. a=fmtp:101 0-16
  376. a=ptime:20
  377. a=maxptime:150
  378. a=sendrecv
  379.  
  380. ---
  381.  
  382. <--- SIP read from UDP:64.2.142.109:5060 --->
  383. SIP/2.0 403 Forbidden
  384. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK438631c3;received=65.73.31.80;rport=5060
  385. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  386. To: <sip:19162415365@outbound.vitelity.net>;tag=as65ad2f26
  387. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  388. CSeq: 103 INVITE
  389. User-Agent: packetrino
  390. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  391. Supported: replaces
  392. Content-Length: 0
  393.  
  394. <------------->
  395. --- (10 headers 0 lines) ---
  396. Transmitting (NAT) to 64.2.142.109:5060:
  397. ACK sip:19162415365@outbound.vitelity.net SIP/2.0
  398. Via: SIP/2.0/UDP 65.73.31.80:5060;branch=z9hG4bK438631c3;rport
  399. Max-Forwards: 70
  400. From: <sip:delc_elk@65.73.31.80>;tag=as71896b82
  401. To: <sip:19162415365@outbound.vitelity.net>;tag=as65ad2f26
  402. Contact: <sip:delc_elk@65.73.31.80:5060>
  403. Call-ID: 14c072880e00a76006c3e161135b1331@65.73.31.80:5060
  404. CSeq: 103 ACK
  405. User-Agent: FPBX-13.0.192.18(13.17.0)
  406. Content-Length: 0
  407.  
  408.  
  409. ---
  410. [2017-09-22 15:05:48] WARNING[2756][C-00000051]: chan_sip.c:24003 handle_response_invite: Received response: "Forbidden" from '<sip:delc_elk@65.73.31.80>;tag=as71896b82'
  411. Scheduling destruction of SIP dialog '14c072880e00a76006c3e161135b1331@65.73.31.80:5060' in 32000 ms (Method: INVITE)
  412.   == Everyone is busy/congested at this time (1:0/0/1)
  413.     -- Executing [s@macro-dialout-trunk:31] NoOp("SIP/2004-000000cb", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  414.     -- Executing [s@macro-dialout-trunk:32] GotoIf("SIP/2004-000000cb", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  415.     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  416.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/2004-000000cb", "RC=21") in new stack
  417.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/2004-000000cb", "21,1") in new stack
  418.     -- Goto (macro-dialout-trunk,21,1)
  419.     -- Executing [21@macro-dialout-trunk:1] Goto("SIP/2004-000000cb", "continue,1") in new stack
  420.     -- Goto (macro-dialout-trunk,continue,1)
  421.     -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/2004-000000cb", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  422.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/2004-000000cb", "1?Set(CALLERID(number)=2004)") in new stack
  423.     -- Executing [2415365@from-internal:7] Macro("SIP/2004-000000cb", "outisbusy,") in new stack
  424.     -- Executing [s@macro-outisbusy:1] Progress("SIP/2004-000000cb", "") in new stack
  425. Audio is at 11392
  426. Adding codec ulaw to SDP
  427. Adding codec alaw to SDP
  428. Adding codec g726 to SDP
  429. Adding codec g722 to SDP
  430. Adding non-codec 0x1 (telephone-event) to SDP
  431.  
  432. <--- Transmitting (no NAT) to 192.168.254.247:5060 --->
  433. SIP/2.0 183 Session Progress
  434. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-e3807021;received=192.168.254.247
  435. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  436. To: <sip:2415365@192.168.254.5>;tag=as66b4503f
  437. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  438. CSeq: 102 INVITE
  439. Server: FPBX-13.0.192.18(13.17.0)
  440. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  441. Supported: replaces, timer
  442. Contact: <sip:2415365@192.168.254.5:5060>
  443. Content-Type: application/sdp
  444. Content-Length: 329
  445.  
  446. v=0
  447. o=root 1003975467 1003975467 IN IP4 192.168.254.5
  448. s=Asterisk PBX 13.17.0
  449. c=IN IP4 192.168.254.5
  450. t=0 0
  451. m=audio 11392 RTP/AVP 0 8 2 9 101
  452. a=rtpmap:0 PCMU/8000
  453. a=rtpmap:8 PCMA/8000
  454. a=rtpmap:2 G726-32/8000
  455. a=rtpmap:9 G722/8000
  456. a=rtpmap:101 telephone-event/8000
  457. a=fmtp:101 0-16
  458. a=ptime:20
  459. a=maxptime:150
  460. a=sendrecv
  461.  
  462. <------------>
  463.     -- Executing [s@macro-outisbusy:2] GotoIf("SIP/2004-000000cb", "0?emergency,1") in new stack
  464.     -- Executing [s@macro-outisbusy:3] GotoIf("SIP/2004-000000cb", "0?intracompany,1") in new stack
  465.     -- Executing [s@macro-outisbusy:4] Playback("SIP/2004-000000cb", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  466.     -- <SIP/2004-000000cb> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  467.        > 0x7f7494036580 -- Probation passed - setting RTP source address to 192.168.254.247:16432
  468.     -- <SIP/2004-000000cb> Playing 'please-try-call-later.ulaw' (language 'en')
  469.     -- Executing [s@macro-outisbusy:5] Congestion("SIP/2004-000000cb", "20") in new stack
  470.  
  471. <--- Reliably Transmitting (no NAT) to 192.168.254.247:5060 --->
  472. SIP/2.0 503 Service Unavailable
  473. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-e3807021;received=192.168.254.247
  474. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  475. To: <sip:2415365@192.168.254.5>;tag=as66b4503f
  476. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  477. CSeq: 102 INVITE
  478. Server: FPBX-13.0.192.18(13.17.0)
  479. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  480. Supported: replaces, timer
  481. X-Asterisk-HangupCause: Call Rejected
  482. X-Asterisk-HangupCauseCode: 21
  483. Content-Length: 0
  484.  
  485.  
  486. <------------>
  487. [2017-09-22 15:05:52] WARNING[9460][C-00000051]: channel.c:5005 ast_prod: Prodding channel 'SIP/2004-000000cb' failed
  488.   == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/2004-000000cb' in macro 'outisbusy'
  489.   == Spawn extension (from-internal, 2415365, 7) exited non-zero on 'SIP/2004-000000cb'
  490.     -- Executing [h@from-internal:1] Macro("SIP/2004-000000cb", "hangupcall") in new stack
  491.     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2004-000000cb", "1?theend") in new stack
  492.     -- Goto (macro-hangupcall,s,3)
  493.     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/2004-000000cb", "0?Set(CDR(recordingfile)=)") in new stack
  494.     -- Executing [s@macro-hangupcall:4] Hangup("SIP/2004-000000cb", "") in new stack
  495.   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/2004-000000cb' in macro 'hangupcall'
  496.   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2004-000000cb'
  497.     -- SIP/2004-000000cb Internal Gosub(crm-hangup,s,1) start
  498.     -- Executing [s@crm-hangup:1] NoOp("SIP/2004-000000cb", "Sending Hangup to CRM") in new stack
  499.     -- Executing [s@crm-hangup:2] NoOp("SIP/2004-000000cb", "HANGUP CAUSE: 34") in new stack
  500.     -- Executing [s@crm-hangup:3] ExecIf("SIP/2004-000000cb", "0?Set(__CRM_VOICEMAIL=)") in new stack
  501.     -- Executing [s@crm-hangup:4] NoOp("SIP/2004-000000cb", "MASTER CHANNEL: 1506117948.205 = 1506117948.205") in new stack
  502.     -- Executing [s@crm-hangup:5] GotoIf("SIP/2004-000000cb", "0?return") in new stack
  503.     -- Executing [s@crm-hangup:6] Set("SIP/2004-000000cb", "__CRM_HANGUP=1") in new stack
  504.     -- Executing [s@crm-hangup:7] AGI("SIP/2004-000000cb", "sangomacrm.agi") in new stack
  505.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  506.  
  507. <--- SIP read from UDP:192.168.254.247:5060 --->
  508. ACK sip:2415365@192.168.254.5 SIP/2.0
  509. Via: SIP/2.0/UDP 192.168.254.247:5060;branch=z9hG4bK-e3807021
  510. From: "2004" <sip:2004@192.168.254.5>;tag=3a8843a7a85e8855o0
  511. To: <sip:2415365@192.168.254.5>;tag=as66b4503f
  512. Call-ID: fda6fb8f-8cf8f18d@192.168.254.247
  513. CSeq: 102 ACK
  514. Max-Forwards: 70
  515. Authorization: Digest username="2004",realm="asterisk",nonce="1c5e0d9b",uri="sip:2415365@192.168.254.5",algorithm=MD5,response="acea87ff633a72134c6d1ff51746d8be"
  516. Contact: "2004" <sip:2004@192.168.254.247:5060>
  517. User-Agent: Cisco/SPA504G-7.5.2
  518. Content-Length: 0
  519.  
  520. <------------->
  521. --- (11 headers 0 lines) ---
  522.     -- <SIP/2004-000000cb>AGI Script sangomacrm.agi completed, returning 0
  523.     -- Executing [s@crm-hangup:8] Return("SIP/2004-000000cb", "") in new stack
  524.   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2004-000000cb'
  525.     -- SIP/2004-000000cb Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  526. Really destroying SIP dialog 'fda6fb8f-8cf8f18d@192.168.254.247' Method: ACK
  527. localhost*CLI>
  528.  

Reply to "call"

Here you can reply to the paste above