SHARE
TWEET

Untitled

a guest Feb 21st, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@freepbx ~]# asterisk -rvvvvv
  2. Asterisk 16.6.2, Copyright (C) 1999 - 2018, Digium, Inc. and others.
  3. Created by Mark Spencer <markster@digium.com>
  4. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  5. This is free software, with components licensed under the GNU General Public
  6. License version 2 and other licenses; you are welcome to redistribute it under
  7. certain conditions. Type 'core show license' for details.
  8. =========================================================================
  9. Connected to Asterisk 16.6.2 currently running on freepbx (pid = 2157)
  10. <--- Transmitting SIP request (437 bytes) to UDP:209.216.15.71:5060 --->
  11. OPTIONS sip:209.216.15.71:5060 SIP/2.0
  12. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj73d7351b-49c7-40cf-94c4-6760e379cb1a
  13. From: <sip:didforsale_out2@149.28.89.78>;tag=eb02ac04-bde6-4e0b-9ca4-0a22d64b6a03
  14. To: <sip:209.216.15.71>
  15. Contact: <sip:didforsale_out2@149.28.89.78:5060>
  16. Call-ID: 127d1143-0ff9-4a6c-bf6d-022ca11864bb
  17. CSeq: 6856 OPTIONS
  18. Max-Forwards: 70
  19. User-Agent: FPBX-15.0.16.42(16.6.2)
  20. Content-Length:  0
  21.  
  22.  
  23. <--- Received SIP response (408 bytes) from UDP:209.216.15.71:5060 --->
  24. SIP/2.0 200 ok
  25. Via: SIP/2.0/UDP 149.28.89.78:5060;received=149.28.89.78;rport=5060;branch=z9hG4bKPj73d7351b-49c7-40cf-94c4-6760e379cb1a
  26. From: <sip:didforsale_out2@149.28.89.78>;tag=eb02ac04-bde6-4e0b-9ca4-0a22d64b6a03
  27. To: <sip:209.216.15.71>;tag=5d0c25c54e7e9c82685741ef1c05c113.0656
  28. Call-ID: 127d1143-0ff9-4a6c-bf6d-022ca11864bb
  29. CSeq: 6856 OPTIONS
  30. Server: DIDForSale SIP Gateway
  31. Content-Length: 0
  32.  
  33.  
  34. freepbx*CLI> pjsip set logger on
  35. PJSIP Logging enabled
  36. <--- Received SIP request (737 bytes) from UDP:62.210.149.30:55299 --->
  37. INVITE sip:*5090097293740196@149.28.89.78 SIP/2.0
  38. Via: SIP/2.0/UDP 62.210.149.30:55299;branch=z9hG4bK1133767128
  39. Max-Forwards: 70
  40. From: <sip:trunk_3@149.28.89.78>;tag=819610834
  41. To: <sip:*5090097293740196@149.28.89.78>
  42. Call-ID: 2000904787-1887795194-1994591541
  43. CSeq: 1 INVITE
  44. Contact: <sip:trunk_3@62.210.149.30:55299>
  45. Content-Type: application/sdp
  46. Content-Length: 211
  47. Allow: ACK, BYE, CANCEL, INFO, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER, SUBSCRIBE, UPDATE, PUBLISH
  48. User-Agent: fgfdhgfxjfhyjhkj
  49.  
  50. v=0
  51. o=trunk_3 16264 18299 IN IP4 192.168.1.83
  52. s=call
  53. c=IN IP4 192.168.1.83
  54. t=0 0
  55. m=audio 25282 RTP/AVP 0 101
  56. a=rtpmap:0 pcmu/8000
  57. a=rtpmap:8 pcma/8000
  58. a=rtpmap:101 telephone-event/8000
  59. a=fmtp:101 0-11
  60.  
  61. <--- Transmitting SIP response (496 bytes) to UDP:62.210.149.30:55299 --->
  62. SIP/2.0 401 Unauthorized
  63. Via: SIP/2.0/UDP 62.210.149.30:55299;rport=55299;received=62.210.149.30;branch=z9hG4bK1133767128
  64. Call-ID: 2000904787-1887795194-1994591541
  65. From: <sip:trunk_3@149.28.89.78>;tag=819610834
  66. To: <sip:*5090097293740196@149.28.89.78>;tag=z9hG4bK1133767128
  67. CSeq: 1 INVITE
  68. WWW-Authenticate: Digest realm="asterisk",nonce="1582323613/223362448c05788fe281de596ef34688",opaque="77972757468e017e",algorithm=md5,qop="auth"
  69. Server: FPBX-15.0.16.42(16.6.2)
  70. Content-Length:  0
  71.  
  72.  
  73. <--- Received SIP request (1352 bytes) from UDP:24.40.86.107:19372 --->
  74. INVITE sip:4354146183@149.28.89.78:5060;user=phone SIP/2.0
  75. Via: SIP/2.0/UDP 24.40.89.129:51620;branch=z9hG4bK88dda6d90e54ffdb0.5539249693d317545
  76. Route: <sip:149.28.89.78:5060;lr>
  77. Max-Forwards: 70
  78. From: <sip:106@149.28.89.78:5060>;tag=cd097b9845
  79. To: <sip:4354146183@149.28.89.78:5060;user=phone>
  80. Call-ID: 9f6861f9b98ac920
  81. CSeq: 11900 INVITE
  82. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
  83. Allow-Events: talk, hold, conference, LocalModeStatus
  84. Contact: <sip:106@24.40.89.129:51620;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D19F695>"
  85. Supported: path, 100rel, replaces
  86. User-Agent: Aastra 57iCT/3.3.1.2256
  87. Content-Type: application/sdp
  88. Content-Length: 617
  89.  
  90. v=0
  91. o=MxSIP 0 1 IN IP4 24.40.89.129
  92. s=SIP Call
  93. c=IN IP4 24.40.89.129
  94. t=0 0
  95. m=audio 51720 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
  96. a=rtpmap:0 PCMU/8000
  97. a=rtpmap:18 G729/8000
  98. a=rtpmap:106 BV16/8000
  99. a=rtpmap:107 BV32/16000
  100. a=rtpmap:113 L16/16000
  101. a=rtpmap:110 PCMU/16000
  102. a=rtpmap:111 PCMA/16000
  103. a=rtpmap:112 L16/8000
  104. a=rtpmap:98 G726-16/8000
  105. a=rtpmap:97 G726-24/8000
  106. a=rtpmap:115 G726-32/8000
  107. a=rtpmap:96 G726-40/8000
  108. a=rtpmap:9 G722/8000
  109. a=rtpmap:8 PCMA/8000
  110. a=rtpmap:101 telephone-event/8000
  111. a=silenceSupp:on - - - -
  112. a=fmtp:18 annexb=yes
  113. a=fmtp:101 0-15
  114. a=ptime:30
  115. a=sendrecv
  116.  
  117. <--- Transmitting SIP response (533 bytes) to UDP:24.40.86.107:19372 --->
  118. SIP/2.0 401 Unauthorized
  119. Via: SIP/2.0/UDP 24.40.89.129:51620;rport=19372;received=24.40.86.107;branch=z9hG4bK88dda6d90e54ffdb0.5539249693d317545
  120. Call-ID: 9f6861f9b98ac920
  121. From: <sip:106@149.28.89.78>;tag=cd097b9845
  122. To: <sip:4354146183@149.28.89.78;user=phone>;tag=z9hG4bK88dda6d90e54ffdb0.5539249693d317545
  123. CSeq: 11900 INVITE
  124. WWW-Authenticate: Digest realm="asterisk",nonce="1582323615/b71987cd83a2ca0a5ed2ea1d452ef189",opaque="200beb954b3b8f5b",algorithm=md5,qop="auth"
  125. Server: FPBX-15.0.16.42(16.6.2)
  126. Content-Length:  0
  127.  
  128.  
  129. <--- Received SIP request (442 bytes) from UDP:24.40.86.107:19372 --->
  130. ACK sip:4354146183@149.28.89.78:5060;user=phone SIP/2.0
  131. Via: SIP/2.0/UDP 24.40.89.129:51620;branch=z9hG4bK88dda6d90e54ffdb0.5539249693d317545
  132. Route: <sip:149.28.89.78:5060;lr>
  133. Max-Forwards: 70
  134. From: <sip:106@149.28.89.78:5060>;tag=cd097b9845
  135. To: <sip:4354146183@149.28.89.78;user=phone>;tag=z9hG4bK88dda6d90e54ffdb0.5539249693d317545
  136. Call-ID: 9f6861f9b98ac920
  137. CSeq: 11900 ACK
  138. User-Agent: Aastra 57iCT/3.3.1.2256
  139. Content-Length: 0
  140.  
  141.  
  142. <--- Received SIP request (1632 bytes) from UDP:24.40.86.107:19372 --->
  143. INVITE sip:4354146183@149.28.89.78:5060;user=phone SIP/2.0
  144. Via: SIP/2.0/UDP 24.40.89.129:51620;branch=z9hG4bK2fbb3d8d534bc8639.9d7587c5b0a34b969
  145. Route: <sip:149.28.89.78:5060;lr>
  146. Max-Forwards: 70
  147. From: <sip:106@149.28.89.78:5060>;tag=cd097b9845
  148. To: <sip:4354146183@149.28.89.78:5060;user=phone>
  149. Call-ID: 9f6861f9b98ac920
  150. CSeq: 11901 INVITE
  151. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
  152. Allow-Events: talk, hold, conference, LocalModeStatus
  153. Authorization: Digest username="106",realm="asterisk",nonce="1582323615/b71987cd83a2ca0a5ed2ea1d452ef189",uri="sip:4354146183@149.28.89.78:5060;user=phone",response="27805a7686399499e859af2f505ef919",algorithm=md5,opaque="200beb954b3b8f5b",qop=auth,cnonce="934c8dec",nc=00000001
  154. Contact: <sip:106@24.40.89.129:51620;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D19F695>"
  155. Supported: path, 100rel, replaces
  156. User-Agent: Aastra 57iCT/3.3.1.2256
  157. Content-Type: application/sdp
  158. Content-Length: 617
  159.  
  160. v=0
  161. o=MxSIP 0 1 IN IP4 24.40.89.129
  162. s=SIP Call
  163. c=IN IP4 24.40.89.129
  164. t=0 0
  165. m=audio 51720 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
  166. a=rtpmap:0 PCMU/8000
  167. a=rtpmap:18 G729/8000
  168. a=rtpmap:106 BV16/8000
  169. a=rtpmap:107 BV32/16000
  170. a=rtpmap:113 L16/16000
  171. a=rtpmap:110 PCMU/16000
  172. a=rtpmap:111 PCMA/16000
  173. a=rtpmap:112 L16/8000
  174. a=rtpmap:98 G726-16/8000
  175. a=rtpmap:97 G726-24/8000
  176. a=rtpmap:115 G726-32/8000
  177. a=rtpmap:96 G726-40/8000
  178. a=rtpmap:9 G722/8000
  179. a=rtpmap:8 PCMA/8000
  180. a=rtpmap:101 telephone-event/8000
  181. a=silenceSupp:on - - - -
  182. a=fmtp:18 annexb=yes
  183. a=fmtp:101 0-15
  184. a=ptime:30
  185. a=sendrecv
  186.  
  187.   == Setting global variable 'SIPDOMAIN' to '149.28.89.78'
  188. <--- Transmitting SIP response (334 bytes) to UDP:24.40.86.107:19372 --->
  189. SIP/2.0 100 Trying
  190. Via: SIP/2.0/UDP 24.40.89.129:51620;rport=19372;received=24.40.86.107;branch=z9hG4bK2fbb3d8d534bc8639.9d7587c5b0a34b969
  191. Call-ID: 9f6861f9b98ac920
  192. From: <sip:106@149.28.89.78>;tag=cd097b9845
  193. To: <sip:4354146183@149.28.89.78;user=phone>
  194. CSeq: 11901 INVITE
  195. Server: FPBX-15.0.16.42(16.6.2)
  196. Content-Length:  0
  197.  
  198.  
  199.   == Using SIP RTP Audio TOS bits 184
  200.   == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  201.   == Using SIP RTP Audio CoS mark 5
  202.     -- Executing [4354146183@from-internal:1] Macro("PJSIP/106-00000050", "user-callerid,LIMIT") in new stack
  203.     -- Executing [s@macro-user-callerid:1] Set("PJSIP/106-00000050", "TOUCH_MONITOR=1582323615.128") in new stack
  204.     -- Executing [s@macro-user-callerid:2] Set("PJSIP/106-00000050", "AMPUSER=106") in new stack
  205.     -- Executing [s@macro-user-callerid:3] Set("PJSIP/106-00000050", "HOTDESCKCHAN=106-00000050") in new stack
  206.     -- Executing [s@macro-user-callerid:4] Set("PJSIP/106-00000050", "HOTDESKEXTEN=106") in new stack
  207.     -- Executing [s@macro-user-callerid:5] Set("PJSIP/106-00000050", "HOTDESKCALL=0") in new stack
  208.     -- Executing [s@macro-user-callerid:6] ExecIf("PJSIP/106-00000050", "0?Set(HOTDESKCALL=1)") in new stack
  209.     -- Executing [s@macro-user-callerid:7] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(name)=)") in new stack
  210.     -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/106-00000050", "0?report") in new stack
  211.     -- Executing [s@macro-user-callerid:9] ExecIf("PJSIP/106-00000050", "1?Set(REALCALLERIDNUM=106)") in new stack
  212.     -- Executing [s@macro-user-callerid:10] Set("PJSIP/106-00000050", "AMPUSER=106") in new stack
  213.     -- Executing [s@macro-user-callerid:11] GotoIf("PJSIP/106-00000050", "0?limit") in new stack
  214.     -- Executing [s@macro-user-callerid:12] Set("PJSIP/106-00000050", "AMPUSERCIDNAME=Jason") in new stack
  215.     -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/106-00000050", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  216.     -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/106-00000050", "0?report") in new stack
  217.     -- Executing [s@macro-user-callerid:15] Set("PJSIP/106-00000050", "AMPUSERCID=106") in new stack
  218.     -- Executing [s@macro-user-callerid:16] Set("PJSIP/106-00000050", "__DIAL_OPTIONS=HhTtr") in new stack
  219.     -- Executing [s@macro-user-callerid:17] Set("PJSIP/106-00000050", "CALLERID(all)="Jason" <106>") in new stack
  220.     -- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=)") in new stack
  221.     -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/106-00000050", "0?limit") in new stack
  222.     -- Executing [s@macro-user-callerid:20] ExecIf("PJSIP/106-00000050", "1?Set(GROUP(concurrency_limit)=106)") in new stack
  223.     -- Executing [s@macro-user-callerid:21] ExecIf("PJSIP/106-00000050", "0?Set(CHANNEL(language)=)") in new stack
  224.     -- Executing [s@macro-user-callerid:22] NoOp("PJSIP/106-00000050", "Macro Depth is 1") in new stack
  225.     -- Executing [s@macro-user-callerid:23] GotoIf("PJSIP/106-00000050", "1?report2:macroerror") in new stack
  226.     -- Goto (macro-user-callerid,s,24)
  227.     -- Executing [s@macro-user-callerid:24] GotoIf("PJSIP/106-00000050", "1?continue") in new stack
  228.     -- Goto (macro-user-callerid,s,43)
  229.     -- Executing [s@macro-user-callerid:43] Set("PJSIP/106-00000050", "CALLERID(number)=106") in new stack
  230.     -- Executing [s@macro-user-callerid:44] Set("PJSIP/106-00000050", "CALLERID(name)=Jason") in new stack
  231.     -- Executing [s@macro-user-callerid:45] GotoIf("PJSIP/106-00000050", "0?cnum") in new stack
  232.     -- Executing [s@macro-user-callerid:46] Set("PJSIP/106-00000050", "CDR(cnam)=Jason") in new stack
  233.     -- Executing [s@macro-user-callerid:47] Set("PJSIP/106-00000050", "CDR(cnum)=106") in new stack
  234.     -- Executing [s@macro-user-callerid:48] Set("PJSIP/106-00000050", "CHANNEL(language)=en") in new stack
  235.     -- Executing [4354146183@from-internal:2] Set("PJSIP/106-00000050", "ROUTEUSER=106") in new stack
  236.     -- Executing [4354146183@from-internal:3] Set("PJSIP/106-00000050", "ROUTEUSER=106") in new stack
  237.     -- Executing [4354146183@from-internal:4] GotoIf("PJSIP/106-00000050", "1?notblind") in new stack
  238.     -- Goto (from-internal,4354146183,7)
  239.     -- Executing [4354146183@from-internal:7] GotoIf("PJSIP/106-00000050", "1?restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5,4354146183,2:outbound-allroutes,4354146183,2") in new stack
  240.     -- Goto (restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5,4354146183,2)
  241.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:2] Gosub("PJSIP/106-00000050", "sub-record-check,s,1(out,4354146183,yes)") in new stack
  242.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/106-00000050", "0?initialized") in new stack
  243.     -- Executing [s@sub-record-check:2] Set("PJSIP/106-00000050", "__REC_STATUS=INITIALIZED") in new stack
  244.     -- Executing [s@sub-record-check:3] Set("PJSIP/106-00000050", "NOW=1582323615") in new stack
  245.     -- Executing [s@sub-record-check:4] Set("PJSIP/106-00000050", "__DAY=21") in new stack
  246.     -- Executing [s@sub-record-check:5] Set("PJSIP/106-00000050", "__MONTH=02") in new stack
  247.     -- Executing [s@sub-record-check:6] Set("PJSIP/106-00000050", "__YEAR=2020") in new stack
  248.     -- Executing [s@sub-record-check:7] Set("PJSIP/106-00000050", "__TIMESTR=20200221-142015") in new stack
  249.     -- Executing [s@sub-record-check:8] Set("PJSIP/106-00000050", "__FROMEXTEN=106") in new stack
  250.     -- Executing [s@sub-record-check:9] Set("PJSIP/106-00000050", "__MON_FMT=wav") in new stack
  251.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/106-00000050", "Recordings initialized") in new stack
  252.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/106-00000050", "0?Set(ARG3=dontcare)") in new stack
  253.     -- Executing [s@sub-record-check:12] Set("PJSIP/106-00000050", "REC_POLICY_MODE_SAVE=") in new stack
  254.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/106-00000050", "0?Set(REC_STATUS=NO)") in new stack
  255.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/106-00000050", "3?checkaction") in new stack
  256.     -- Goto (sub-record-check,s,17)
  257.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/106-00000050", "1?sub-record-check,out,1") in new stack
  258.     -- Goto (sub-record-check,out,1)
  259.     -- Executing [out@sub-record-check:1] NoOp("PJSIP/106-00000050", "Outbound Recording Check from 106 to 4354146183") in new stack
  260.     -- Executing [out@sub-record-check:2] Set("PJSIP/106-00000050", "RECMODE=dontcare") in new stack
  261.     -- Executing [out@sub-record-check:3] ExecIf("PJSIP/106-00000050", "1?Goto(routewins)") in new stack
  262.     -- Goto (sub-record-check,out,7)
  263.     -- Executing [out@sub-record-check:7] Gosub("PJSIP/106-00000050", "recordcheck,1(yes,out,4354146183)") in new stack
  264.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/106-00000050", "Starting recording check against yes") in new stack
  265.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/106-00000050", "yes") in new stack
  266.     -- Goto (sub-record-check,recordcheck,9)
  267.     -- Executing [recordcheck@sub-record-check:9] ExecIf("PJSIP/106-00000050", "0?Return()") in new stack
  268.     -- Executing [recordcheck@sub-record-check:10] Set("PJSIP/106-00000050", "__REC_POLICY_MODE=YES") in new stack
  269.     -- Executing [recordcheck@sub-record-check:11] Goto("PJSIP/106-00000050", "startrec") in new stack
  270.     -- Goto (sub-record-check,recordcheck,16)
  271.     -- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/106-00000050", "Starting recording: out, 4354146183") in new stack
  272.     -- Executing [recordcheck@sub-record-check:17] Set("PJSIP/106-00000050", "__CALLFILENAME=out-4354146183-106-20200221-142015-1582323615.128") in new stack
  273.     -- Executing [recordcheck@sub-record-check:18] MixMonitor("PJSIP/106-00000050", "2020/02/21/out-4354146183-106-20200221-142015-1582323615.128.wav,abi(LOCAL_MIXMON_ID),") in new stack
  274.     -- Executing [recordcheck@sub-record-check:19] Set("PJSIP/106-00000050", "__MIXMON_ID=0x3043ae0") in new stack
  275.     -- Executing [recordcheck@sub-record-check:20] Set("PJSIP/106-00000050", "__RECORD_ID=PJSIP/106-00000050") in new stack
  276.     -- Executing [recordcheck@sub-record-check:21] Set("PJSIP/106-00000050", "__REC_STATUS=RECORDING") in new stack
  277.     -- Executing [recordcheck@sub-record-check:22] Set("PJSIP/106-00000050", "CDR(recordingfile)=out-4354146183-106-20200221-142015-1582323615.128.wav") in new stack
  278.     -- Executing [recordcheck@sub-record-check:23] Return("PJSIP/106-00000050", "") in new stack
  279.     -- Executing [out@sub-record-check:8] Return("PJSIP/106-00000050", "") in new stack
  280.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:3] ExecIf("PJSIP/106-00000050", "0 ?Set(CDR(accountcode)=)") in new stack
  281.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:4] Set("PJSIP/106-00000050", "MOHCLASS=default") in new stack
  282.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:5] ExecIf("PJSIP/106-00000050", "0?Set(TRUNKCIDOVERRIDE="Entrada Ins"<9494872900>)") in new stack
  283.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:6] Set("PJSIP/106-00000050", "_NODEST=") in new stack
  284.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:7] Macro("PJSIP/106-00000050", "dialout-trunk,3,4354146183,,off") in new stack
  285.     -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/106-00000050", "DIAL_TRUNK=3") in new stack
  286.     -- Executing [s@macro-dialout-trunk:2] UserEvent("PJSIP/106-00000050", "zulu-outbound-call,from:106,to:4354146183") in new stack
  287.     -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  288.     -- Executing [s@macro-dialout-trunk:4] GosubIf("PJSIP/106-00000050", "0?sub-pincheck,s,1()") in new stack
  289.     -- Executing [s@macro-dialout-trunk:5] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(num)=106)") in new stack
  290.     -- Executing [s@macro-dialout-trunk:6] GotoIf("PJSIP/106-00000050", "0?disabletrunk,1") in new stack
  291.     -- Executing [s@macro-dialout-trunk:7] Set("PJSIP/106-00000050", "DIAL_NUMBER=4354146183") in new stack
  292.     -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/106-00000050", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  293.     -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/106-00000050", "OUTBOUND_GROUP=OUT_3") in new stack
  294.     -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/106-00000050", "DIAL_TRUNK_OPTIONS=T") in new stack
  295.     -- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/106-00000050", "1?nomax") in new stack
  296.     -- Goto (macro-dialout-trunk,s,13)
  297.     -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/106-00000050", "0?skipoutcid") in new stack
  298.     -- Executing [s@macro-dialout-trunk:14] Macro("PJSIP/106-00000050", "outbound-callerid,3") in new stack
  299.     -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/106-00000050", "106") in new stack
  300.     -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/106-00000050", "") in new stack
  301.     -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/106-00000050", "off") in new stack
  302.     -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=)") in new stack
  303.     -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=)") in new stack
  304.     -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/106-00000050", "HOTDESCKCHAN=106-00000050") in new stack
  305.     -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/106-00000050", "HOTDESKEXTEN=106") in new stack
  306.     -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/106-00000050", "HOTDESKCALL=0") in new stack
  307.     -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/106-00000050", "0?Set(HOTDESKCALL=1)") in new stack
  308.     -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(name)=)") in new stack
  309.     -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/106-00000050", "ALLOWTHISROUTE=NO") in new stack
  310.     -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/106-00000050", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  311.     -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/106-00000050", "0?Hangup()") in new stack
  312.     -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/106-00000050", "0?Set(REALCALLERIDNUM=106)") in new stack
  313.     -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/106-00000050", "0?Set(AMPUSER=106)") in new stack
  314.     -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/106-00000050", "1?normcid") in new stack
  315.     -- Goto (macro-outbound-callerid,s,20)
  316.     -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/106-00000050", "USEROUTCID="Entrada Ins"<9494872900>") in new stack
  317.     -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/106-00000050", "EMERGENCYCID=") in new stack
  318.     -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/106-00000050", "0?Set(EMERGENCYCID=)") in new stack
  319.     -- Executing [s@macro-outbound-callerid:23] Set("PJSIP/106-00000050", "TRUNKOUTCID=") in new stack
  320.     -- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/106-00000050", "1?trunkcid") in new stack
  321.     -- Goto (macro-outbound-callerid,s,30)
  322.     -- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=)") in new stack
  323.     -- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/106-00000050", "1?Set(CALLERID(all)="Entrada Ins"<9494872900>)") in new stack
  324.     -- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=)") in new stack
  325.     -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=106)") in new stack
  326.     -- Executing [s@macro-outbound-callerid:34] Set("PJSIP/106-00000050", "TIOHIDE=no") in new stack
  327.     -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  328.     -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  329.     -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  330.     -- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  331.     -- Executing [s@macro-outbound-callerid:39] Set("PJSIP/106-00000050", "CDR(outbound_cnum)=9494872900") in new stack
  332.     -- Executing [s@macro-outbound-callerid:40] Set("PJSIP/106-00000050", "CDR(outbound_cnam)=Entrada Ins") in new stack
  333.     -- Executing [s@macro-dialout-trunk:15] GosubIf("PJSIP/106-00000050", "0?sub-flp-3,s,1()") in new stack
  334.     -- Executing [s@macro-dialout-trunk:16] Set("PJSIP/106-00000050", "OUTNUM=4354146183") in new stack
  335.     -- Executing [s@macro-dialout-trunk:17] Set("PJSIP/106-00000050", "custom=PJSIP") in new stack
  336.     -- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  337.     -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  338.     -- Executing [s@macro-dialout-trunk:20] Macro("PJSIP/106-00000050", "dialout-trunk-predial-hook,") in new stack
  339.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/106-00000050", "") in new stack
  340.     -- Executing [s@macro-dialout-trunk:21] GotoIf("PJSIP/106-00000050", "0?skipcrm") in new stack
  341.     -- Executing [s@macro-dialout-trunk:22] Set("PJSIP/106-00000050", "__CRM_DIRECTION=OUTBOUND") in new stack
  342.     -- Executing [s@macro-dialout-trunk:23] Set("PJSIP/106-00000050", "__CRM_DESTINATION=4354146183") in new stack
  343.     -- Executing [s@macro-dialout-trunk:24] Set("PJSIP/106-00000050", "__CRM_SOURCE=106") in new stack
  344.     -- Executing [s@macro-dialout-trunk:25] AGI("PJSIP/106-00000050", "sangomacrm.agi") in new stack
  345.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  346.   == Begin MixMonitor Recording PJSIP/106-00000050
  347. sangomacrm.agi: LINKEDID: 1582323615.128
  348. sangomacrm.agi: SOURCE: 106
  349. sangomacrm.agi: DESTINATION: 4354146183
  350. sangomacrm.agi: DIRECTION: OUTBOUND
  351. sangomacrm.agi: EXTTOCALL:
  352. sangomacrm.agi: START
  353. sangomacrm.agi: SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php 'eyJ1dWlkIjoiMTU4MjMyMzYxNS4xMjgiLCJzb3VyY2UiOiIxMDYiLCJkZXN0aW5hdGlvbiI6IjQzNTQxNDYxODMiLCJkaXJlY3Rpb24iOiJPVVRCT1VORCIsInR5cGUiOiJTVEFSVCIsInp1bHVfcmF3X3R5cGUiOiIiLCJ6dWx1X3R5cGUiOiIiLCJ6dWx1X3VybCI6IiIsImV4dHRvY2FsbCI6IiIsImNudW0iOiI5NDk0ODcyOTAwIiwiY25hbSI6IkVudHJhZGEgSW5zIiwiY2FsbHBvcCI6ZmFsc2UsInZvaWNlbWFpbCI6IiJ9' > /dev/null 2>&1 &
  354.     -- <PJSIP/106-00000050>AGI Script sangomacrm.agi completed, returning 0
  355.     -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/106-00000050", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  356.     -- Executing [s@macro-dialout-trunk:27] NoOp("PJSIP/106-00000050", "CRM Finished") in new stack
  357.     -- Executing [s@macro-dialout-trunk:28] GotoIf("PJSIP/106-00000050", "0?bypass,1") in new stack
  358.     -- Executing [s@macro-dialout-trunk:29] ExecIf("PJSIP/106-00000050", "1?Set(CONNECTEDLINE(num,i)=4354146183)") in new stack
  359.     -- Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/106-00000050", "1?Set(CONNECTEDLINE(name,i)=CID:9494872900)") in new stack
  360.     -- Executing [s@macro-dialout-trunk:31] ExecIf("PJSIP/106-00000050", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)9494872900)") in new stack
  361.     -- Executing [s@macro-dialout-trunk:32] GotoIf("PJSIP/106-00000050", "0?customtrunk") in new stack
  362.     -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  363.     -- Executing [s@macro-dialout-trunk:34] Dial("PJSIP/106-00000050", "PJSIP/4354146183@didforsale_out,300,Tb(func-apply-sipheaders^s^1,(3))") in new stack
  364.     -- PJSIP/didforsale_out-00000051 Internal Gosub(func-apply-sipheaders,s,1(3)) start
  365.     -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/didforsale_out-00000051", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  366.     -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/didforsale_out-00000051", "Applying SIP Headers to channel PJSIP/didforsale_out-00000051") in new stack
  367.     -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/didforsale_out-00000051", "TECH=PJSIP") in new stack
  368.     -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/didforsale_out-00000051", "SIPHEADERKEYS=") in new stack
  369.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/didforsale_out-00000051", "0") in new stack
  370.     -- Jumping to priority 13
  371.     -- Executing [s@func-apply-sipheaders:14] Return("PJSIP/didforsale_out-00000051", "") in new stack
  372.   == Spawn extension (from-pstn-e164-us, 4354146183, 1) exited non-zero on 'PJSIP/didforsale_out-00000051'
  373.     -- PJSIP/didforsale_out-00000051 Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
  374.     -- Called PJSIP/4354146183@didforsale_out
  375. <--- Transmitting SIP request (1025 bytes) to UDP:209.216.2.212:5060 --->
  376. INVITE sip:4354146183@209.216.2.212:5060 SIP/2.0
  377. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj92813bdb-e968-4108-a353-7876416e7a1c
  378. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=fc46d490-2e16-468c-86a6-8c2a53e43b4e
  379. To: <sip:4354146183@209.216.2.212>
  380. Contact: <sip:asterisk@149.28.89.78:5060>
  381. Call-ID: 233da291-c03f-435d-b8ec-43918582cf64
  382. CSeq: 22183 INVITE
  383. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  384. Supported: 100rel, timer, replaces, norefersub
  385. Session-Expires: 1800
  386. Min-SE: 90
  387. Max-Forwards: 70
  388. User-Agent: FPBX-15.0.16.42(16.6.2)
  389. Content-Type: application/sdp
  390. Content-Length:   337
  391.  
  392. v=0
  393. o=- 539689663 539689663 IN IP4 149.28.89.78
  394. s=Asterisk
  395. c=IN IP4 149.28.89.78
  396. t=0 0
  397. m=audio 10058 RTP/AVP 0 8 111 9 3 101
  398. a=rtpmap:0 PCMU/8000
  399. a=rtpmap:8 PCMA/8000
  400. a=rtpmap:111 G726-32/8000
  401. a=rtpmap:9 G722/8000
  402. a=rtpmap:3 GSM/8000
  403. a=rtpmap:101 telephone-event/8000
  404. a=fmtp:101 0-16
  405. a=ptime:20
  406. a=maxptime:150
  407. a=sendrecv
  408.  
  409. <--- Received SIP response (449 bytes) from UDP:209.216.2.212:5060 --->
  410. SIP/2.0 503 Unable to load gateways
  411. Via: SIP/2.0/UDP 149.28.89.78:5060;received=149.28.89.78;rport=5060;branch=z9hG4bKPj92813bdb-e968-4108-a353-7876416e7a1c
  412. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=fc46d490-2e16-468c-86a6-8c2a53e43b4e
  413. To: <sip:4354146183@209.216.2.212>;tag=71fd1b189ab888f8d5fb24b00af87228.5618
  414. Call-ID: 233da291-c03f-435d-b8ec-43918582cf64
  415. CSeq: 22183 INVITE
  416. Server: DIDForSale SIP Gateway
  417. Content-Length: 0
  418.  
  419.  
  420. <--- Transmitting SIP request (453 bytes) to UDP:209.216.2.212:5060 --->
  421. ACK sip:4354146183@209.216.2.212:5060 SIP/2.0
  422. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj92813bdb-e968-4108-a353-7876416e7a1c
  423. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=fc46d490-2e16-468c-86a6-8c2a53e43b4e
  424. To: <sip:4354146183@209.216.2.212>;tag=71fd1b189ab888f8d5fb24b00af87228.5618
  425. Call-ID: 233da291-c03f-435d-b8ec-43918582cf64
  426. CSeq: 22183 ACK
  427. Max-Forwards: 70
  428. User-Agent: FPBX-15.0.16.42(16.6.2)
  429. Content-Length:  0
  430.  
  431.  
  432.   == Everyone is busy/congested at this time (1:0/1/0)
  433.     -- Executing [s@macro-dialout-trunk:35] NoOp("PJSIP/106-00000050", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
  434.     -- Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/106-00000050", "0?continue,1:s-CONGESTION,1") in new stack
  435.     -- Goto (macro-dialout-trunk,s-CONGESTION,1)
  436.     -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("PJSIP/106-00000050", "RC=34") in new stack
  437.     -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("PJSIP/106-00000050", "34,1") in new stack
  438.     -- Goto (macro-dialout-trunk,34,1)
  439.     -- Executing [34@macro-dialout-trunk:1] Goto("PJSIP/106-00000050", "continue,1") in new stack
  440.     -- Goto (macro-dialout-trunk,continue,1)
  441.     -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/106-00000050", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
  442.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/106-00000050", "1?Set(CALLERID(number)=106)") in new stack
  443.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:8] Macro("PJSIP/106-00000050", "dialout-trunk,4,4354146183,,off") in new stack
  444.     -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/106-00000050", "DIAL_TRUNK=4") in new stack
  445.     -- Executing [s@macro-dialout-trunk:2] UserEvent("PJSIP/106-00000050", "zulu-outbound-call,from:106,to:4354146183") in new stack
  446.     -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  447.     -- Executing [s@macro-dialout-trunk:4] GosubIf("PJSIP/106-00000050", "0?sub-pincheck,s,1()") in new stack
  448.     -- Executing [s@macro-dialout-trunk:5] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(num)=106)") in new stack
  449.     -- Executing [s@macro-dialout-trunk:6] GotoIf("PJSIP/106-00000050", "0?disabletrunk,1") in new stack
  450.     -- Executing [s@macro-dialout-trunk:7] Set("PJSIP/106-00000050", "DIAL_NUMBER=4354146183") in new stack
  451.     -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/106-00000050", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  452.     -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/106-00000050", "OUTBOUND_GROUP=OUT_4") in new stack
  453.     -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/106-00000050", "DIAL_TRUNK_OPTIONS=T") in new stack
  454.     -- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/106-00000050", "1?nomax") in new stack
  455.     -- Goto (macro-dialout-trunk,s,13)
  456.     -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/106-00000050", "0?skipoutcid") in new stack
  457.     -- Executing [s@macro-dialout-trunk:14] Macro("PJSIP/106-00000050", "outbound-callerid,4") in new stack
  458.     -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/106-00000050", "106") in new stack
  459.     -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/106-00000050", "") in new stack
  460.     -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/106-00000050", "off") in new stack
  461.     -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=)") in new stack
  462.     -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=)") in new stack
  463.     -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/106-00000050", "HOTDESCKCHAN=106-00000050") in new stack
  464.     -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/106-00000050", "HOTDESKEXTEN=106") in new stack
  465.     -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/106-00000050", "HOTDESKCALL=0") in new stack
  466.     -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/106-00000050", "0?Set(HOTDESKCALL=1)") in new stack
  467.     -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(name)=)") in new stack
  468.     -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/106-00000050", "ALLOWTHISROUTE=NO") in new stack
  469.     -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/106-00000050", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  470.     -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/106-00000050", "0?Hangup()") in new stack
  471.     -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/106-00000050", "0?Set(REALCALLERIDNUM=106)") in new stack
  472.     -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/106-00000050", "0?Set(AMPUSER=106)") in new stack
  473.     -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/106-00000050", "1?normcid") in new stack
  474.     -- Goto (macro-outbound-callerid,s,20)
  475.     -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/106-00000050", "USEROUTCID="Entrada Ins"<9494872900>") in new stack
  476.     -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/106-00000050", "EMERGENCYCID=") in new stack
  477.     -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/106-00000050", "0?Set(EMERGENCYCID=)") in new stack
  478.     -- Executing [s@macro-outbound-callerid:23] Set("PJSIP/106-00000050", "TRUNKOUTCID=") in new stack
  479.     -- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/106-00000050", "1?trunkcid") in new stack
  480.     -- Goto (macro-outbound-callerid,s,30)
  481.     -- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=)") in new stack
  482.     -- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/106-00000050", "1?Set(CALLERID(all)="Entrada Ins"<9494872900>)") in new stack
  483.     -- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=)") in new stack
  484.     -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/106-00000050", "0?Set(CALLERID(all)=106)") in new stack
  485.     -- Executing [s@macro-outbound-callerid:34] Set("PJSIP/106-00000050", "TIOHIDE=no") in new stack
  486.     -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  487.     -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  488.     -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  489.     -- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/106-00000050", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  490.     -- Executing [s@macro-outbound-callerid:39] Set("PJSIP/106-00000050", "CDR(outbound_cnum)=9494872900") in new stack
  491.     -- Executing [s@macro-outbound-callerid:40] Set("PJSIP/106-00000050", "CDR(outbound_cnam)=Entrada Ins") in new stack
  492.     -- Executing [s@macro-dialout-trunk:15] GosubIf("PJSIP/106-00000050", "0?sub-flp-4,s,1()") in new stack
  493.     -- Executing [s@macro-dialout-trunk:16] Set("PJSIP/106-00000050", "OUTNUM=4354146183") in new stack
  494.     -- Executing [s@macro-dialout-trunk:17] Set("PJSIP/106-00000050", "custom=PJSIP") in new stack
  495.     -- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  496.     -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  497.     -- Executing [s@macro-dialout-trunk:20] Macro("PJSIP/106-00000050", "dialout-trunk-predial-hook,") in new stack
  498.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/106-00000050", "") in new stack
  499.     -- Executing [s@macro-dialout-trunk:21] GotoIf("PJSIP/106-00000050", "1?skipcrm") in new stack
  500.     -- Goto (macro-dialout-trunk,s,27)
  501.     -- Executing [s@macro-dialout-trunk:27] NoOp("PJSIP/106-00000050", "CRM Finished") in new stack
  502.     -- Executing [s@macro-dialout-trunk:28] GotoIf("PJSIP/106-00000050", "0?bypass,1") in new stack
  503.     -- Executing [s@macro-dialout-trunk:29] ExecIf("PJSIP/106-00000050", "1?Set(CONNECTEDLINE(num,i)=4354146183)") in new stack
  504.     -- Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/106-00000050", "1?Set(CONNECTEDLINE(name,i)=CID:9494872900)") in new stack
  505.     -- Executing [s@macro-dialout-trunk:31] ExecIf("PJSIP/106-00000050", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)9494872900)") in new stack
  506.     -- Executing [s@macro-dialout-trunk:32] GotoIf("PJSIP/106-00000050", "0?customtrunk") in new stack
  507.     -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/106-00000050", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  508.     -- Executing [s@macro-dialout-trunk:34] Dial("PJSIP/106-00000050", "PJSIP/4354146183@didforsale_out2,300,Tb(func-apply-sipheaders^s^1,(4))") in new stack
  509.     -- PJSIP/didforsale_out2-00000052 Internal Gosub(func-apply-sipheaders,s,1(4)) start
  510.     -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/didforsale_out2-00000052", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  511.     -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/didforsale_out2-00000052", "Applying SIP Headers to channel PJSIP/didforsale_out2-00000052") in new stack
  512.     -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/didforsale_out2-00000052", "TECH=PJSIP") in new stack
  513.     -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/didforsale_out2-00000052", "SIPHEADERKEYS=") in new stack
  514.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/didforsale_out2-00000052", "0") in new stack
  515.     -- Jumping to priority 13
  516.     -- Executing [s@func-apply-sipheaders:14] Return("PJSIP/didforsale_out2-00000052", "") in new stack
  517.   == Spawn extension (from-pstn-e164-us, 4354146183, 1) exited non-zero on 'PJSIP/didforsale_out2-00000052'
  518.     -- PJSIP/didforsale_out2-00000052 Internal Gosub(func-apply-sipheaders,s,1(4)) complete GOSUB_RETVAL=
  519.     -- Called PJSIP/4354146183@didforsale_out2
  520. <--- Transmitting SIP request (1025 bytes) to UDP:209.216.15.71:5060 --->
  521. INVITE sip:4354146183@209.216.15.71:5060 SIP/2.0
  522. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj2e0b6451-d2f1-4a66-b435-b7b51139e0cf
  523. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=1cb86251-0b05-463f-b0ad-1e7679a7e260
  524. To: <sip:4354146183@209.216.15.71>
  525. Contact: <sip:asterisk@149.28.89.78:5060>
  526. Call-ID: 83c16ba5-6b9c-4e6a-a8d3-e0c571c17d04
  527. CSeq: 29051 INVITE
  528. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  529. Supported: 100rel, timer, replaces, norefersub
  530. Session-Expires: 1800
  531. Min-SE: 90
  532. Max-Forwards: 70
  533. User-Agent: FPBX-15.0.16.42(16.6.2)
  534. Content-Type: application/sdp
  535. Content-Length:   337
  536.  
  537. v=0
  538. o=- 275094726 275094726 IN IP4 149.28.89.78
  539. s=Asterisk
  540. c=IN IP4 149.28.89.78
  541. t=0 0
  542. m=audio 16374 RTP/AVP 0 8 111 9 3 101
  543. a=rtpmap:0 PCMU/8000
  544. a=rtpmap:8 PCMA/8000
  545. a=rtpmap:111 G726-32/8000
  546. a=rtpmap:9 G722/8000
  547. a=rtpmap:3 GSM/8000
  548. a=rtpmap:101 telephone-event/8000
  549. a=fmtp:101 0-16
  550. a=ptime:20
  551. a=maxptime:150
  552. a=sendrecv
  553.  
  554. <--- Received SIP response (449 bytes) from UDP:209.216.15.71:5060 --->
  555. SIP/2.0 503 Unable to load gateways
  556. Via: SIP/2.0/UDP 149.28.89.78:5060;received=149.28.89.78;rport=5060;branch=z9hG4bKPj2e0b6451-d2f1-4a66-b435-b7b51139e0cf
  557. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=1cb86251-0b05-463f-b0ad-1e7679a7e260
  558. To: <sip:4354146183@209.216.15.71>;tag=5d0c25c54e7e9c82685741ef1c05c113.1ddc
  559. Call-ID: 83c16ba5-6b9c-4e6a-a8d3-e0c571c17d04
  560. CSeq: 29051 INVITE
  561. Server: DIDForSale SIP Gateway
  562. Content-Length: 0
  563.  
  564.  
  565. <--- Transmitting SIP request (453 bytes) to UDP:209.216.15.71:5060 --->
  566. ACK sip:4354146183@209.216.15.71:5060 SIP/2.0
  567. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj2e0b6451-d2f1-4a66-b435-b7b51139e0cf
  568. From: "Entrada Ins" <sip:9494872900@149.28.89.78>;tag=1cb86251-0b05-463f-b0ad-1e7679a7e260
  569. To: <sip:4354146183@209.216.15.71>;tag=5d0c25c54e7e9c82685741ef1c05c113.1ddc
  570. Call-ID: 83c16ba5-6b9c-4e6a-a8d3-e0c571c17d04
  571. CSeq: 29051 ACK
  572. Max-Forwards: 70
  573. User-Agent: FPBX-15.0.16.42(16.6.2)
  574. Content-Length:  0
  575.  
  576.  
  577.   == Everyone is busy/congested at this time (1:0/1/0)
  578.     -- Executing [s@macro-dialout-trunk:35] NoOp("PJSIP/106-00000050", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
  579.     -- Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/106-00000050", "0?continue,1:s-CONGESTION,1") in new stack
  580.     -- Goto (macro-dialout-trunk,s-CONGESTION,1)
  581.     -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("PJSIP/106-00000050", "RC=34") in new stack
  582.     -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("PJSIP/106-00000050", "34,1") in new stack
  583.     -- Goto (macro-dialout-trunk,34,1)
  584.     -- Executing [34@macro-dialout-trunk:1] Goto("PJSIP/106-00000050", "continue,1") in new stack
  585.     -- Goto (macro-dialout-trunk,continue,1)
  586.     -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/106-00000050", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
  587.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/106-00000050", "1?Set(CALLERID(number)=106)") in new stack
  588.     -- Executing [4354146183@restrictedroute-abd2da4cb1a04f8aecaf606c36aebdb5:9] Macro("PJSIP/106-00000050", "outisbusy,") in new stack
  589.     -- Executing [s@macro-outisbusy:1] Progress("PJSIP/106-00000050", "") in new stack
  590.     -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/106-00000050", "0?emergency,1") in new stack
  591.     -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/106-00000050", "0?intracompany,1") in new stack
  592.     -- Executing [s@macro-outisbusy:4] Playback("PJSIP/106-00000050", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  593.     -- <PJSIP/106-00000050> Playing 'all-circuits-busy-now.g722' (language 'en')
  594.        > 0x7f0628018470 -- Strict RTP learning after remote address set to: 24.40.89.129:51720
  595. <--- Transmitting SIP response (942 bytes) to UDP:24.40.86.107:19372 --->
  596. SIP/2.0 183 Session Progress
  597. Via: SIP/2.0/UDP 24.40.89.129:51620;rport=19372;received=24.40.86.107;branch=z9hG4bK2fbb3d8d534bc8639.9d7587c5b0a34b969
  598. Call-ID: 9f6861f9b98ac920
  599. From: <sip:106@149.28.89.78>;tag=cd097b9845
  600. To: <sip:4354146183@149.28.89.78;user=phone>;tag=0a6dd0df-5613-4a5c-90ec-e09c8c7a1a34
  601. CSeq: 11901 INVITE
  602. Server: FPBX-15.0.16.42(16.6.2)
  603. Contact: <sip:149.28.89.78:5060>
  604. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  605. P-Asserted-Identity: "CID:9494872900" <sip:4354146183@149.28.89.78;user=phone>
  606. Content-Type: application/sdp
  607. Content-Length:   298
  608.  
  609. v=0
  610. o=- 0 3 IN IP4 149.28.89.78
  611. s=Asterisk
  612. c=IN IP4 149.28.89.78
  613. t=0 0
  614. m=audio 15058 RTP/AVP 0 8 115 9 101
  615. a=rtpmap:0 PCMU/8000
  616. a=rtpmap:8 PCMA/8000
  617. a=rtpmap:115 G726-32/8000
  618. a=rtpmap:9 G722/8000
  619. a=rtpmap:101 telephone-event/8000
  620. a=fmtp:101 0-16
  621. a=ptime:20
  622. a=maxptime:150
  623. a=sendrecv
  624.  
  625. <--- Transmitting SIP request (420 bytes) to UDP:24.40.86.107:1519 --->
  626. OPTIONS sip:401@24.40.86.107:1519 SIP/2.0
  627. Via: SIP/2.0/UDP 149.28.89.78:5060;rport;branch=z9hG4bKPj866d00be-b131-4b6d-be5a-406efe728c79
  628. From: <sip:401@149.28.89.78>;tag=5fae1f72-6346-4b63-9fa8-fe110e00ab0a
  629. To: <sip:401@24.40.86.107>
  630. Contact: <sip:401@149.28.89.78:5060>
  631. Call-ID: 5e27458e-1bf0-4735-89bc-873dea719563
  632. CSeq: 34874 OPTIONS
  633. Max-Forwards: 70
  634. User-Agent: FPBX-15.0.16.42(16.6.2)
  635. Content-Length:  0
  636.  
  637.  
  638. <--- Received SIP response (480 bytes) from UDP:24.40.86.107:19372 --->
  639. SIP/2.0 200 OK
  640. Via: SIP/2.0/UDP 149.28.89.78:5060;rport=5060;branch=z9hG4bKPj866d00be-b131-4b6d-be5a-406efe728c79;received=149.28.89.78
  641. From: <sip:401@149.28.89.78>;tag=5fae1f72-6346-4b63-9fa8-fe110e00ab0a
  642. To: <sip:401@24.40.86.107>;tag=2449338703
  643. Call-ID: 5e27458e-1bf0-4735-89bc-873dea719563
  644. CSeq: 34874 OPTIONS
  645. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
  646. Server: Aastra 57iCT/3.3.1.2256
  647. Supported: path
  648. Content-Length: 0
  649.  
  650.  
  651.        > 0x7f0628018470 -- Strict RTP qualifying stream type: audio
  652.        > 0x7f0628018470 -- Strict RTP switching source address to 24.40.86.107:3000
  653. freepbx*CLI>
  654. Disconnected from Asterisk server
  655. Asterisk cleanly ending (0).
  656. Executing last minute cleanups
  657. [root@freepbx ~]#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top