Untitled

From danny, 2 Years ago, written in Plain Text, viewed 3 times.
URL https://pastebin.freepbx.org/view/9131427a Embed
Download Paste or View Raw
  1.  
  2. <--- SIP read from UDP:192.168.88.250:44352 --->
  3. INVITE sip:888@192.168.88.234:5160;transport=UDP SIP/2.0
  4. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---ef2d4b9836651549;rport
  5. Max-Forwards: 70
  6. Contact: <sip:789@192.168.88.250:44352;transport=UDP>
  7. To: <sip:888@192.168.88.234:5160;transport=UDP>
  8. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  9. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  10. CSeq: 1 INVITE
  11. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  12. Content-Type: application/sdp
  13. User-Agent: Z 5.2.16 rv2.8.95
  14. Allow-Events: presence, kpml, talk
  15. Content-Length: 604
  16.  
  17. v=0
  18. o=Z 0 0 IN IP4 192.168.88.250
  19. s=Z
  20. c=IN IP4 192.168.88.250
  21. t=0 0
  22. m=audio 8000 RTP/AVP 106 9 3 111 0 8 97 110 112 98 101 100 99 102
  23. a=rtpmap:106 opus/48000/2
  24. a=fmtp:106 minptime=20; cbr=1; maxaveragebitrate=40000; useinbandfec=1
  25. a=rtpmap:111 speex/16000
  26. a=rtpmap:97 iLBC/8000
  27. a=fmtp:97 mode=20
  28. a=rtpmap:110 speex/8000
  29. a=rtpmap:112 speex/32000
  30. a=rtpmap:98 telephone-event/48000
  31. a=fmtp:98 0-16
  32. a=rtpmap:101 telephone-event/8000
  33. a=fmtp:101 0-16
  34. a=rtpmap:100 telephone-event/16000
  35. a=fmtp:100 0-16
  36. a=rtpmap:99 telephone-event/32000
  37. a=fmtp:99 0-16
  38. a=rtpmap:102 G726-32/8000
  39. a=sendrecv
  40. <------------->
  41. --- (13 headers 23 lines) ---
  42. Sending to 192.168.88.250:44352 (no NAT)
  43. Sending to 192.168.88.250:44352 (no NAT)
  44. Using INVITE request as basis request - HpTewWrsMLFU9gc973RgrQ..
  45. Found peer '789' for '789' from 192.168.88.250:44352
  46.  
  47. <--- Reliably Transmitting (no NAT) to 192.168.88.250:44352 --->
  48. SIP/2.0 401 Unauthorized
  49. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---ef2d4b9836651549;received=192.168.88.250;rport=44352
  50. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  51. To: <sip:888@192.168.88.234:5160;transport=UDP>;tag=as3f387efa
  52. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  53. CSeq: 1 INVITE
  54. Server: FPBX-14.0.2.10(13.20.0)
  55. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  56. Supported: replaces, timer
  57. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="740f5014"
  58. Content-Length: 0
  59.  
  60.  
  61. <------------>
  62. Scheduling destruction of SIP dialog 'HpTewWrsMLFU9gc973RgrQ..' in 11008 ms (Method: INVITE)
  63.  
  64. <--- SIP read from UDP:192.168.88.250:44352 --->
  65. ACK sip:888@192.168.88.234:5160;transport=UDP SIP/2.0
  66. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---ef2d4b9836651549;rport
  67. Max-Forwards: 70
  68. To: <sip:888@192.168.88.234:5160;transport=UDP>;tag=as3f387efa
  69. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  70. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  71. CSeq: 1 ACK
  72. Content-Length: 0
  73.  
  74. <------------->
  75. --- (8 headers 0 lines) ---
  76.  
  77. <--- SIP read from UDP:192.168.88.250:44352 --->
  78. INVITE sip:888@192.168.88.234:5160;transport=UDP SIP/2.0
  79. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---174a327fe18725b9;rport
  80. Max-Forwards: 70
  81. Contact: <sip:789@192.168.88.250:44352;transport=UDP>
  82. To: <sip:888@192.168.88.234:5160;transport=UDP>
  83. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  84. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  85. CSeq: 2 INVITE
  86. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  87. Content-Type: application/sdp
  88. User-Agent: Z 5.2.16 rv2.8.95
  89. Authorization: Digest username="789",realm="asterisk",nonce="740f5014",uri="sip:888@192.168.88.234:5160;transport=UDP",response="77f601f448c736a3d2f5b1bd7da15fc3",algorithm=MD5
  90. Allow-Events: presence, kpml, talk
  91. Content-Length: 604
  92.  
  93. v=0
  94. o=Z 0 0 IN IP4 192.168.88.250
  95. s=Z
  96. c=IN IP4 192.168.88.250
  97. t=0 0
  98. m=audio 8000 RTP/AVP 106 9 3 111 0 8 97 110 112 98 101 100 99 102
  99. a=rtpmap:106 opus/48000/2
  100. a=fmtp:106 minptime=20; cbr=1; maxaveragebitrate=40000; useinbandfec=1
  101. a=rtpmap:111 speex/16000
  102. a=rtpmap:97 iLBC/8000
  103. a=fmtp:97 mode=20
  104. a=rtpmap:110 speex/8000
  105. a=rtpmap:112 speex/32000
  106. a=rtpmap:98 telephone-event/48000
  107. a=fmtp:98 0-16
  108. a=rtpmap:101 telephone-event/8000
  109. a=fmtp:101 0-16
  110. a=rtpmap:100 telephone-event/16000
  111. a=fmtp:100 0-16
  112. a=rtpmap:99 telephone-event/32000
  113. a=fmtp:99 0-16
  114. a=rtpmap:102 G726-32/8000
  115. a=sendrecv
  116. <------------->
  117. --- (14 headers 23 lines) ---
  118. Sending to 192.168.88.250:44352 (no NAT)
  119. Using INVITE request as basis request - HpTewWrsMLFU9gc973RgrQ..
  120. Found peer '789' for '789' from 192.168.88.250:44352
  121.   == Using SIP RTP TOS bits 184
  122.   == Using SIP RTP CoS mark 5
  123. Found RTP audio format 106
  124. Found RTP audio format 9
  125. Found RTP audio format 3
  126. Found RTP audio format 111
  127. Found RTP audio format 0
  128. Found RTP audio format 8
  129. Found RTP audio format 97
  130. Found RTP audio format 110
  131. Found RTP audio format 112
  132. Found RTP audio format 98
  133. Found RTP audio format 101
  134. Found RTP audio format 100
  135. Found RTP audio format 99
  136. Found RTP audio format 102
  137. Found audio description format opus for ID 106
  138. Found audio description format speex for ID 111
  139. Found audio description format iLBC for ID 97
  140. Found audio description format speex for ID 110
  141. Found audio description format speex for ID 112
  142. Found unknown media description format telephone-event for ID 98
  143. Found audio description format telephone-event for ID 101
  144. Found unknown media description format telephone-event for ID 100
  145. Found unknown media description format telephone-event for ID 99
  146. Found audio description format G726-32 for ID 102
  147. Capabilities: us - (ulaw|alaw|gsm|g726|g722), peer - audio=(ulaw|gsm|alaw|g722|ilbc|g726|opus|speex|speex16|speex32)/video=(nothing)/text=(nothing), combined - (ulaw|alaw|gsm|g726|g722)
  148. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  149.        > 0x6d9ea678 -- Strict RTP learning after remote address set to: 192.168.88.250:8000
  150. Peer audio RTP is at port 192.168.88.250:8000
  151. Looking for 888 in from-internal (domain 192.168.88.234)
  152. sip_route_dump: route/path hop: <sip:789@192.168.88.250:44352;transport=UDP>
  153.  
  154. <--- Transmitting (no NAT) to 192.168.88.250:44352 --->
  155. SIP/2.0 100 Trying
  156. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---174a327fe18725b9;received=192.168.88.250;rport=44352
  157. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  158. To: <sip:888@192.168.88.234:5160;transport=UDP>
  159. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  160. CSeq: 2 INVITE
  161. Server: FPBX-14.0.2.10(13.20.0)
  162. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  163. Supported: replaces, timer
  164. Contact: <sip:888@192.168.88.234:5160>
  165. Content-Length: 0
  166.  
  167.  
  168. <------------>
  169.     -- Executing [888@from-internal:1] Macro("SIP/789-0000002b", "user-callerid,LIMIT,EXTERNAL,") in new stack
  170.     -- Executing [s@macro-user-callerid:1] Set("SIP/789-0000002b", "TOUCH_MONITOR=1529538170.43") in new stack
  171.     -- Executing [s@macro-user-callerid:2] Set("SIP/789-0000002b", "AMPUSER=789") in new stack
  172.     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/789-0000002b", "0?report") in new stack
  173.     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/789-0000002b", "1?Set(REALCALLERIDNUM=789)") in new stack
  174.     -- Executing [s@macro-user-callerid:5] Set("SIP/789-0000002b", "AMPUSER=789") in new stack
  175.     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/789-0000002b", "0?limit") in new stack
  176.     -- Executing [s@macro-user-callerid:7] Set("SIP/789-0000002b", "AMPUSERCIDNAME=789") in new stack
  177.     -- Executing [s@macro-user-callerid:8] ExecIf("SIP/789-0000002b", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  178.     -- Executing [s@macro-user-callerid:9] GotoIf("SIP/789-0000002b", "0?report") in new stack
  179.     -- Executing [s@macro-user-callerid:10] Set("SIP/789-0000002b", "AMPUSERCID=789") in new stack
  180.     -- Executing [s@macro-user-callerid:11] Set("SIP/789-0000002b", "__DIAL_OPTIONS=Ttr") in new stack
  181.     -- Executing [s@macro-user-callerid:12] Set("SIP/789-0000002b", "CALLERID(all)="789" <789>") in new stack
  182.     -- Executing [s@macro-user-callerid:13] GotoIf("SIP/789-0000002b", "0?limit") in new stack
  183.     -- Executing [s@macro-user-callerid:14] ExecIf("SIP/789-0000002b", "1?Set(GROUP(concurrency_limit)=789)") in new stack
  184.     -- Executing [s@macro-user-callerid:15] NoOp("SIP/789-0000002b", "Macro Depth is 1") in new stack
  185.     -- Executing [s@macro-user-callerid:16] GotoIf("SIP/789-0000002b", "1?report2:macroerror") in new stack
  186.     -- Goto (macro-user-callerid,s,17)
  187.     -- Executing [s@macro-user-callerid:17] GotoIf("SIP/789-0000002b", "1?continue") in new stack
  188.     -- Goto (macro-user-callerid,s,35)
  189.     -- Executing [s@macro-user-callerid:35] Set("SIP/789-0000002b", "CALLERID(number)=789") in new stack
  190.     -- Executing [s@macro-user-callerid:36] Set("SIP/789-0000002b", "CALLERID(name)=789") in new stack
  191.     -- Executing [s@macro-user-callerid:37] GotoIf("SIP/789-0000002b", "0?cnum") in new stack
  192.     -- Executing [s@macro-user-callerid:38] Set("SIP/789-0000002b", "CDR(cnam)=789") in new stack
  193.     -- Executing [s@macro-user-callerid:39] Set("SIP/789-0000002b", "CDR(cnum)=789") in new stack
  194.     -- Executing [s@macro-user-callerid:40] Set("SIP/789-0000002b", "CHANNEL(language)=en") in new stack
  195.     -- Executing [888@from-internal:2] Gosub("SIP/789-0000002b", "sub-record-check,s,1(out,888,dontcare)") in new stack
  196.     -- Executing [s@sub-record-check:1] GotoIf("SIP/789-0000002b", "0?initialized") in new stack
  197.     -- Executing [s@sub-record-check:2] Set("SIP/789-0000002b", "__REC_STATUS=INITIALIZED") in new stack
  198.     -- Executing [s@sub-record-check:3] Set("SIP/789-0000002b", "NOW=1529538170") in new stack
  199.     -- Executing [s@sub-record-check:4] Set("SIP/789-0000002b", "__DAY=20") in new stack
  200.     -- Executing [s@sub-record-check:5] Set("SIP/789-0000002b", "__MONTH=06") in new stack
  201.     -- Executing [s@sub-record-check:6] Set("SIP/789-0000002b", "__YEAR=2018") in new stack
  202.     -- Executing [s@sub-record-check:7] Set("SIP/789-0000002b", "__TIMESTR=20180620-234250") in new stack
  203.     -- Executing [s@sub-record-check:8] Set("SIP/789-0000002b", "__FROMEXTEN=789") in new stack
  204.     -- Executing [s@sub-record-check:9] Set("SIP/789-0000002b", "__MON_FMT=wav") in new stack
  205.     -- Executing [s@sub-record-check:10] NoOp("SIP/789-0000002b", "Recordings initialized") in new stack
  206.     -- Executing [s@sub-record-check:11] ExecIf("SIP/789-0000002b", "0?Set(ARG3=dontcare)") in new stack
  207.     -- Executing [s@sub-record-check:12] Set("SIP/789-0000002b", "REC_POLICY_MODE_SAVE=") in new stack
  208.     -- Executing [s@sub-record-check:13] ExecIf("SIP/789-0000002b", "0?Set(REC_STATUS=NO)") in new stack
  209.     -- Executing [s@sub-record-check:14] GotoIf("SIP/789-0000002b", "3?checkaction") in new stack
  210.     -- Goto (sub-record-check,s,17)
  211.     -- Executing [s@sub-record-check:17] GotoIf("SIP/789-0000002b", "1?sub-record-check,out,1") in new stack
  212.     -- Goto (sub-record-check,out,1)
  213.     -- Executing [out@sub-record-check:1] NoOp("SIP/789-0000002b", "Outbound Recording Check from 789 to 888") in new stack
  214.     -- Executing [out@sub-record-check:2] Set("SIP/789-0000002b", "RECMODE=dontcare") in new stack
  215.     -- Executing [out@sub-record-check:3] ExecIf("SIP/789-0000002b", "1?Goto(routewins)") in new stack
  216.     -- Goto (sub-record-check,out,7)
  217.     -- Executing [out@sub-record-check:7] Gosub("SIP/789-0000002b", "recordcheck,1(dontcare,out,888)") in new stack
  218.     -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/789-0000002b", "Starting recording check against dontcare") in new stack
  219.     -- Executing [recordcheck@sub-record-check:2] Goto("SIP/789-0000002b", "dontcare") in new stack
  220.     -- Goto (sub-record-check,recordcheck,3)
  221.     -- Executing [recordcheck@sub-record-check:3] Return("SIP/789-0000002b", "") in new stack
  222.     -- Executing [out@sub-record-check:8] Return("SIP/789-0000002b", "") in new stack
  223.     -- Executing [888@from-internal:3] Set("SIP/789-0000002b", "MOHCLASS=default") in new stack
  224.     -- Executing [888@from-internal:4] ExecIf("SIP/789-0000002b", "0?Set(TRUNKCIDOVERRIDE=admin)") in new stack
  225.     -- Executing [888@from-internal:5] Set("SIP/789-0000002b", "_NODEST=") in new stack
  226.     -- Executing [888@from-internal:6] Macro("SIP/789-0000002b", "dialout-trunk,1,888,,off") in new stack
  227.     -- Executing [s@macro-dialout-trunk:1] Set("SIP/789-0000002b", "DIAL_TRUNK=1") in new stack
  228.     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/789-0000002b", "0?sub-pincheck,s,1()") in new stack
  229.     -- Executing [s@macro-dialout-trunk:3] ExecIf("SIP/789-0000002b", "0?Set(CALLERID(num)=789)") in new stack
  230.     -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/789-0000002b", "0?disabletrunk,1") in new stack
  231.     -- Executing [s@macro-dialout-trunk:5] Set("SIP/789-0000002b", "DIAL_NUMBER=888") in new stack
  232.     -- Executing [s@macro-dialout-trunk:6] Set("SIP/789-0000002b", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  233.     -- Executing [s@macro-dialout-trunk:7] Set("SIP/789-0000002b", "OUTBOUND_GROUP=OUT_1") in new stack
  234.     -- Executing [s@macro-dialout-trunk:8] Set("SIP/789-0000002b", "DIAL_TRUNK_OPTIONS=T") in new stack
  235.     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/789-0000002b", "1?nomax") in new stack
  236.     -- Goto (macro-dialout-trunk,s,11)
  237.     -- Executing [s@macro-dialout-trunk:11] GotoIf("SIP/789-0000002b", "0?skipoutcid") in new stack
  238.     -- Executing [s@macro-dialout-trunk:12] Macro("SIP/789-0000002b", "outbound-callerid,1") in new stack
  239.     -- Executing [s@macro-outbound-callerid:1] NoOp("SIP/789-0000002b", "789") in new stack
  240.     -- Executing [s@macro-outbound-callerid:2] NoOp("SIP/789-0000002b", "") in new stack
  241.     -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/789-0000002b", "off") in new stack
  242.     -- Executing [s@macro-outbound-callerid:4] ExecIf("SIP/789-0000002b", "0?Set(CALLERPRES(name-pres)=)") in new stack
  243.     -- Executing [s@macro-outbound-callerid:5] ExecIf("SIP/789-0000002b", "0?Set(CALLERPRES(num-pres)=)") in new stack
  244.     -- Executing [s@macro-outbound-callerid:6] ExecIf("SIP/789-0000002b", "0?Set(REALCALLERIDNUM=789)") in new stack
  245.     -- Executing [s@macro-outbound-callerid:7] GotoIf("SIP/789-0000002b", "1?normcid") in new stack
  246.     -- Goto (macro-outbound-callerid,s,11)
  247.     -- Executing [s@macro-outbound-callerid:11] Set("SIP/789-0000002b", "USEROUTCID=789") in new stack
  248.     -- Executing [s@macro-outbound-callerid:12] Set("SIP/789-0000002b", "EMERGENCYCID=") in new stack
  249.     -- Executing [s@macro-outbound-callerid:13] Set("SIP/789-0000002b", "TRUNKOUTCID=+16464806691") in new stack
  250.     -- Executing [s@macro-outbound-callerid:14] GotoIf("SIP/789-0000002b", "1?trunkcid") in new stack
  251.     -- Goto (macro-outbound-callerid,s,19)
  252.     -- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/789-0000002b", "1?Set(CALLERID(all)=+16464806691)") in new stack
  253.     -- Executing [s@macro-outbound-callerid:20] ExecIf("SIP/789-0000002b", "1?Set(CALLERID(all)=789)") in new stack
  254.     -- Executing [s@macro-outbound-callerid:21] ExecIf("SIP/789-0000002b", "0?Set(CALLERID(all)=)") in new stack
  255.     -- Executing [s@macro-outbound-callerid:22] ExecIf("SIP/789-0000002b", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  256.     -- Executing [s@macro-outbound-callerid:23] ExecIf("SIP/789-0000002b", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  257.     -- Executing [s@macro-outbound-callerid:24] Set("SIP/789-0000002b", "CDR(outbound_cnum)=789") in new stack
  258.     -- Executing [s@macro-outbound-callerid:25] Set("SIP/789-0000002b", "CDR(outbound_cnam)=") in new stack
  259.     -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/789-0000002b", "0?sub-flp-1,s,1()") in new stack
  260.     -- Executing [s@macro-dialout-trunk:14] Set("SIP/789-0000002b", "OUTNUM=888") in new stack
  261.     -- Executing [s@macro-dialout-trunk:15] Set("SIP/789-0000002b", "custom=SIP/twilio") in new stack
  262.     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/789-0000002b", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  263.     -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/789-0000002b", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  264.     -- Executing [s@macro-dialout-trunk:18] Macro("SIP/789-0000002b", "dialout-trunk-predial-hook,") in new stack
  265.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/789-0000002b", "") in new stack
  266.     -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/789-0000002b", "0?bypass,1") in new stack
  267.     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/789-0000002b", "1?Set(CONNECTEDLINE(num,i)=888)") in new stack
  268.     -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/789-0000002b", "1?Set(CONNECTEDLINE(name,i)=CID:789)") in new stack
  269.     -- Executing [s@macro-dialout-trunk:22] ExecIf("SIP/789-0000002b", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)789)") in new stack
  270.     -- Executing [s@macro-dialout-trunk:23] GotoIf("SIP/789-0000002b", "0?customtrunk") in new stack
  271.     -- Executing [s@macro-dialout-trunk:24] Dial("SIP/789-0000002b", "SIP/twilio/888,300,Tb(func-apply-sipheaders^s^1)") in new stack
  272.   == Using SIP RTP TOS bits 184
  273.   == Using SIP RTP CoS mark 5
  274.     -- SIP/twilio-0000002c Internal Gosub(func-apply-sipheaders,s,1) start
  275.     -- Executing [s@func-apply-sipheaders:1] NoOp("SIP/twilio-0000002c", "Applying SIP Headers to channel") in new stack
  276.     -- Executing [s@func-apply-sipheaders:2] Set("SIP/twilio-0000002c", "SIPHEADERKEYS=") in new stack
  277.     -- Executing [s@func-apply-sipheaders:3] While("SIP/twilio-0000002c", "0") in new stack
  278.     -- Jumping to priority 7
  279.     -- Executing [s@func-apply-sipheaders:8] Return("SIP/twilio-0000002c", "") in new stack
  280.   == Spawn extension (from-trunk-sip-twilio, 888, 1) exited non-zero on 'SIP/twilio-0000002c'
  281.     -- SIP/twilio-0000002c Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  282. Audio is at 12282
  283. Adding codec ulaw to SDP
  284. Adding codec alaw to SDP
  285. Adding codec gsm to SDP
  286. Adding codec g726 to SDP
  287. Adding codec g722 to SDP
  288. Adding non-codec 0x1 (telephone-event) to SDP
  289. Reliably Transmitting (no NAT) to 54.172.60.3:5060:
  290. INVITE sip:888@87654321.sip.us1.twilio.com SIP/2.0
  291. Via: SIP/2.0/UDP 74.64.121.84:5160;branch=z9hG4bK46a0be72
  292. Max-Forwards: 70
  293. From: <sip:789@74.64.121.84:5160>;tag=as0447dd89
  294. To: <sip:888@87654321.sip.us1.twilio.com>
  295. Contact: <sip:789@74.64.121.84:5160>
  296. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  297. CSeq: 102 INVITE
  298. User-Agent: FPBX-14.0.2.10(13.20.0)
  299. Date: Wed, 20 Jun 2018 23:42:50 GMT
  300. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  301. Supported: replaces, timer
  302. Content-Type: application/sdp
  303. Content-Length: 354
  304.  
  305. v=0
  306. o=root 1453552434 1453552434 IN IP4 74.64.121.84
  307. s=Asterisk PBX 13.20.0
  308. c=IN IP4 74.64.121.84
  309. t=0 0
  310. m=audio 12282 RTP/AVP 0 8 3 111 9 101
  311. a=rtpmap:0 PCMU/8000
  312. a=rtpmap:8 PCMA/8000
  313. a=rtpmap:3 GSM/8000
  314. a=rtpmap:111 G726-32/8000
  315. a=rtpmap:9 G722/8000
  316. a=rtpmap:101 telephone-event/8000
  317. a=fmtp:101 0-16
  318. a=ptime:20
  319. a=maxptime:150
  320. a=sendrecv
  321.  
  322. ---
  323.     -- Called SIP/twilio/888
  324.  
  325. <--- SIP read from UDP:54.172.60.3:5060 --->
  326. SIP/2.0 100 Giving a try
  327. Via: SIP/2.0/UDP 192.168.88.234:5160;received=192.168.88.234;rport=5160;branch=z9hG4bK46a0be72
  328. From: <sip:789@192.168.88.234:5160>;tag=as0447dd89
  329. To: <sip:888@87654321.sip.us1.twilio.com>
  330. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  331. CSeq: 102 INVITE
  332. Server: Twilio Gateway
  333. Content-Length: 0
  334.  
  335. <------------->
  336. --- (8 headers 0 lines) ---
  337.  
  338. <--- SIP read from UDP:54.172.60.3:5060 --->
  339. SIP/2.0 407 Proxy Authentication required
  340. CSeq: 102 INVITE
  341. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  342. From: <sip:789@192.168.88.234:5160>;tag=as0447dd89
  343. To: <sip:888@87654321.sip.us1.twilio.com>;tag=95393073_6772d868_9b996fb7-52e3-4f25-ae7d-b7f88820ec34
  344. Via: SIP/2.0/UDP 192.168.88.234:5160;rport=5160;received=192.168.88.234;branch=z9hG4bK46a0be72
  345. Server: Twilio
  346. Contact: <sip:172.18.17.101:5060>
  347. Proxy-Authenticate: Digest realm="sip.twilio.com",qop="auth",nonce="HPbg3dSG9Kqn2AJ3OlOyHkwHs-RyLO-RMepaxrw1AUHGmEAN",opaque="48a0e3db1c259559a7a56140498282d9"
  348. Content-Length: 0
  349.  
  350. <------------->
  351. --- (10 headers 0 lines) ---
  352. Transmitting (no NAT) to 54.172.60.3:5060:
  353. ACK sip:888@87654321.sip.us1.twilio.com SIP/2.0
  354. Via: SIP/2.0/UDP 74.64.121.84:5160;branch=z9hG4bK46a0be72
  355. Max-Forwards: 70
  356. From: <sip:789@74.64.121.84:5160>;tag=as0447dd89
  357. To: <sip:888@87654321.sip.us1.twilio.com>;tag=95393073_6772d868_9b996fb7-52e3-4f25-ae7d-b7f88820ec34
  358. Contact: <sip:789@74.64.121.84:5160>
  359. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  360. CSeq: 102 ACK
  361. User-Agent: FPBX-14.0.2.10(13.20.0)
  362. Content-Length: 0
  363.  
  364.  
  365. ---
  366. Audio is at 12282
  367. Adding codec ulaw to SDP
  368. Adding codec alaw to SDP
  369. Adding codec gsm to SDP
  370. Adding codec g726 to SDP
  371. Adding codec g722 to SDP
  372. Adding non-codec 0x1 (telephone-event) to SDP
  373. Reliably Transmitting (no NAT) to 54.172.60.3:5060:
  374. INVITE sip:888@87654321.sip.us1.twilio.com SIP/2.0
  375. Via: SIP/2.0/UDP 74.64.121.84:5160;branch=z9hG4bK590c0f9c
  376. Max-Forwards: 70
  377. From: <sip:789@74.64.121.84:5160>;tag=as0447dd89
  378. To: <sip:888@87654321.sip.us1.twilio.com>
  379. Contact: <sip:789@74.64.121.84:5160>
  380. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  381. CSeq: 103 INVITE
  382. User-Agent: FPBX-14.0.2.10(13.20.0)
  383. Proxy-Authorization: Digest username="osmosis311", realm="sip.twilio.com", algorithm=MD5, uri="sip:888@87654321.sip.us1.twilio.com", nonce="HPbg3dSG9Kqn2AJ3OlOyHkwHs-RyLO-RMepaxrw1AUHGmEAN", response="a30f720fac09ca3863c6c6f73d9490c6", opaque="48a0e3db1c259559a7a56140498282d9", qop=auth, cnonce="460c14de", nc=00000001
  384. Date: Wed, 20 Jun 2018 23:42:50 GMT
  385. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  386. Supported: replaces, timer
  387. Content-Type: application/sdp
  388. Content-Length: 354
  389.  
  390. v=0
  391. o=root 1453552434 1453552435 IN IP4 74.64.121.84
  392. s=Asterisk PBX 13.20.0
  393. c=IN IP4 74.64.121.84
  394. t=0 0
  395. m=audio 12282 RTP/AVP 0 8 3 111 9 101
  396. a=rtpmap:0 PCMU/8000
  397. a=rtpmap:8 PCMA/8000
  398. a=rtpmap:3 GSM/8000
  399. a=rtpmap:111 G726-32/8000
  400. a=rtpmap:9 G722/8000
  401. a=rtpmap:101 telephone-event/8000
  402. a=fmtp:101 0-16
  403. a=ptime:20
  404. a=maxptime:150
  405. a=sendrecv
  406.  
  407. ---
  408.  
  409. <--- SIP read from UDP:54.172.60.3:5060 --->
  410. SIP/2.0 100 Giving a try
  411. Via: SIP/2.0/UDP 192.168.88.234:5160;received=192.168.88.234;rport=5160;branch=z9hG4bK590c0f9c
  412. From: <sip:789@192.168.88.234:5160>;tag=as0447dd89
  413. To: <sip:888@87654321.sip.us1.twilio.com>
  414. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  415. CSeq: 103 INVITE
  416. Server: Twilio Gateway
  417. Content-Length: 0
  418.  
  419. <------------->
  420. --- (8 headers 0 lines) ---
  421.  
  422. <--- SIP read from UDP:54.172.60.3:5060 --->
  423. SIP/2.0 403 Forbidden
  424. CSeq: 103 INVITE
  425. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  426. From: <sip:789@192.168.88.234:5160>;tag=as0447dd89
  427. To: <sip:888@87654321.sip.us1.twilio.com>;tag=54523657_6772d868_dcc082ee-a1c6-47fb-b60e-bf860c2e57ef
  428. Via: SIP/2.0/UDP 192.168.88.234:5160;rport=5160;received=192.168.88.234;branch=z9hG4bK590c0f9c
  429. Server: Twilio
  430. Contact: <sip:172.18.2.126:5060>
  431. X-Twilio-Error: 32202 Authentication failure - bad user credentials.
  432. Content-Length: 0
  433.  
  434. <------------->
  435. --- (10 headers 0 lines) ---
  436. Transmitting (no NAT) to 54.172.60.3:5060:
  437. ACK sip:888@87654321.sip.us1.twilio.com SIP/2.0
  438. Via: SIP/2.0/UDP 74.64.121.84:5160;branch=z9hG4bK590c0f9c
  439. Max-Forwards: 70
  440. From: <sip:789@74.64.121.84:5160>;tag=as0447dd89
  441. To: <sip:888@87654321.sip.us1.twilio.com>;tag=54523657_6772d868_dcc082ee-a1c6-47fb-b60e-bf860c2e57ef
  442. Contact: <sip:789@74.64.121.84:5160>
  443. Call-ID: 44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160
  444. CSeq: 103 ACK
  445. User-Agent: FPBX-14.0.2.10(13.20.0)
  446. Content-Length: 0
  447.  
  448.  
  449. ---
  450. [2018-06-20 23:42:50] WARNING[1112][C-00000019]: chan_sip.c:24048 handle_response_invite: Received response: "Forbidden" from '<sip:789@74.64.121.84:5160>;tag=as0447dd89'
  451. Scheduling destruction of SIP dialog '44f116b80168eb2e072f64052c13ae7b@74.64.121.84:5160' in 32000 ms (Method: INVITE)
  452.   == Everyone is busy/congested at this time (1:0/0/1)
  453.     -- Executing [s@macro-dialout-trunk:25] NoOp("SIP/789-0000002b", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  454.     -- Executing [s@macro-dialout-trunk:26] GotoIf("SIP/789-0000002b", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  455.     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  456.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/789-0000002b", "RC=21") in new stack
  457.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/789-0000002b", "21,1") in new stack
  458.     -- Goto (macro-dialout-trunk,21,1)
  459.     -- Executing [21@macro-dialout-trunk:1] Goto("SIP/789-0000002b", "continue,1") in new stack
  460.     -- Goto (macro-dialout-trunk,continue,1)
  461.     -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/789-0000002b", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  462.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/789-0000002b", "1?Set(CALLERID(number)=789)") in new stack
  463.     -- Executing [888@from-internal:7] Macro("SIP/789-0000002b", "outisbusy,") in new stack
  464. [2018-06-20 23:42:50] WARNING[7240][C-00000019]: app_macro.c:310 _macro_exec: No such context 'macro-outisbusy' for macro 'outisbusy'. Was called by 888@from-internal
  465.     -- Executing [888@from-internal:8] Hangup("SIP/789-0000002b", "") in new stack
  466.   == Spawn extension (from-internal, 888, 8) exited non-zero on 'SIP/789-0000002b'
  467.     -- Executing [h@from-internal:1] Macro("SIP/789-0000002b", "hangupcall") in new stack
  468.     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/789-0000002b", "1?theend") in new stack
  469.     -- Goto (macro-hangupcall,s,3)
  470.     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/789-0000002b", "0?Set(CDR(recordingfile)=)") in new stack
  471.     -- Executing [s@macro-hangupcall:4] NoOp("SIP/789-0000002b", " monior file= ") in new stack
  472.     -- Executing [s@macro-hangupcall:5] AGI("SIP/789-0000002b", "attendedtransfer-rec-restart.php,,") in new stack
  473.     -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
  474.     -- <SIP/789-0000002b>AGI Script attendedtransfer-rec-restart.php completed, returning 0
  475.     -- Executing [s@macro-hangupcall:6] Hangup("SIP/789-0000002b", "") in new stack
  476.   == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/789-0000002b' in macro 'hangupcall'
  477.   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/789-0000002b'
  478. Scheduling destruction of SIP dialog 'HpTewWrsMLFU9gc973RgrQ..' in 11008 ms (Method: INVITE)
  479.  
  480. <--- Reliably Transmitting (no NAT) to 192.168.88.250:44352 --->
  481. SIP/2.0 403 Forbidden
  482. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---174a327fe18725b9;received=192.168.88.250;rport=44352
  483. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  484. To: <sip:888@192.168.88.234:5160;transport=UDP>;tag=as0800a663
  485. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  486. CSeq: 2 INVITE
  487. Server: FPBX-14.0.2.10(13.20.0)
  488. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  489. Supported: replaces, timer
  490. Content-Length: 0
  491.  
  492.  
  493. <------------>
  494.  
  495. <--- SIP read from UDP:192.168.88.250:44352 --->
  496. ACK sip:888@192.168.88.234:5160;transport=UDP SIP/2.0
  497. Via: SIP/2.0/UDP 192.168.88.250:44352;branch=z9hG4bK-524287-1---174a327fe18725b9;rport
  498. Max-Forwards: 70
  499. To: <sip:888@192.168.88.234:5160;transport=UDP>;tag=as0800a663
  500. From: <sip:789@192.168.88.234:5160;transport=UDP>;tag=9b45db6b
  501. Call-ID: HpTewWrsMLFU9gc973RgrQ..
  502. CSeq: 2 ACK
  503. Content-Length: 0
  504.  
  505. <------------->
  506. --- (8 headers 0 lines) ---
  507. raspbx*CLI>

Reply to "Untitled"

Here you can reply to the paste above