siplog

From Glen S Rosen, 5 Months ago, written in Plain Text, viewed 3 times. This paste will explode in 5 Months.
URL https://pastebin.freepbx.org/view/27857372 Embed
Download Paste or View Raw
  1. =========================================================================
  2. Connected to Asterisk 16.13.0 currently running on ee-pbx (pid = 2292)
  3. ee-pbx*CLI> sip set debug on
  4. SIP Debugging re-enabled
  5. ee-pbx*CLI> pjsip set logger on
  6. PJSIP Logging enabled
  7. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.0:5060 --->
  8. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  9. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjc4ebca26-fe46-4177-a70b-7f98cbc4d039
  10. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  11. To: <sip:twilio_login@company.pstn.twilio.com>
  12. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  13. CSeq: 49208 REGISTER
  14. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  15. Expires: 3600
  16. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  17. Max-Forwards: 70
  18. User-Agent: FPBX-15.0.16.77(16.13.0)
  19. Content-Length:  0
  20.  
  21.  
  22. ee-pbx*CLI> core set verbose 4
  23. Console verbose is still 4.
  24. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.0:5060 --->
  25. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  26. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjc4ebca26-fe46-4177-a70b-7f98cbc4d039
  27. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  28. To: <sip:twilio_login@company.pstn.twilio.com>
  29. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  30. CSeq: 49208 REGISTER
  31. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  32. Expires: 3600
  33. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  34. Max-Forwards: 70
  35. User-Agent: FPBX-15.0.16.77(16.13.0)
  36. Content-Length:  0
  37.  
  38.  
  39. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.0:5060 --->
  40. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  41. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjc4ebca26-fe46-4177-a70b-7f98cbc4d039
  42. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  43. To: <sip:twilio_login@company.pstn.twilio.com>
  44. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  45. CSeq: 49208 REGISTER
  46. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  47. Expires: 3600
  48. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  49. Max-Forwards: 70
  50. User-Agent: FPBX-15.0.16.77(16.13.0)
  51. Content-Length:  0
  52.  
  53.  
  54. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  55. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  56. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  57. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  58. To: <sip:twilio_login@company.pstn.twilio.com>
  59. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  60. CSeq: 49209 REGISTER
  61. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  62. Expires: 3600
  63. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  64. Max-Forwards: 70
  65. User-Agent: FPBX-15.0.16.77(16.13.0)
  66. Content-Length:  0
  67.  
  68.  
  69. <--- Transmitting SIP request (508 bytes) to UDP:54.172.60.2:5060 --->
  70. OPTIONS sip:twilio_login@company.pstn.twilio.com:5060 SIP/2.0
  71. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPje0db2086-7f49-477d-8571-de77757519d0
  72. From: <sip:Twilio_Trunk@192.168.1.201>;tag=67878a1e-b841-4bac-b809-3217f38f796d
  73. To: <sip:twilio_login@company.pstn.twilio.com>
  74. Contact: <sip:Twilio_Trunk@10.10.10.10:5060>
  75. Call-ID: a703f8dc-9463-4451-8b14-e029a31d290b
  76. CSeq: 58210 OPTIONS
  77. Max-Forwards: 70
  78. User-Agent: FPBX-15.0.16.77(16.13.0)
  79. Content-Length:  0
  80.  
  81.  
  82. <--- Received SIP response (439 bytes) from UDP:54.172.60.2:5060 --->
  83. SIP/2.0 200 OK
  84. Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;branch=z9hG4bKPje0db2086-7f49-477d-8571-de77757519d0;received=66.26.68.30
  85. From: <sip:Twilio_Trunk@192.168.1.201>;tag=67878a1e-b841-4bac-b809-3217f38f796d
  86. To: <sip:twilio_login@company.pstn.twilio.com>;tag=57665a3278e55b1125cd7955ed60a10d.9f5047cf
  87. Call-ID: a703f8dc-9463-4451-8b14-e029a31d290b
  88. CSeq: 58210 OPTIONS
  89. Server: Twilio Gateway
  90. Content-Length: 0
  91.  
  92.  
  93. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  94. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  95. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  96. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  97. To: <sip:twilio_login@company.pstn.twilio.com>
  98. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  99. CSeq: 49209 REGISTER
  100. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  101. Expires: 3600
  102. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  103. Max-Forwards: 70
  104. User-Agent: FPBX-15.0.16.77(16.13.0)
  105. Content-Length:  0
  106.  
  107.  
  108. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  109. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  110. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  111. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  112. To: <sip:twilio_login@company.pstn.twilio.com>
  113. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  114. CSeq: 49209 REGISTER
  115. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  116. Expires: 3600
  117. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  118. Max-Forwards: 70
  119. User-Agent: FPBX-15.0.16.77(16.13.0)
  120. Content-Length:  0
  121.  
  122.  
  123. <--- Received SIP request (626 bytes) from UDP:84.17.35.82:50790 --->
  124. INVITE sip:9049011972595725668@10.10.10.10 SIP/2.0
  125. Via: SIP/2.0/UDP 0.0.0.0:50790;branch=z9hG4bK1393013
  126. Max-Forwards: 70
  127. From: <sip:904901166266830:5060@10.10.10.10>;tag=2050943557
  128. To: <sip:9049011972595725668@10.10.10.10>
  129. Call-ID: 678193060-1091892581-542029372
  130. CSeq: 1 INVITE
  131. Contact: <sip:904901166266830:5060@212.129.10.158:50790>
  132. User-Agent: pplsip
  133. Content-Type: application/sdp
  134. Content-Length: 209
  135.  
  136. v=0
  137. o=904901166266830:5060 16264 18299 IN IP4 0.0.0.0
  138. s=pplsip
  139. c=IN IP4 0.0.0.0
  140. t=0 0
  141. m=audio 25282 RTP/AVP 100 6 0 8 3 18 5 101
  142. a=rtpmap:0 pcmu/8000
  143. a=rtpmap:101 telephone-event/8000
  144. a=fmtp:101 0-11
  145.  
  146. <--- Transmitting SIP response (495 bytes) to UDP:84.17.35.82:50790 --->
  147. SIP/2.0 401 Unauthorized
  148. Via: SIP/2.0/UDP 0.0.0.0:50790;rport=50790;received=84.17.35.82;branch=z9hG4bK1393013
  149. Call-ID: 678193060-1091892581-542029372
  150. From: <sip:904901166266830:5060@10.10.10.10>;tag=2050943557
  151. To: <sip:9049011972595725668@10.10.10.10>;tag=z9hG4bK1393013
  152. CSeq: 1 INVITE
  153. WWW-Authenticate: Digest realm="asterisk",nonce="1604690962/eece58e369b6ac40ba2dc6dcf1acf29d",opaque="2858573a68f619a0",algorithm=md5,qop="auth"
  154. Server: FPBX-15.0.16.77(16.13.0)
  155. Content-Length:  0
  156.  
  157.  
  158. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  159. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  160. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  161. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  162. To: <sip:twilio_login@company.pstn.twilio.com>
  163. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  164. CSeq: 49209 REGISTER
  165. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  166. Expires: 3600
  167. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  168. Max-Forwards: 70
  169. User-Agent: FPBX-15.0.16.77(16.13.0)
  170. Content-Length:  0
  171.  
  172.  
  173. <--- Received SIP request (1336 bytes) from UDP:54.172.60.0:5060 --->
  174. INVITE sip:+19845551212@10.10.10.10;region=us1 SIP/2.0
  175. Record-Route: <sip:54.172.60.0;lr>
  176. From: <sip:+19735551212@company.pstn.twilio.com:5060;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  177. To: <sip:+19845551212@10.10.10.10;region=us1>
  178. CSeq: 465020 INVITE
  179. Max-Forwards: 21
  180. P-Asserted-Identity: <sip:+19735551212@206.147.72.106:5060>
  181. Diversion: <sip:+19845551212@public-vip.us1.twilio.com>;reason=unconditional
  182. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  183. Via: SIP/2.0/UDP 54.172.60.0:5060;branch=z9hG4bKb031.8e1a55a5dd99aebbd2c71d05aedf89b9.0
  184. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_430-3385660279406944961
  185. Contact: <sip:+19735551212@172.25.48.202:5060;transport=udp>
  186. Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,OPTIONS
  187. User-Agent: Twilio Gateway
  188. X-Twilio-AccountSid: AC7a377a67ecb99f8bb3f857698452db2d
  189. Content-Type: application/sdp
  190. X-Twilio-CallSid: CA26dc5776d98b1678d4b7fe3b732abcd2
  191. Content-Length: 277
  192.  
  193. v=0
  194. o=root 596383296 596383296 IN IP4 172.18.146.200
  195. s=Twilio Media Gateway
  196. c=IN IP4 34.203.251.196
  197. t=0 0
  198. m=audio 16796 RTP/AVP 0 8 101
  199. a=rtpmap:0 PCMU/8000
  200. a=rtpmap:8 PCMA/8000
  201. a=rtpmap:101 telephone-event/8000
  202. a=fmtp:101 0-16
  203. a=ptime:20
  204. a=maxptime:20
  205. a=sendrecv
  206.  
  207.   == Setting global variable 'SIPDOMAIN' to '10.10.10.10'
  208. <--- Transmitting SIP response (643 bytes) to UDP:54.172.60.0:5060 --->
  209. SIP/2.0 100 Trying
  210. Via: SIP/2.0/UDP 54.172.60.0:5060;rport=5060;received=54.172.60.0;branch=z9hG4bKb031.8e1a55a5dd99aebbd2c71d05aedf89b9.0
  211. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_430-3385660279406944961
  212. Record-Route: <sip:54.172.60.0;lr>
  213. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  214. From: <sip:+19735551212@company.pstn.twilio.com;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  215. To: <sip:+19845551212@10.10.10.10;region=us1>
  216. CSeq: 465020 INVITE
  217. Server: FPBX-15.0.16.77(16.13.0)
  218. Content-Length:  0
  219.  
  220.  
  221.     -- Executing [+19845551212@from-pstn-e164-us:1] Set("PJSIP/Twilio_Trunk-0000003d", "CALLERID(number)=9735551212") in new stack
  222.     -- Executing [+19845551212@from-pstn-e164-us:2] Goto("PJSIP/Twilio_Trunk-0000003d", "from-pstn,9845551212,1") in new stack
  223.     -- Goto (from-pstn,9845551212,1)
  224.     -- Executing [9845551212@from-pstn:1] Set("PJSIP/Twilio_Trunk-0000003d", "__DIRECTION=INBOUND") in new stack
  225.     -- Executing [9845551212@from-pstn:2] Gosub("PJSIP/Twilio_Trunk-0000003d", "sub-record-check,s,1(in,9845551212,dontcare)") in new stack
  226.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?initialized") in new stack
  227.     -- Executing [s@sub-record-check:2] Set("PJSIP/Twilio_Trunk-0000003d", "__REC_STATUS=INITIALIZED") in new stack
  228.     -- Executing [s@sub-record-check:3] Set("PJSIP/Twilio_Trunk-0000003d", "NOW=1604690964") in new stack
  229.     -- Executing [s@sub-record-check:4] Set("PJSIP/Twilio_Trunk-0000003d", "__DAY=06") in new stack
  230.     -- Executing [s@sub-record-check:5] Set("PJSIP/Twilio_Trunk-0000003d", "__MONTH=11") in new stack
  231.     -- Executing [s@sub-record-check:6] Set("PJSIP/Twilio_Trunk-0000003d", "__YEAR=2020") in new stack
  232.     -- Executing [s@sub-record-check:7] Set("PJSIP/Twilio_Trunk-0000003d", "__TIMESTR=20201106-142924") in new stack
  233.     -- Executing [s@sub-record-check:8] Set("PJSIP/Twilio_Trunk-0000003d", "__FROMEXTEN=unknown") in new stack
  234.     -- Executing [s@sub-record-check:9] Set("PJSIP/Twilio_Trunk-0000003d", "__MON_FMT=wav") in new stack
  235.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/Twilio_Trunk-0000003d", "Recordings initialized") in new stack
  236.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(ARG3=dontcare)") in new stack
  237.     -- Executing [s@sub-record-check:12] Set("PJSIP/Twilio_Trunk-0000003d", "REC_POLICY_MODE_SAVE=") in new stack
  238.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(REC_STATUS=NO)") in new stack
  239.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/Twilio_Trunk-0000003d", "2?checkaction") in new stack
  240.     -- Goto (sub-record-check,s,17)
  241.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?sub-record-check,in,1") in new stack
  242.     -- Goto (sub-record-check,in,1)
  243.     -- Executing [in@sub-record-check:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Inbound Recording Check to 9845551212") in new stack
  244.     -- Executing [in@sub-record-check:2] Set("PJSIP/Twilio_Trunk-0000003d", "FROMEXTEN=unknown") in new stack
  245.     -- Executing [in@sub-record-check:3] ExecIf("PJSIP/Twilio_Trunk-0000003d", "10?Set(FROMEXTEN=9735551212)") in new stack
  246.     -- Executing [in@sub-record-check:4] Gosub("PJSIP/Twilio_Trunk-0000003d", "recordcheck,1(dontcare,in,9845551212)") in new stack
  247.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Starting recording check against dontcare") in new stack
  248.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/Twilio_Trunk-0000003d", "dontcare") in new stack
  249.     -- Goto (sub-record-check,recordcheck,3)
  250.     -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  251.     -- Executing [in@sub-record-check:5] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  252.     -- Executing [9845551212@from-pstn:3] Set("PJSIP/Twilio_Trunk-0000003d", "CHANNEL(tonezone)=us") in new stack
  253.     -- Executing [9845551212@from-pstn:4] Set("PJSIP/Twilio_Trunk-0000003d", "__FROM_DID=9845551212") in new stack
  254.     -- Executing [9845551212@from-pstn:5] Set("PJSIP/Twilio_Trunk-0000003d", "returnhere=1") in new stack
  255.     -- Executing [9845551212@from-pstn:6] Gosub("PJSIP/Twilio_Trunk-0000003d", "app-blacklist-check,s,1()") in new stack
  256.     -- Executing [s@app-blacklist-check:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?blacklisted") in new stack
  257.     -- Executing [s@app-blacklist-check:2] Set("PJSIP/Twilio_Trunk-0000003d", "CALLED_BLACKLIST=1") in new stack
  258.     -- Executing [s@app-blacklist-check:3] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  259.     -- Executing [9845551212@from-pstn:7] Set("PJSIP/Twilio_Trunk-0000003d", "CDR(did)=9845551212") in new stack
  260.     -- Executing [9845551212@from-pstn:8] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?") in new stack
  261.     -- Executing [9845551212@from-pstn:9] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1 ?Set(CALLERID(name)=9735551212)") in new stack
  262.     -- Executing [9845551212@from-pstn:10] Set("PJSIP/Twilio_Trunk-0000003d", "CHANNEL(musicclass)=OnHoldSong") in new stack
  263.     -- Executing [9845551212@from-pstn:11] Set("PJSIP/Twilio_Trunk-0000003d", "__MOHCLASS=OnHoldSong") in new stack
  264.     -- Executing [9845551212@from-pstn:12] Set("PJSIP/Twilio_Trunk-0000003d", "__REVERSAL_REJECT=FALSE") in new stack
  265.     -- Executing [9845551212@from-pstn:13] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?post-reverse-charge") in new stack
  266.     -- Goto (from-pstn,9845551212,15)
  267.     -- Executing [9845551212@from-pstn:15] NoOp("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  268.     -- Executing [9845551212@from-pstn:16] Set("PJSIP/Twilio_Trunk-0000003d", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
  269.     -- Executing [9845551212@from-pstn:17] Set("PJSIP/Twilio_Trunk-0000003d", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
  270.     -- Executing [9845551212@from-pstn:18] Set("PJSIP/Twilio_Trunk-0000003d", "CALLERID(name-pres)=allowed_not_screened") in new stack
  271.     -- Executing [9845551212@from-pstn:19] Set("PJSIP/Twilio_Trunk-0000003d", "CALLERID(num-pres)=allowed_not_screened") in new stack
  272.     -- Executing [9845551212@from-pstn:20] NoOp("PJSIP/Twilio_Trunk-0000003d", "CallerID Entry Point") in new stack
  273.     -- Executing [9845551212@from-pstn:21] Set("PJSIP/Twilio_Trunk-0000003d", "__CRM_DIRECTION=INBOUND") in new stack
  274.     -- Executing [9845551212@from-pstn:22] Set("PJSIP/Twilio_Trunk-0000003d", "__CRM_SOURCE=9735551212") in new stack
  275.     -- Executing [9845551212@from-pstn:23] Set("PJSIP/Twilio_Trunk-0000003d", "__CRM_LINKEDID=1604690964.288") in new stack
  276.     -- Executing [9845551212@from-pstn:24] AGI("PJSIP/Twilio_Trunk-0000003d", "agi://127.0.0.1/sangomacrm.agi,true") in new stack
  277.     -- <PJSIP/Twilio_Trunk-0000003d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  278.     -- Executing [9845551212@from-pstn:25] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  279.     -- Executing [9845551212@from-pstn:26] Goto("PJSIP/Twilio_Trunk-0000003d", "ivr-1,s,1") in new stack
  280.     -- Goto (ivr-1,s,1)
  281.     -- Executing [s@ivr-1:1] Set("PJSIP/Twilio_Trunk-0000003d", "TIMEOUT_LOOPCOUNT=0") in new stack
  282.     -- Executing [s@ivr-1:2] Set("PJSIP/Twilio_Trunk-0000003d", "INVALID_LOOPCOUNT=0") in new stack
  283.     -- Executing [s@ivr-1:3] Set("PJSIP/Twilio_Trunk-0000003d", "_IVR_CONTEXT_ivr-1=") in new stack
  284.     -- Executing [s@ivr-1:4] Set("PJSIP/Twilio_Trunk-0000003d", "_IVR_CONTEXT=ivr-1") in new stack
  285.     -- Executing [s@ivr-1:5] Set("PJSIP/Twilio_Trunk-0000003d", "__IVR_RETVM=") in new stack
  286.     -- Executing [s@ivr-1:6] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?skip") in new stack
  287.     -- Executing [s@ivr-1:7] Answer("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  288.        > 0x7f5efc012ac0 -- Strict RTP learning after remote address set to: 34.203.251.196:16796
  289. <--- Transmitting SIP response (1163 bytes) to UDP:54.172.60.0:5060 --->
  290. SIP/2.0 200 OK
  291. Via: SIP/2.0/UDP 54.172.60.0:5060;rport=5060;received=54.172.60.0;branch=z9hG4bKb031.8e1a55a5dd99aebbd2c71d05aedf89b9.0
  292. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_430-3385660279406944961
  293. Record-Route: <sip:54.172.60.0;lr>
  294. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  295. From: <sip:+19735551212@company.pstn.twilio.com;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  296. To: <sip:+19845551212@10.10.10.10;region=us1>;tag=ac28dc77-6fdb-43e1-9a61-c2afb98e5cc5
  297. CSeq: 465020 INVITE
  298. Server: FPBX-15.0.16.77(16.13.0)
  299. Contact: <sip:10.10.10.10:5060>
  300. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  301. Supported: 100rel, timer, replaces, norefersub
  302. Content-Type: application/sdp
  303. Content-Length:   257
  304.  
  305. v=0
  306. o=- 596383296 596383298 IN IP4 10.10.10.10
  307. s=Asterisk
  308. c=IN IP4 10.10.10.10
  309. t=0 0
  310. m=audio 10062 RTP/AVP 0 8 101
  311. a=rtpmap:0 PCMU/8000
  312. a=rtpmap:8 PCMA/8000
  313. a=rtpmap:101 telephone-event/8000
  314. a=fmtp:101 0-16
  315. a=ptime:20
  316. a=maxptime:150
  317. a=sendrecv
  318.  
  319. <--- Received SIP request (711 bytes) from UDP:54.172.60.0:5060 --->
  320. ACK sip:10.10.10.10:5060 SIP/2.0
  321. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  322. CSeq: 465020 ACK
  323. From: <sip:+19735551212@company.pstn.twilio.com:5060;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  324. To: <sip:+19845551212@10.10.10.10;region=us1>;tag=ac28dc77-6fdb-43e1-9a61-c2afb98e5cc5
  325. Max-Forwards: 69
  326. User-Agent: Twilio
  327. X-Twilio-CallSid: CA26dc5776d98b1678d4b7fe3b732abcd2
  328. Via: SIP/2.0/UDP 54.172.60.0:5060;branch=z9hG4bKb031.82b21ebfb1b1bca58fc61225cf961511.0
  329. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;received=3.81.11.231;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_534-15136944627965573185
  330. Content-Length: 0
  331.  
  332.  
  333.        > 0x7f5efc012ac0 -- Strict RTP switching to RTP target address 34.203.251.196:16796 as source
  334.     -- Executing [s@ivr-1:8] Set("PJSIP/Twilio_Trunk-0000003d", "IVR_MSG=custom/EE_Greeting") in new stack
  335.     -- Executing [s@ivr-1:9] Set("PJSIP/Twilio_Trunk-0000003d", "TIMEOUT(digit)=3") in new stack
  336.     -- Digit timeout set to 3.000
  337.     -- Executing [s@ivr-1:10] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Background(custom/EE_Greeting)") in new stack
  338.     -- <PJSIP/Twilio_Trunk-0000003d> Playing 'custom/EE_Greeting.ulaw' (language 'en')
  339. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  340. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  341. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  342. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  343. To: <sip:twilio_login@company.pstn.twilio.com>
  344. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  345. CSeq: 49209 REGISTER
  346. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  347. Expires: 3600
  348. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  349. Max-Forwards: 70
  350. User-Agent: FPBX-15.0.16.77(16.13.0)
  351. Content-Length:  0
  352.  
  353.  
  354.        > 0x7f5efc012ac0 -- Strict RTP learning complete - Locking on source address 34.203.251.196:16796
  355. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  356. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  357. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  358. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  359. To: <sip:twilio_login@company.pstn.twilio.com>
  360. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  361. CSeq: 49209 REGISTER
  362. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  363. Expires: 3600
  364. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  365. Max-Forwards: 70
  366. User-Agent: FPBX-15.0.16.77(16.13.0)
  367. Content-Length:  0
  368.  
  369.  
  370.     -- Executing [2001@ivr-1:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?i,1") in new stack
  371.     -- Executing [2001@ivr-1:2] Macro("PJSIP/Twilio_Trunk-0000003d", "blkvm-clr,") in new stack
  372.     -- Executing [s@macro-blkvm-clr:1] Set("PJSIP/Twilio_Trunk-0000003d", "SHARED(BLKVM,)=") in new stack
  373.     -- Executing [s@macro-blkvm-clr:2] Set("PJSIP/Twilio_Trunk-0000003d", "GOSUB_RETVAL=") in new stack
  374.     -- Executing [s@macro-blkvm-clr:3] MacroExit("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  375.     -- Executing [2001@ivr-1:3] Set("PJSIP/Twilio_Trunk-0000003d", "__NODEST=") in new stack
  376.     -- Executing [2001@ivr-1:4] Goto("PJSIP/Twilio_Trunk-0000003d", "from-did-direct,2001,1") in new stack
  377.     -- Goto (from-did-direct,2001,1)
  378.     -- Executing [2001@from-did-direct:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?ext-local,2001,1:followme-check,2001,1") in new stack
  379.     -- Goto (followme-check,2001,1)
  380.     -- Executing [2001@followme-check:1] Gosub("PJSIP/Twilio_Trunk-0000003d", "followme-sub,2001,1()") in new stack
  381.     -- Executing [2001@followme-sub:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?skipclid") in new stack
  382.     -- Executing [2001@followme-sub:2] Macro("PJSIP/Twilio_Trunk-0000003d", "user-callerid,") in new stack
  383.     -- Executing [s@macro-user-callerid:1] Set("PJSIP/Twilio_Trunk-0000003d", "TOUCH_MONITOR=1604690964.288") in new stack
  384.     -- Executing [s@macro-user-callerid:2] Set("PJSIP/Twilio_Trunk-0000003d", "AMPUSER=9735551212") in new stack
  385.     -- Executing [s@macro-user-callerid:3] Set("PJSIP/Twilio_Trunk-0000003d", "HOTDESCKCHAN=Twilio_Trunk-0000003d") in new stack
  386.     -- Executing [s@macro-user-callerid:4] Set("PJSIP/Twilio_Trunk-0000003d", "HOTDESKEXTEN=Twilio_Trunk") in new stack
  387.     -- Executing [s@macro-user-callerid:5] Set("PJSIP/Twilio_Trunk-0000003d", "HOTDESKCALL=0") in new stack
  388.     -- Executing [s@macro-user-callerid:6] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(HOTDESKCALL=1)") in new stack
  389.     -- Executing [s@macro-user-callerid:7] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(CALLERID(name)=)") in new stack
  390.     -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?report") in new stack
  391.     -- Executing [s@macro-user-callerid:9] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(REALCALLERIDNUM=9735551212)") in new stack
  392.     -- Executing [s@macro-user-callerid:10] Set("PJSIP/Twilio_Trunk-0000003d", "AMPUSER=") in new stack
  393.     -- Executing [s@macro-user-callerid:11] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?limit") in new stack
  394.     -- Executing [s@macro-user-callerid:12] Set("PJSIP/Twilio_Trunk-0000003d", "AMPUSERCIDNAME=") in new stack
  395.     -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  396.     -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?report") in new stack
  397.     -- Goto (macro-user-callerid,s,23)
  398.     -- Executing [s@macro-user-callerid:23] NoOp("PJSIP/Twilio_Trunk-0000003d", "Macro Depth is 1") in new stack
  399.     -- Executing [s@macro-user-callerid:24] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?report2:macroerror") in new stack
  400.     -- Goto (macro-user-callerid,s,25)
  401.     -- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?continue") in new stack
  402.     -- Executing [s@macro-user-callerid:26] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  403.     -- Executing [s@macro-user-callerid:27] Set("PJSIP/Twilio_Trunk-0000003d", "__TTL=64") in new stack
  404.     -- Executing [s@macro-user-callerid:28] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?continue") in new stack
  405.     -- Goto (macro-user-callerid,s,44)
  406.     -- Executing [s@macro-user-callerid:44] Set("PJSIP/Twilio_Trunk-0000003d", "CALLERID(number)=9735551212") in new stack
  407.     -- Executing [s@macro-user-callerid:45] Set("PJSIP/Twilio_Trunk-0000003d", "CALLERID(name)=9735551212") in new stack
  408.     -- Executing [s@macro-user-callerid:46] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?cnum") in new stack
  409.     -- Executing [s@macro-user-callerid:47] Set("PJSIP/Twilio_Trunk-0000003d", "CDR(cnam)=9735551212") in new stack
  410.     -- Executing [s@macro-user-callerid:48] Set("PJSIP/Twilio_Trunk-0000003d", "CDR(cnum)=9735551212") in new stack
  411.     -- Executing [s@macro-user-callerid:49] Set("PJSIP/Twilio_Trunk-0000003d", "CHANNEL(language)=en") in new stack
  412.     -- Executing [2001@followme-sub:3] Set("PJSIP/Twilio_Trunk-0000003d", "DIAL_OPTIONS=HhTtrI") in new stack
  413.     -- Executing [2001@followme-sub:4] Set("PJSIP/Twilio_Trunk-0000003d", "CONNECTEDLINE(num,i)=2001") in new stack
  414.     -- Executing [2001@followme-sub:5] Gosub("PJSIP/Twilio_Trunk-0000003d", "sub-presencestate-display,s,1(2001)") in new stack
  415.     -- Executing [s@sub-presencestate-display:1] Goto("PJSIP/Twilio_Trunk-0000003d", "state-available,1") in new stack
  416.     -- Goto (sub-presencestate-display,state-available,1)
  417.     -- Executing [state-available@sub-presencestate-display:1] Set("PJSIP/Twilio_Trunk-0000003d", "PRESENCESTATE_DISPLAY=(Available)") in new stack
  418.     -- Executing [state-available@sub-presencestate-display:2] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  419.     -- Executing [2001@followme-sub:6] Set("PJSIP/Twilio_Trunk-0000003d", "CONNECTEDLINE(name)=Bedroom(Available)") in new stack
  420.     -- Executing [2001@followme-sub:7] Set("PJSIP/Twilio_Trunk-0000003d", "FM_DIALSTATUS=NOT_INUSE") in new stack
  421.     -- Executing [2001@followme-sub:8] Set("PJSIP/Twilio_Trunk-0000003d", "__EXTTOCALL=2001") in new stack
  422.     -- Executing [2001@followme-sub:9] Set("PJSIP/Twilio_Trunk-0000003d", "__PICKUPMARK=2001") in new stack
  423.     -- Executing [2001@followme-sub:10] Macro("PJSIP/Twilio_Trunk-0000003d", "blkvm-setifempty,") in new stack
  424.     -- Executing [s@macro-blkvm-setifempty:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?init") in new stack
  425.     -- Goto (macro-blkvm-setifempty,s,4)
  426.     -- Executing [s@macro-blkvm-setifempty:4] Set("PJSIP/Twilio_Trunk-0000003d", "__BLKVM_CHANNEL=PJSIP/Twilio_Trunk-0000003d") in new stack
  427.     -- Executing [s@macro-blkvm-setifempty:5] Set("PJSIP/Twilio_Trunk-0000003d", "SHARED(BLKVM,PJSIP/Twilio_Trunk-0000003d)=TRUE") in new stack
  428.     -- Executing [s@macro-blkvm-setifempty:6] Set("PJSIP/Twilio_Trunk-0000003d", "GOSUB_RETVAL=TRUE") in new stack
  429.     -- Executing [s@macro-blkvm-setifempty:7] MacroExit("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  430.     -- Executing [2001@followme-sub:11] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?skipov") in new stack
  431.     -- Goto (followme-sub,2001,14)
  432.     -- Executing [2001@followme-sub:14] Set("PJSIP/Twilio_Trunk-0000003d", "RRNODEST=") in new stack
  433.     -- Executing [2001@followme-sub:15] Set("PJSIP/Twilio_Trunk-0000003d", "__NODEST=2001") in new stack
  434.     -- Executing [2001@followme-sub:16] GosubIf("PJSIP/Twilio_Trunk-0000003d", "0?sub-fmsetcid,s,1()") in new stack
  435.     -- Executing [2001@followme-sub:17] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?skipprepend") in new stack
  436.     -- Goto (followme-sub,2001,19)
  437.     -- Executing [2001@followme-sub:19] Set("PJSIP/Twilio_Trunk-0000003d", "RecordMethod=Group") in new stack
  438.     -- Executing [2001@followme-sub:20] Gosub("PJSIP/Twilio_Trunk-0000003d", "sub-record-check,s,1(exten,2001,)") in new stack
  439.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/Twilio_Trunk-0000003d", "10?initialized") in new stack
  440.     -- Goto (sub-record-check,s,10)
  441.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/Twilio_Trunk-0000003d", "Recordings initialized") in new stack
  442.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(ARG3=dontcare)") in new stack
  443.     -- Executing [s@sub-record-check:12] Set("PJSIP/Twilio_Trunk-0000003d", "REC_POLICY_MODE_SAVE=") in new stack
  444.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(REC_STATUS=NO)") in new stack
  445.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/Twilio_Trunk-0000003d", "5?checkaction") in new stack
  446.     -- Goto (sub-record-check,s,17)
  447.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?sub-record-check,exten,1") in new stack
  448.     -- Goto (sub-record-check,exten,1)
  449.     -- Executing [exten@sub-record-check:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Exten Recording Check between 9735551212 and 2001") in new stack
  450.     -- Executing [exten@sub-record-check:2] Set("PJSIP/Twilio_Trunk-0000003d", "CALLTYPE=external") in new stack
  451.     -- Executing [exten@sub-record-check:3] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(CALLTYPE=)") in new stack
  452.     -- Executing [exten@sub-record-check:4] Set("PJSIP/Twilio_Trunk-0000003d", "CALLEE=dontcare") in new stack
  453.     -- Executing [exten@sub-record-check:5] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(CALLEE=dontcare)") in new stack
  454.     -- Executing [exten@sub-record-check:6] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?callee") in new stack
  455.     -- Goto (sub-record-check,exten,11)
  456.     -- Executing [exten@sub-record-check:11] Gosub("PJSIP/Twilio_Trunk-0000003d", "recordcheck,1(dontcare,external,2001)") in new stack
  457.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Starting recording check against dontcare") in new stack
  458.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/Twilio_Trunk-0000003d", "dontcare") in new stack
  459.     -- Goto (sub-record-check,recordcheck,3)
  460.     -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  461.     -- Executing [exten@sub-record-check:12] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  462.     -- Executing [2001@followme-sub:21] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?skipdring") in new stack
  463.     -- Goto (followme-sub,2001,24)
  464.     -- Executing [2001@followme-sub:24] Set("PJSIP/Twilio_Trunk-0000003d", "STRATEGY=ringallv2-prim") in new stack
  465.     -- Executing [2001@followme-sub:25] Set("PJSIP/Twilio_Trunk-0000003d", "__RVOL=") in new stack
  466.     -- Executing [2001@followme-sub:26] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?skipsimple") in new stack
  467.     -- Goto (followme-sub,2001,29)
  468.     -- Executing [2001@followme-sub:29] Set("PJSIP/Twilio_Trunk-0000003d", "RingGroupMethod=ringallv2-prim") in new stack
  469.     -- Executing [2001@followme-sub:30] Set("PJSIP/Twilio_Trunk-0000003d", "_FMGRP=2001") in new stack
  470.     -- Executing [2001@followme-sub:31] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?DIALGRP") in new stack
  471.     -- Goto (followme-sub,2001,35)
  472.     -- Executing [2001@followme-sub:35] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(DOPTS=HhTtrI):Set(DOPTS=m(Ring)HhTtI)") in new stack
  473.     -- Executing [2001@followme-sub:36] Set("PJSIP/Twilio_Trunk-0000003d", "__ALT_CONFIRM_MSG=") in new stack
  474.     -- Executing [2001@followme-sub:37] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?doconfirm") in new stack
  475.     -- Executing [2001@followme-sub:38] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?ringallv21") in new stack
  476.     -- Goto (followme-sub,2001,41)
  477.     -- Executing [2001@followme-sub:41] Macro("PJSIP/Twilio_Trunk-0000003d", "dial,27,HhTtrI,2001-9735551212#") in new stack
  478.     -- Executing [s@macro-dial:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
  479.     -- Executing [s@macro-dial:2] Set("PJSIP/Twilio_Trunk-0000003d", "__CRM_SOURCE=9735551212") in new stack
  480.     -- Executing [s@macro-dial:3] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(ALERT_INFO=)") in new stack
  481.     -- Executing [s@macro-dial:4] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(ALERT_INFO=)") in new stack
  482.     -- Executing [s@macro-dial:5] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(ALERT_INFO=)") in new stack
  483.     -- Executing [s@macro-dial:6] ExecIf("PJSIP/Twilio_Trunk-0000003d", "1?Set(CHANNEL(musicclass)=OnHoldSong)") in new stack
  484.     -- Executing [s@macro-dial:7] AGI("PJSIP/Twilio_Trunk-0000003d", "agi://127.0.0.1/dialparties.agi") in new stack
  485.  agi://127.0.0.1/dialparties.agi: Starting New Dialparties.agi
  486.  agi://127.0.0.1/dialparties.agi: Caller ID name is '9735551212' number is '9735551212'
  487.  agi://127.0.0.1/dialparties.agi: CW Ignore is:
  488.  agi://127.0.0.1/dialparties.agi: CF Ignore is:
  489.  agi://127.0.0.1/dialparties.agi: CW IN_USE/BUSY is: 1
  490.  agi://127.0.0.1/dialparties.agi: Methodology of ring is  'ringallv2-prim'
  491.     -- agi://127.0.0.1/dialparties.agi: Added extension 2001 to extension map
  492.     -- agi://127.0.0.1/dialparties.agi: Added extension 9735551212# to extension map
  493.        > agi://127.0.0.1/dialparties.agi: got fmgrp_prering: 7, fmgrp_grptime: 20
  494.        > agi://127.0.0.1/dialparties.agi: fmgrp_totalprering: 27
  495.        > agi://127.0.0.1/dialparties.agi: found extension in pre-ring and array
  496.        > agi://127.0.0.1/dialparties.agi: ringallv2 ring times: REALPRERING: 27, PRERING: 7
  497.        > agi://127.0.0.1/dialparties.agi: Extension 9735551212# has call screening off
  498.     -- agi://127.0.0.1/dialparties.agi: Extension 2001 cf is disabled
  499.     -- agi://127.0.0.1/dialparties.agi: Extension 9735551212# cf is disabled
  500.     -- agi://127.0.0.1/dialparties.agi: Extension 2001 do not disturb is disabled
  501.        > agi://127.0.0.1/dialparties.agi: extnum 2001 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
  502.  agi://127.0.0.1/dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
  503.  agi://127.0.0.1/dialparties.agi: Extension 2001 has ExtensionState: 0
  504.     -- agi://127.0.0.1/dialparties.agi: dbset CALLTRACE/2001 to 9735551212
  505.        > agi://127.0.0.1/dialparties.agi: extnum 9735551212# has:  cw: 0; hascfb: 0 [] hascfu: 0 []
  506.        > agi://127.0.0.1/dialparties.agi: Built External dialstring component for 9735551212: Local/9735551212@from-internal/n
  507.     -- agi://127.0.0.1/dialparties.agi: Filtered ARG3: 2001-9735551212
  508.     -- agi://127.0.0.1/dialparties.agi: RING ALL V2 : 9735551212#
  509.        > agi://127.0.0.1/dialparties.agi: NODEST: 2001 adding M(auto-blkvm) to dialopts: HhTtrIM(auto-blkvm)
  510.        > agi://127.0.0.1/dialparties.agi: NODEST: 2001 blkvm enabled macro already in dialopts: HhTtrIM(auto-blkvm)
  511.  agi://127.0.0.1/dialparties.agi: RVOL_MODE ''
  512.  agi://127.0.0.1/dialparties.agi: RVOL is:
  513.  agi://127.0.0.1/dialparties.agi: RVOLPARENT is:
  514.     -- <PJSIP/Twilio_Trunk-0000003d>AGI Script agi://127.0.0.1/dialparties.agi completed, returning 0
  515.     -- Executing [s@macro-dial:8] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?normdial") in new stack
  516.     -- Goto (macro-dial,s,11)
  517.     -- Executing [s@macro-dial:11] NoOp("PJSIP/Twilio_Trunk-0000003d", "Returned from dialparties with groups to dial") in new stack
  518.     -- Executing [s@macro-dial:12] NoOp("PJSIP/Twilio_Trunk-0000003d", "ringall array 9735551212# ") in new stack
  519.     -- Executing [s@macro-dial:13] Set("PJSIP/Twilio_Trunk-0000003d", "__FMGL_DIAL=9735551212#") in new stack
  520.     -- Executing [s@macro-dial:14] Set("PJSIP/Twilio_Trunk-0000003d", "LOOPCNT=2") in new stack
  521.     -- Executing [s@macro-dial:15] Set("PJSIP/Twilio_Trunk-0000003d", "ITER=1") in new stack
  522.     -- Executing [s@macro-dial:16] Set("PJSIP/Twilio_Trunk-0000003d", "__EXTTOCALL=2001") in new stack
  523.     -- Executing [s@macro-dial:17] NoOp("PJSIP/Twilio_Trunk-0000003d", "Working with 2001") in new stack
  524.     -- Executing [s@macro-dial:18] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  525.     -- Executing [s@macro-dial:19] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  526.     -- Executing [s@macro-dial:20] Set("PJSIP/Twilio_Trunk-0000003d", "ITER=2") in new stack
  527.     -- Executing [s@macro-dial:21] GotoIf("PJSIP/Twilio_Trunk-0000003d", "1?ndloopbegin") in new stack
  528.     -- Goto (macro-dial,s,16)
  529.     -- Executing [s@macro-dial:16] Set("PJSIP/Twilio_Trunk-0000003d", "__EXTTOCALL=9735551212") in new stack
  530.     -- Executing [s@macro-dial:17] NoOp("PJSIP/Twilio_Trunk-0000003d", "Working with 9735551212") in new stack
  531.     -- Executing [s@macro-dial:18] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  532.     -- Executing [s@macro-dial:19] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  533.     -- Executing [s@macro-dial:20] Set("PJSIP/Twilio_Trunk-0000003d", "ITER=3") in new stack
  534.     -- Executing [s@macro-dial:21] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?ndloopbegin") in new stack
  535.     -- Executing [s@macro-dial:22] Macro("PJSIP/Twilio_Trunk-0000003d", "dial-ringall-predial-hook,") in new stack
  536.     -- Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  537.     -- Executing [s@macro-dial:23] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
  538.     -- Executing [s@macro-dial:24] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(ds=Local/FMPR-2001@from-internal&Local/FMGL-9735551212#@from-internal,27,HhtrIM(auto-blkvm)g)") in new stack
  539.     -- Executing [s@macro-dial:25] Dial("PJSIP/Twilio_Trunk-0000003d", "Local/FMPR-2001@from-internal&Local/FMGL-9735551212#@from-internal,27,HhtrIM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
  540.     -- Local/FMPR-2001@from-internal-00000063;1 Internal Gosub(func-apply-sipheaders,s,1) start
  541.     -- Executing [s@func-apply-sipheaders:1] ExecIf("Local/FMPR-2001@from-internal-00000063;1", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  542.     -- Executing [s@func-apply-sipheaders:2] NoOp("Local/FMPR-2001@from-internal-00000063;1", "Applying SIP Headers to channel Local/FMPR-2001@from-internal-00000063;1") in new stack
  543.     -- Executing [s@func-apply-sipheaders:3] Set("Local/FMPR-2001@from-internal-00000063;1", "TECH=Local") in new stack
  544.     -- Executing [s@func-apply-sipheaders:4] Set("Local/FMPR-2001@from-internal-00000063;1", "SIPHEADERKEYS=") in new stack
  545.     -- Executing [s@func-apply-sipheaders:5] While("Local/FMPR-2001@from-internal-00000063;1", "0") in new stack
  546.     -- Jumping to priority 13
  547.     -- Executing [s@func-apply-sipheaders:14] Return("Local/FMPR-2001@from-internal-00000063;1", "") in new stack
  548.   == Spawn extension (from-internal, 2001, 1) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;1'
  549.     -- Local/FMPR-2001@from-internal-00000063;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  550.     -- Local/FMGL-9735551212#@from-internal-00000064;1 Internal Gosub(func-apply-sipheaders,s,1) start
  551.     -- Executing [s@func-apply-sipheaders:1] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;1", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  552.     -- Executing [s@func-apply-sipheaders:2] NoOp("Local/FMGL-9735551212#@from-internal-00000064;1", "Applying SIP Headers to channel Local/FMGL-9735551212#@from-internal-00000064;1") in new stack
  553.     -- Executing [s@func-apply-sipheaders:3] Set("Local/FMGL-9735551212#@from-internal-00000064;1", "TECH=Local") in new stack
  554.     -- Executing [s@func-apply-sipheaders:4] Set("Local/FMGL-9735551212#@from-internal-00000064;1", "SIPHEADERKEYS=") in new stack
  555.     -- Executing [s@func-apply-sipheaders:5] While("Local/FMGL-9735551212#@from-internal-00000064;1", "0") in new stack
  556.     -- Jumping to priority 13
  557.     -- Executing [s@func-apply-sipheaders:14] Return("Local/FMGL-9735551212#@from-internal-00000064;1", "") in new stack
  558.   == Spawn extension (from-internal, 2001, 1) exited non-zero on 'Local/FMGL-9735551212#@from-internal-00000064;1'
  559.     -- Local/FMGL-9735551212#@from-internal-00000064;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  560.     -- Called Local/FMPR-2001@from-internal
  561.     -- Called Local/FMGL-9735551212#@from-internal
  562.     -- Executing [FMGL-9735551212#@from-internal:1] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "CDR_PROP(disable)=true") in new stack
  563.     -- Executing [FMPR-2001@from-internal:1] Set("Local/FMPR-2001@from-internal-00000063;2", "CDR_PROP(disable)=true") in new stack
  564.     -- Executing [FMGL-9735551212#@from-internal:2] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "DIALNUMS=9735551212#") in new stack
  565.     -- Executing [FMGL-9735551212#@from-internal:3] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "ENDLOOP=1604690980") in new stack
  566.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  567.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  568.     -- Executing [FMPR-2001@from-internal:2] Set("Local/FMPR-2001@from-internal-00000063;2", "RingGroupMethod=") in new stack
  569.     -- Executing [FMPR-2001@from-internal:3] Set("Local/FMPR-2001@from-internal-00000063;2", "USE_CONFIRMATION=") in new stack
  570.     -- Executing [FMPR-2001@from-internal:4] Set("Local/FMPR-2001@from-internal-00000063;2", "RINGGROUP_INDEX=") in new stack
  571.     -- Executing [FMPR-2001@from-internal:5] Macro("Local/FMPR-2001@from-internal-00000063;2", "simple-dial,2001,27") in new stack
  572.     -- Executing [s@macro-simple-dial:1] Set("Local/FMPR-2001@from-internal-00000063;2", "__EXTTOCALL=2001") in new stack
  573.     -- Executing [s@macro-simple-dial:2] Set("Local/FMPR-2001@from-internal-00000063;2", "RT=27") in new stack
  574.     -- Executing [s@macro-simple-dial:3] Set("Local/FMPR-2001@from-internal-00000063;2", "CFUEXT=") in new stack
  575.     -- Executing [s@macro-simple-dial:4] Set("Local/FMPR-2001@from-internal-00000063;2", "CFBEXT=") in new stack
  576.     -- Executing [s@macro-simple-dial:5] Set("Local/FMPR-2001@from-internal-00000063;2", "CWI_TMP=") in new stack
  577.     -- Executing [s@macro-simple-dial:6] Macro("Local/FMPR-2001@from-internal-00000063;2", "dial-one,27,HhTtr,2001") in new stack
  578.     -- Executing [s@macro-dial-one:1] Set("Local/FMPR-2001@from-internal-00000063;2", "DEXTEN=2001") in new stack
  579.     -- Executing [s@macro-dial-one:2] Set("Local/FMPR-2001@from-internal-00000063;2", "__CRM_SOURCE=9735551212") in new stack
  580.     -- Executing [s@macro-dial-one:3] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(__EXTTOCALL=2001)") in new stack
  581.     -- Executing [s@macro-dial-one:4] Set("Local/FMPR-2001@from-internal-00000063;2", "DIALSTATUS_CW=") in new stack
  582.     -- Executing [s@macro-dial-one:5] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "0?screen,1()") in new stack
  583.     -- Executing [s@macro-dial-one:6] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "0?cf,1()") in new stack
  584.     -- Executing [s@macro-dial-one:7] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "1?skip1") in new stack
  585.     -- Goto (macro-dial-one,s,10)
  586.     -- Executing [s@macro-dial-one:10] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?nodial") in new stack
  587.     -- Executing [s@macro-dial-one:11] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?continue") in new stack
  588.     -- Executing [s@macro-dial-one:12] Set("Local/FMPR-2001@from-internal-00000063;2", "EXTHASCW=ENABLED") in new stack
  589.     -- Executing [s@macro-dial-one:13] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?next1:cwinusebusy") in new stack
  590.     -- Goto (macro-dial-one,s,25)
  591.     -- Executing [s@macro-dial-one:25] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?next3:continue") in new stack
  592.     -- Goto (macro-dial-one,s,27)
  593.     -- Executing [s@macro-dial-one:27] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?nodial") in new stack
  594.     -- Executing [s@macro-dial-one:28] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "1?dstring,1():dlocal,1()") in new stack
  595.     -- Executing [dstring@macro-dial-one:1] Set("Local/FMPR-2001@from-internal-00000063;2", "DSTRING=") in new stack
  596.     -- Executing [dstring@macro-dial-one:2] Set("Local/FMPR-2001@from-internal-00000063;2", "DEVICES=2001") in new stack
  597.     -- Executing [dstring@macro-dial-one:3] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Return()") in new stack
  598.     -- Executing [dstring@macro-dial-one:4] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(DEVICES=001)") in new stack
  599.     -- Executing [dstring@macro-dial-one:5] Set("Local/FMPR-2001@from-internal-00000063;2", "LOOPCNT=1") in new stack
  600.     -- Executing [dstring@macro-dial-one:6] Set("Local/FMPR-2001@from-internal-00000063;2", "ITER=1") in new stack
  601.     -- Executing [dstring@macro-dial-one:7] Set("Local/FMPR-2001@from-internal-00000063;2", "THISDIAL=SCCP/2001") in new stack
  602.     -- Executing [dstring@macro-dial-one:8] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "1?docheck") in new stack
  603.     -- Goto (macro-dial-one,dstring,14)
  604.     -- Executing [dstring@macro-dial-one:14] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?skipset") in new stack
  605.     -- Executing [dstring@macro-dial-one:15] Set("Local/FMPR-2001@from-internal-00000063;2", "DSTRING=SCCP/2001&") in new stack
  606.     -- Executing [dstring@macro-dial-one:16] Set("Local/FMPR-2001@from-internal-00000063;2", "ITER=2") in new stack
  607.     -- Executing [dstring@macro-dial-one:17] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?begin") in new stack
  608.     -- Executing [dstring@macro-dial-one:18] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Return()") in new stack
  609.     -- Executing [dstring@macro-dial-one:19] Set("Local/FMPR-2001@from-internal-00000063;2", "DSTRING=SCCP/2001") in new stack
  610.     -- Executing [dstring@macro-dial-one:20] Return("Local/FMPR-2001@from-internal-00000063;2", "") in new stack
  611.     -- Executing [s@macro-dial-one:29] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?nodial") in new stack
  612.     -- Executing [s@macro-dial-one:30] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?skiptrace") in new stack
  613.     -- Executing [s@macro-dial-one:31] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "1?ctset,1():ctclear,1()") in new stack
  614.     -- Executing [ctset@macro-dial-one:1] Set("Local/FMPR-2001@from-internal-00000063;2", "DB(CALLTRACE/2001)=9735551212") in new stack
  615.     -- Executing [ctset@macro-dial-one:2] Return("Local/FMPR-2001@from-internal-00000063;2", "") in new stack
  616.     -- Executing [s@macro-dial-one:32] Set("Local/FMPR-2001@from-internal-00000063;2", "D_OPTIONS=HhTtrM(auto-blkvm)") in new stack
  617.     -- Executing [s@macro-dial-one:33] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
  618.     -- Executing [s@macro-dial-one:34] NoOp("Local/FMPR-2001@from-internal-00000063;2", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
  619.     -- Executing [s@macro-dial-one:35] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(ALERT_INFO=)") in new stack
  620.     -- Executing [s@macro-dial-one:36] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(ALERT_INFO=)") in new stack
  621.     -- Executing [s@macro-dial-one:37] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(ALERT_INFO=)") in new stack
  622.     -- Executing [s@macro-dial-one:38] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
  623.     -- Executing [s@macro-dial-one:39] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
  624.     -- Executing [s@macro-dial-one:40] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
  625.     -- Executing [s@macro-dial-one:41] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "1?Set(CHANNEL(musicclass)=OnHoldSong)") in new stack
  626.     -- Executing [s@macro-dial-one:42] GosubIf("Local/FMPR-2001@from-internal-00000063;2", "0?qwait,1()") in new stack
  627.     -- Executing [s@macro-dial-one:43] Set("Local/FMPR-2001@from-internal-00000063;2", "__CWIGNORE=") in new stack
  628.     -- Executing [s@macro-dial-one:44] Set("Local/FMPR-2001@from-internal-00000063;2", "__KEEPCID=TRUE") in new stack
  629.     -- Executing [s@macro-dial-one:45] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "0?usegoto,1") in new stack
  630.     -- Executing [s@macro-dial-one:46] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "1?godial") in new stack
  631.     -- Goto (macro-dial-one,s,51)
  632.     -- Executing [s@macro-dial-one:51] Macro("Local/FMPR-2001@from-internal-00000063;2", "dialout-one-predial-hook,") in new stack
  633.     -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("Local/FMPR-2001@from-internal-00000063;2", "") in new stack
  634.     -- Executing [s@macro-dial-one:52] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "1?Set(D_OPTIONS=HhtrM(auto-blkvm)I)") in new stack
  635.     -- Executing [s@macro-dial-one:53] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
  636.     -- Executing [s@macro-dial-one:54] NoOp("Local/FMPR-2001@from-internal-00000063;2", "") in new stack
  637.     -- Executing [s@macro-dial-one:55] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(D_OPTIONS=HhtrM(auto-blkvm)Ig)") in new stack
  638.     -- Executing [s@macro-dial-one:56] Dial("Local/FMPR-2001@from-internal-00000063;2", "SCCP/2001,27,HhtrM(auto-blkvm)Ib(func-apply-sipheaders^s^1)") in new stack
  639.     -- SCCP/2001-0000001E Internal Gosub(func-apply-sipheaders,s,1) start
  640.     -- Executing [s@func-apply-sipheaders:1] ExecIf("SCCP/2001-0000001E", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  641.     -- Executing [s@func-apply-sipheaders:2] NoOp("SCCP/2001-0000001E", "Applying SIP Headers to channel SCCP/2001-0000001E") in new stack
  642.     -- Executing [s@func-apply-sipheaders:3] Set("SCCP/2001-0000001E", "TECH=SCCP") in new stack
  643.     -- Executing [s@func-apply-sipheaders:4] Set("SCCP/2001-0000001E", "SIPHEADERKEYS=") in new stack
  644.     -- Executing [s@func-apply-sipheaders:5] While("SCCP/2001-0000001E", "0") in new stack
  645.     -- Jumping to priority 13
  646.     -- Executing [s@func-apply-sipheaders:14] Return("SCCP/2001-0000001E", "") in new stack
  647.   == Spawn extension (from-internal, FMPR-2001, 1) exited non-zero on 'SCCP/2001-0000001E'
  648.     -- SCCP/2001-0000001E Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  649.     -- Called SCCP/2001
  650.     -- SCCP/2001-0000001E is ringing
  651.     -- Local/FMPR-2001@from-internal-00000063;1 is ringing
  652.     -- Local/FMPR-2001@from-internal-00000063;1 is ringing
  653.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  654.     -- Goto (from-internal,FMGL-9735551212#,4)
  655.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  656.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  657. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  658. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  659. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  660. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  661. To: <sip:twilio_login@company.pstn.twilio.com>
  662. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  663. CSeq: 49209 REGISTER
  664. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  665. Expires: 3600
  666. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  667. Max-Forwards: 70
  668. User-Agent: FPBX-15.0.16.77(16.13.0)
  669. Content-Length:  0
  670.  
  671.  
  672.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  673.     -- Goto (from-internal,FMGL-9735551212#,4)
  674.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  675.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  676.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  677.     -- Goto (from-internal,FMGL-9735551212#,4)
  678.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  679.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  680.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  681.     -- Goto (from-internal,FMGL-9735551212#,4)
  682.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  683.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  684.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  685.     -- Goto (from-internal,FMGL-9735551212#,4)
  686.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  687.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  688. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  689. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  690. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  691. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  692. To: <sip:twilio_login@company.pstn.twilio.com>
  693. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  694. CSeq: 49209 REGISTER
  695. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  696. Expires: 3600
  697. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  698. Max-Forwards: 70
  699. User-Agent: FPBX-15.0.16.77(16.13.0)
  700. Content-Length:  0
  701.  
  702.  
  703.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?start") in new stack
  704.     -- Goto (from-internal,FMGL-9735551212#,4)
  705.     -- Executing [FMGL-9735551212#@from-internal:4] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?dodnd") in new stack
  706.     -- Executing [FMGL-9735551212#@from-internal:5] Wait("Local/FMGL-9735551212#@from-internal-00000064;2", "1") in new stack
  707.     -- Executing [FMGL-9735551212#@from-internal:6] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?start") in new stack
  708.     -- Executing [FMGL-9735551212#@from-internal:7] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "SHARED(FM_DND,PJSIP/Twilio_Trunk-0000003d)=") in new stack
  709.     -- Executing [FMGL-9735551212#@from-internal:8] Macro("Local/FMGL-9735551212#@from-internal-00000064;2", "dial,20,HhTtr,9735551212#") in new stack
  710.     -- Executing [s@macro-dial:1] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
  711.     -- Executing [s@macro-dial:2] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "__CRM_SOURCE=9735551212") in new stack
  712.     -- Executing [s@macro-dial:3] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(ALERT_INFO=)") in new stack
  713.     -- Executing [s@macro-dial:4] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(ALERT_INFO=)") in new stack
  714.     -- Executing [s@macro-dial:5] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(ALERT_INFO=)") in new stack
  715.     -- Executing [s@macro-dial:6] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?Set(CHANNEL(musicclass)=OnHoldSong)") in new stack
  716.     -- Executing [s@macro-dial:7] AGI("Local/FMGL-9735551212#@from-internal-00000064;2", "agi://127.0.0.1/dialparties.agi") in new stack
  717.  agi://127.0.0.1/dialparties.agi: Starting New Dialparties.agi
  718.  agi://127.0.0.1/dialparties.agi: Caller ID name is '9735551212' number is '9735551212'
  719.  agi://127.0.0.1/dialparties.agi: CW Ignore is:
  720.  agi://127.0.0.1/dialparties.agi: CF Ignore is:
  721.  agi://127.0.0.1/dialparties.agi: CW IN_USE/BUSY is: 1
  722.  agi://127.0.0.1/dialparties.agi: Methodology of ring is  'ringall'
  723.     -- agi://127.0.0.1/dialparties.agi: Added extension 9735551212# to extension map
  724.     -- agi://127.0.0.1/dialparties.agi: Extension 9735551212# cf is disabled
  725.        > agi://127.0.0.1/dialparties.agi: extnum 9735551212# has:  cw: 0; hascfb: 0 [] hascfu: 0 []
  726.        > agi://127.0.0.1/dialparties.agi: Built External dialstring component for 9735551212: Local/9735551212@from-internal/n
  727.     -- agi://127.0.0.1/dialparties.agi: Filtered ARG3: 9735551212
  728.        > agi://127.0.0.1/dialparties.agi: NODEST: 2001 adding M(auto-blkvm) to dialopts: HhTtrM(auto-blkvm)
  729.        > agi://127.0.0.1/dialparties.agi: NODEST: 2001 blkvm enabled macro already in dialopts: HhTtrM(auto-blkvm)
  730.  agi://127.0.0.1/dialparties.agi: RVOL_MODE ''
  731.  agi://127.0.0.1/dialparties.agi: RVOL is:
  732.  agi://127.0.0.1/dialparties.agi: RVOLPARENT is:
  733.     -- <Local/FMGL-9735551212#@from-internal-00000064;2>AGI Script agi://127.0.0.1/dialparties.agi completed, returning 0
  734.     -- Executing [s@macro-dial:8] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?normdial") in new stack
  735.     -- Goto (macro-dial,s,11)
  736.     -- Executing [s@macro-dial:11] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", "Returned from dialparties with groups to dial") in new stack
  737.     -- Executing [s@macro-dial:12] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", "ringall array 9735551212# ") in new stack
  738.     -- Executing [s@macro-dial:13] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "__FMGL_DIAL=9735551212#") in new stack
  739.     -- Executing [s@macro-dial:14] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "LOOPCNT=1") in new stack
  740.     -- Executing [s@macro-dial:15] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "ITER=1") in new stack
  741.     -- Executing [s@macro-dial:16] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "__EXTTOCALL=9735551212") in new stack
  742.     -- Executing [s@macro-dial:17] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", "Working with 9735551212") in new stack
  743.     -- Executing [s@macro-dial:18] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  744.     -- Executing [s@macro-dial:19] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  745.     -- Executing [s@macro-dial:20] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "ITER=2") in new stack
  746.     -- Executing [s@macro-dial:21] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?ndloopbegin") in new stack
  747.     -- Executing [s@macro-dial:22] Macro("Local/FMGL-9735551212#@from-internal-00000064;2", "dial-ringall-predial-hook,") in new stack
  748.     -- Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("Local/FMGL-9735551212#@from-internal-00000064;2", "") in new stack
  749.     -- Executing [s@macro-dial:23] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
  750.     -- Executing [s@macro-dial:24] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(ds=Local/9735551212@from-internal/n,20,HhtrM(auto-blkvm)g)") in new stack
  751.     -- Executing [s@macro-dial:25] Dial("Local/FMGL-9735551212#@from-internal-00000064;2", "Local/9735551212@from-internal/n,20,HhtrM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
  752.     -- Local/9735551212@from-internal-00000065;1 Internal Gosub(func-apply-sipheaders,s,1) start
  753.     -- Executing [s@func-apply-sipheaders:1] ExecIf("Local/9735551212@from-internal-00000065;1", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  754.     -- Executing [s@func-apply-sipheaders:2] NoOp("Local/9735551212@from-internal-00000065;1", "Applying SIP Headers to channel Local/9735551212@from-internal-00000065;1") in new stack
  755.     -- Executing [s@func-apply-sipheaders:3] Set("Local/9735551212@from-internal-00000065;1", "TECH=Local") in new stack
  756.     -- Executing [s@func-apply-sipheaders:4] Set("Local/9735551212@from-internal-00000065;1", "SIPHEADERKEYS=") in new stack
  757.     -- Executing [s@func-apply-sipheaders:5] While("Local/9735551212@from-internal-00000065;1", "0") in new stack
  758.     -- Jumping to priority 13
  759.     -- Executing [s@func-apply-sipheaders:14] Return("Local/9735551212@from-internal-00000065;1", "") in new stack
  760.   == Spawn extension (from-internal, FMGL-9735551212#, 1) exited non-zero on 'Local/9735551212@from-internal-00000065;1'
  761.     -- Local/9735551212@from-internal-00000065;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  762.     -- Called Local/9735551212@from-internal/n
  763.     -- Local/FMGL-9735551212#@from-internal-00000064;1 is ringing
  764.     -- Executing [9735551212@from-internal:1] Macro("Local/9735551212@from-internal-00000065;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  765.     -- Executing [s@macro-user-callerid:1] Set("Local/9735551212@from-internal-00000065;2", "TOUCH_MONITOR=1604690980.295") in new stack
  766.     -- Executing [s@macro-user-callerid:2] Set("Local/9735551212@from-internal-00000065;2", "AMPUSER=9735551212") in new stack
  767.     -- Executing [s@macro-user-callerid:3] Set("Local/9735551212@from-internal-00000065;2", "HOTDESCKCHAN=9735551212@from-internal-00000065;2") in new stack
  768.     -- Executing [s@macro-user-callerid:4] Set("Local/9735551212@from-internal-00000065;2", "HOTDESKEXTEN=9735551212@from") in new stack
  769.     -- Executing [s@macro-user-callerid:5] Set("Local/9735551212@from-internal-00000065;2", "HOTDESKCALL=0") in new stack
  770.     -- Executing [s@macro-user-callerid:6] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(HOTDESKCALL=1)") in new stack
  771.     -- Executing [s@macro-user-callerid:7] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(name)=)") in new stack
  772.     -- Executing [s@macro-user-callerid:8] GotoIf("Local/9735551212@from-internal-00000065;2", "0?report") in new stack
  773.     -- Executing [s@macro-user-callerid:9] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(REALCALLERIDNUM=9735551212)") in new stack
  774.     -- Executing [s@macro-user-callerid:10] Set("Local/9735551212@from-internal-00000065;2", "AMPUSER=") in new stack
  775.     -- Executing [s@macro-user-callerid:11] GotoIf("Local/9735551212@from-internal-00000065;2", "0?limit") in new stack
  776.     -- Executing [s@macro-user-callerid:12] Set("Local/9735551212@from-internal-00000065;2", "AMPUSERCIDNAME=") in new stack
  777.     -- Executing [s@macro-user-callerid:13] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  778.     -- Executing [s@macro-user-callerid:14] GotoIf("Local/9735551212@from-internal-00000065;2", "1?report") in new stack
  779.     -- Goto (macro-user-callerid,s,23)
  780.     -- Executing [s@macro-user-callerid:23] NoOp("Local/9735551212@from-internal-00000065;2", "Macro Depth is 1") in new stack
  781.     -- Executing [s@macro-user-callerid:24] GotoIf("Local/9735551212@from-internal-00000065;2", "1?report2:macroerror") in new stack
  782.     -- Goto (macro-user-callerid,s,25)
  783.     -- Executing [s@macro-user-callerid:25] GotoIf("Local/9735551212@from-internal-00000065;2", "1?continue") in new stack
  784.     -- Goto (macro-user-callerid,s,44)
  785.     -- Executing [s@macro-user-callerid:44] Set("Local/9735551212@from-internal-00000065;2", "CALLERID(number)=9735551212") in new stack
  786.     -- Executing [s@macro-user-callerid:45] Set("Local/9735551212@from-internal-00000065;2", "CALLERID(name)=9735551212") in new stack
  787.     -- Executing [s@macro-user-callerid:46] GotoIf("Local/9735551212@from-internal-00000065;2", "0?cnum") in new stack
  788.     -- Executing [s@macro-user-callerid:47] Set("Local/9735551212@from-internal-00000065;2", "CDR(cnam)=9735551212") in new stack
  789.     -- Executing [s@macro-user-callerid:48] Set("Local/9735551212@from-internal-00000065;2", "CDR(cnum)=9735551212") in new stack
  790.     -- Executing [s@macro-user-callerid:49] Set("Local/9735551212@from-internal-00000065;2", "CHANNEL(language)=en") in new stack
  791.     -- Executing [9735551212@from-internal:2] Gosub("Local/9735551212@from-internal-00000065;2", "sub-record-check,s,1(out,9735551212,dontcare)") in new stack
  792.     -- Executing [s@sub-record-check:1] GotoIf("Local/9735551212@from-internal-00000065;2", "0?initialized") in new stack
  793.     -- Executing [s@sub-record-check:2] Set("Local/9735551212@from-internal-00000065;2", "__REC_STATUS=INITIALIZED") in new stack
  794.     -- Executing [s@sub-record-check:3] Set("Local/9735551212@from-internal-00000065;2", "NOW=1604690980") in new stack
  795.     -- Executing [s@sub-record-check:4] Set("Local/9735551212@from-internal-00000065;2", "__DAY=06") in new stack
  796.     -- Executing [s@sub-record-check:5] Set("Local/9735551212@from-internal-00000065;2", "__MONTH=11") in new stack
  797.     -- Executing [s@sub-record-check:6] Set("Local/9735551212@from-internal-00000065;2", "__YEAR=2020") in new stack
  798.     -- Executing [s@sub-record-check:7] Set("Local/9735551212@from-internal-00000065;2", "__TIMESTR=20201106-142940") in new stack
  799.     -- Executing [s@sub-record-check:8] Set("Local/9735551212@from-internal-00000065;2", "__FROMEXTEN=9735551212") in new stack
  800.     -- Executing [s@sub-record-check:9] Set("Local/9735551212@from-internal-00000065;2", "__MON_FMT=wav") in new stack
  801.     -- Executing [s@sub-record-check:10] NoOp("Local/9735551212@from-internal-00000065;2", "Recordings initialized") in new stack
  802.     -- Executing [s@sub-record-check:11] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(ARG3=dontcare)") in new stack
  803.     -- Executing [s@sub-record-check:12] Set("Local/9735551212@from-internal-00000065;2", "REC_POLICY_MODE_SAVE=") in new stack
  804.     -- Executing [s@sub-record-check:13] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(REC_STATUS=NO)") in new stack
  805.     -- Executing [s@sub-record-check:14] GotoIf("Local/9735551212@from-internal-00000065;2", "3?checkaction") in new stack
  806.     -- Goto (sub-record-check,s,17)
  807.     -- Executing [s@sub-record-check:17] GotoIf("Local/9735551212@from-internal-00000065;2", "1?sub-record-check,out,1") in new stack
  808.     -- Goto (sub-record-check,out,1)
  809.     -- Executing [out@sub-record-check:1] NoOp("Local/9735551212@from-internal-00000065;2", "Outbound Recording Check from 9735551212 to 9735551212") in new stack
  810.     -- Executing [out@sub-record-check:2] Set("Local/9735551212@from-internal-00000065;2", "RECMODE=") in new stack
  811.     -- Executing [out@sub-record-check:3] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Goto(routewins)") in new stack
  812.     -- Goto (sub-record-check,out,7)
  813.     -- Executing [out@sub-record-check:7] Gosub("Local/9735551212@from-internal-00000065;2", "recordcheck,1(dontcare,out,9735551212)") in new stack
  814.     -- Executing [recordcheck@sub-record-check:1] NoOp("Local/9735551212@from-internal-00000065;2", "Starting recording check against dontcare") in new stack
  815.     -- Executing [recordcheck@sub-record-check:2] Goto("Local/9735551212@from-internal-00000065;2", "dontcare") in new stack
  816.     -- Goto (sub-record-check,recordcheck,3)
  817.     -- Executing [recordcheck@sub-record-check:3] Return("Local/9735551212@from-internal-00000065;2", "") in new stack
  818.     -- Executing [out@sub-record-check:8] Return("Local/9735551212@from-internal-00000065;2", "") in new stack
  819.     -- Executing [9735551212@from-internal:3] ExecIf("Local/9735551212@from-internal-00000065;2", "0 ?Set(CDR(accountcode)=)") in new stack
  820.     -- Executing [9735551212@from-internal:4] Set("Local/9735551212@from-internal-00000065;2", "_ROUTEID=2") in new stack
  821.     -- Executing [9735551212@from-internal:5] Set("Local/9735551212@from-internal-00000065;2", "_ROUTENAME=PBX to Trunk") in new stack
  822.     -- Executing [9735551212@from-internal:6] Set("Local/9735551212@from-internal-00000065;2", "MOHCLASS=OnHoldSong") in new stack
  823.     -- Executing [9735551212@from-internal:7] Set("Local/9735551212@from-internal-00000065;2", "_CALLERIDNAMEINTERNAL=9735551212") in new stack
  824.     -- Executing [9735551212@from-internal:8] Set("Local/9735551212@from-internal-00000065;2", "_CALLERIDNUMINTERNAL=9735551212") in new stack
  825.     -- Executing [9735551212@from-internal:9] Set("Local/9735551212@from-internal-00000065;2", "_EMAILNOTIFICATION=FALSE") in new stack
  826.     -- Executing [9735551212@from-internal:10] Set("Local/9735551212@from-internal-00000065;2", "_NODEST=") in new stack
  827.     -- Executing [9735551212@from-internal:11] Gosub("Local/9735551212@from-internal-00000065;2", "sub-send-obroute-email,s,1(+19735551212,9735551212,,1604690980,9735551212,9735551212)") in new stack
  828.     -- Executing [s@sub-send-obroute-email:1] GotoIf("Local/9735551212@from-internal-00000065;2", "0?sendEmail") in new stack
  829.     -- Executing [s@sub-send-obroute-email:2] NoOp("Local/9735551212@from-internal-00000065;2", "email notifications disabled..exiting.") in new stack
  830.     -- Executing [s@sub-send-obroute-email:3] Return("Local/9735551212@from-internal-00000065;2", "") in new stack
  831.     -- Executing [9735551212@from-internal:12] Macro("Local/9735551212@from-internal-00000065;2", "dialout-trunk,1,+19735551212,,off") in new stack
  832.     -- Executing [s@macro-dialout-trunk:1] Set("Local/9735551212@from-internal-00000065;2", "DIAL_TRUNK=1") in new stack
  833.     -- Executing [s@macro-dialout-trunk:2] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(DIAL_OPTIONS=Hhtr)") in new stack
  834.     -- Executing [s@macro-dialout-trunk:3] GosubIf("Local/9735551212@from-internal-00000065;2", "0?sub-pincheck,s,1()") in new stack
  835.     -- Executing [s@macro-dialout-trunk:4] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(num)=)") in new stack
  836.     -- Executing [s@macro-dialout-trunk:5] GotoIf("Local/9735551212@from-internal-00000065;2", "0?disabletrunk,1") in new stack
  837.     -- Executing [s@macro-dialout-trunk:6] Set("Local/9735551212@from-internal-00000065;2", "DIAL_NUMBER=+19735551212") in new stack
  838.     -- Executing [s@macro-dialout-trunk:7] Set("Local/9735551212@from-internal-00000065;2", "DIAL_TRUNK_OPTIONS=Hhtr") in new stack
  839.     -- Executing [s@macro-dialout-trunk:8] Set("Local/9735551212@from-internal-00000065;2", "OUTBOUND_GROUP=OUT_1") in new stack
  840.     -- Executing [s@macro-dialout-trunk:9] Set("Local/9735551212@from-internal-00000065;2", "DIAL_TRUNK_OPTIONS=T") in new stack
  841.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/9735551212@from-internal-00000065;2", "1?nomax") in new stack
  842.     -- Goto (macro-dialout-trunk,s,12)
  843.     -- Executing [s@macro-dialout-trunk:12] GotoIf("Local/9735551212@from-internal-00000065;2", "0?skipoutcid") in new stack
  844.     -- Executing [s@macro-dialout-trunk:13] Macro("Local/9735551212@from-internal-00000065;2", "outbound-callerid,1") in new stack
  845.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/9735551212@from-internal-00000065;2", "9735551212") in new stack
  846.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/9735551212@from-internal-00000065;2", "TRUE") in new stack
  847.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/9735551212@from-internal-00000065;2", "off") in new stack
  848.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
  849.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
  850.     -- Executing [s@macro-outbound-callerid:6] Set("Local/9735551212@from-internal-00000065;2", "HOTDESCKCHAN=9735551212@from-internal-00000065;2") in new stack
  851.     -- Executing [s@macro-outbound-callerid:7] Set("Local/9735551212@from-internal-00000065;2", "HOTDESKEXTEN=9735551212@from") in new stack
  852.     -- Executing [s@macro-outbound-callerid:8] Set("Local/9735551212@from-internal-00000065;2", "HOTDESKCALL=0") in new stack
  853.     -- Executing [s@macro-outbound-callerid:9] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(HOTDESKCALL=1)") in new stack
  854.     -- Executing [s@macro-outbound-callerid:10] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(name)=)") in new stack
  855.     -- Executing [s@macro-outbound-callerid:11] Set("Local/9735551212@from-internal-00000065;2", "ALLOWTHISROUTE=NO") in new stack
  856.     -- Executing [s@macro-outbound-callerid:12] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  857.     -- Executing [s@macro-outbound-callerid:13] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Hangup()") in new stack
  858.     -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(REALCALLERIDNUM=9735551212)") in new stack
  859.     -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(AMPUSER=9735551212)") in new stack
  860.     -- Executing [s@macro-outbound-callerid:16] GotoIf("Local/9735551212@from-internal-00000065;2", "0?normcid") in new stack
  861.     -- Executing [s@macro-outbound-callerid:17] Set("Local/9735551212@from-internal-00000065;2", "USEROUTCID=9735551212 <9735551212>") in new stack
  862.     -- Executing [s@macro-outbound-callerid:18] GotoIf("Local/9735551212@from-internal-00000065;2", "0?normcid") in new stack
  863.     -- Executing [s@macro-outbound-callerid:19] GotoIf("Local/9735551212@from-internal-00000065;2", "1?bypass") in new stack
  864.     -- Goto (macro-outbound-callerid,s,21)
  865.     -- Executing [s@macro-outbound-callerid:21] Set("Local/9735551212@from-internal-00000065;2", "EMERGENCYCID=") in new stack
  866.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(EMERGENCYCID=)") in new stack
  867.     -- Executing [s@macro-outbound-callerid:23] Set("Local/9735551212@from-internal-00000065;2", "TRUNKOUTCID=+19845551212") in new stack
  868.     -- Executing [s@macro-outbound-callerid:24] GotoIf("Local/9735551212@from-internal-00000065;2", "1?trunkcid") in new stack
  869.     -- Goto (macro-outbound-callerid,s,30)
  870.     -- Executing [s@macro-outbound-callerid:30] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(CALLERID(all)=+19845551212)") in new stack
  871.     -- Executing [s@macro-outbound-callerid:31] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(CALLERID(all)=9735551212 <9735551212>)") in new stack
  872.     -- Executing [s@macro-outbound-callerid:32] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(all)=)") in new stack
  873.     -- Executing [s@macro-outbound-callerid:33] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(all)=9735551212)") in new stack
  874.     -- Executing [s@macro-outbound-callerid:34] Set("Local/9735551212@from-internal-00000065;2", "TIOHIDE=no") in new stack
  875.     -- Executing [s@macro-outbound-callerid:35] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  876.     -- Executing [s@macro-outbound-callerid:36] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  877.     -- Executing [s@macro-outbound-callerid:37] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  878.     -- Executing [s@macro-outbound-callerid:38] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  879.     -- Executing [s@macro-outbound-callerid:39] Set("Local/9735551212@from-internal-00000065;2", "CDR(outbound_cnum)=9735551212") in new stack
  880.     -- Executing [s@macro-outbound-callerid:40] Set("Local/9735551212@from-internal-00000065;2", "CDR(outbound_cnam)=9735551212") in new stack
  881.     -- Executing [s@macro-dialout-trunk:14] GosubIf("Local/9735551212@from-internal-00000065;2", "0?sub-flp-1,s,1()") in new stack
  882.     -- Executing [s@macro-dialout-trunk:15] Set("Local/9735551212@from-internal-00000065;2", "OUTNUM=+19735551212") in new stack
  883.     -- Executing [s@macro-dialout-trunk:16] Set("Local/9735551212@from-internal-00000065;2", "custom=PJSIP") in new stack
  884.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^OnHoldSong)T)") in new stack
  885.     -- Executing [s@macro-dialout-trunk:18] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^OnHoldSong)TM(confirm))") in new stack
  886.     -- Executing [s@macro-dialout-trunk:19] Macro("Local/9735551212@from-internal-00000065;2", "dialout-trunk-predial-hook,") in new stack
  887.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/9735551212@from-internal-00000065;2", "") in new stack
  888.     -- Executing [s@macro-dialout-trunk:20] GotoIf("Local/9735551212@from-internal-00000065;2", "1?skipcrm") in new stack
  889.     -- Goto (macro-dialout-trunk,s,26)
  890.     -- Executing [s@macro-dialout-trunk:26] NoOp("Local/9735551212@from-internal-00000065;2", "CRM Finished") in new stack
  891.     -- Executing [s@macro-dialout-trunk:27] GotoIf("Local/9735551212@from-internal-00000065;2", "0?bypass,1") in new stack
  892.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CONNECTEDLINE(num,i)=+19735551212)") in new stack
  893.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CONNECTEDLINE(name,i)=CID:9735551212)") in new stack
  894.     -- Executing [s@macro-dialout-trunk:30] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)9735551212)") in new stack
  895.     -- Executing [s@macro-dialout-trunk:31] GotoIf("Local/9735551212@from-internal-00000065;2", "0?customtrunk") in new stack
  896.     -- Executing [s@macro-dialout-trunk:32] ExecIf("Local/9735551212@from-internal-00000065;2", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^OnHoldSong))") in new stack
  897.     -- Executing [s@macro-dialout-trunk:33] Set("Local/9735551212@from-internal-00000065;2", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
  898.     -- Executing [s@macro-dialout-trunk:34] Dial("Local/9735551212@from-internal-00000065;2", "PJSIP/+19735551212@Twilio_Trunk,300,M(setmusic^OnHoldSong)b(func-apply-sipheaders^s^1,(1))") in new stack
  899.     -- PJSIP/Twilio_Trunk-0000003e Internal Gosub(func-apply-sipheaders,s,1(1)) start
  900.     -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/Twilio_Trunk-0000003e", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  901.     -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/Twilio_Trunk-0000003e", "Applying SIP Headers to channel PJSIP/Twilio_Trunk-0000003e") in new stack
  902.     -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/Twilio_Trunk-0000003e", "TECH=PJSIP") in new stack
  903.     -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/Twilio_Trunk-0000003e", "SIPHEADERKEYS=Alert-Info") in new stack
  904.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/Twilio_Trunk-0000003e", "1") in new stack
  905.     -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/Twilio_Trunk-0000003e", "sipheader=unset") in new stack
  906.     -- Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?SIPRemoveHeader(Alert-Info:)") in new stack
  907.     -- Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/Twilio_Trunk-0000003e", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
  908. [2020-11-06 14:29:41] ERROR[20031]: res_pjsip_header_funcs.c:410 remove_header: No headers had been previously added to this session.
  909.     -- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
  910.     -- Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
  911.     -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?SIPAddHeader(Alert-Info:unset)") in new stack
  912.     -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
  913.     -- Executing [s@func-apply-sipheaders:13] EndWhile("PJSIP/Twilio_Trunk-0000003e", "") in new stack
  914.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/Twilio_Trunk-0000003e", "0") in new stack
  915.     -- Executing [s@func-apply-sipheaders:14] Return("PJSIP/Twilio_Trunk-0000003e", "") in new stack
  916.   == Spawn extension (from-pstn-e164-us, 9735551212, 1) exited non-zero on 'PJSIP/Twilio_Trunk-0000003e'
  917.     -- PJSIP/Twilio_Trunk-0000003e Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
  918.     -- Called PJSIP/+19735551212@Twilio_Trunk
  919. <--- Transmitting SIP request (1144 bytes) to UDP:54.172.60.2:5060 --->
  920. INVITE sip:+19735551212@company.pstn.twilio.com:5060 SIP/2.0
  921. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPj4ef56c27-92fb-4fee-93e7-94cc75876150
  922. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  923. To: <sip:+19735551212@company.pstn.twilio.com>
  924. Contact: <sip:9735551212@10.10.10.10:5060>
  925. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  926. CSeq: 31608 INVITE
  927. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  928. Supported: 100rel, timer, replaces, norefersub
  929. Session-Expires: 1800
  930. Min-SE: 90
  931. Diversion: <sip:+19845551212@192.168.1.201>;reason=unconditional
  932. Max-Forwards: 70
  933. User-Agent: FPBX-15.0.16.77(16.13.0)
  934. Content-Type: application/sdp
  935. Content-Length:   337
  936.  
  937. v=0
  938. o=- 1661433703 1661433703 IN IP4 10.10.10.10
  939. s=Asterisk
  940. c=IN IP4 10.10.10.10
  941. t=0 0
  942. m=audio 13270 RTP/AVP 0 8 3 111 9 101
  943. a=rtpmap:0 PCMU/8000
  944. a=rtpmap:8 PCMA/8000
  945. a=rtpmap:3 GSM/8000
  946. a=rtpmap:111 G726-32/8000
  947. a=rtpmap:9 G722/8000
  948. a=rtpmap:101 telephone-event/8000
  949. a=fmtp:101 0-16
  950. a=ptime:20
  951. a=maxptime:150
  952. a=sendrecv
  953.  
  954.     -- Connected line update to PJSIP/Twilio_Trunk-0000003d prevented.
  955. <--- Received SIP response (438 bytes) from UDP:54.172.60.2:5060 --->
  956. SIP/2.0 100 trying -- your call is important to us
  957. Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;branch=z9hG4bKPj4ef56c27-92fb-4fee-93e7-94cc75876150;received=66.26.68.30
  958. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  959. To: <sip:+19735551212@company.pstn.twilio.com>
  960. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  961. CSeq: 31608 INVITE
  962. Server: Twilio Gateway
  963. Content-Length: 0
  964.  
  965.  
  966. <--- Received SIP response (676 bytes) from UDP:54.172.60.2:5060 --->
  967. SIP/2.0 407 Proxy Authentication required
  968. CSeq: 31608 INVITE
  969. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  970. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  971. To: <sip:+19735551212@company.pstn.twilio.com>;tag=22734771_6772d868_6da38e46-aa5a-441f-ba8e-79d27d2922c7
  972. Via: SIP/2.0/UDP 10.10.10.10:5060;received=66.26.68.30;rport=5060;branch=z9hG4bKPj4ef56c27-92fb-4fee-93e7-94cc75876150
  973. Server: Twilio
  974. Contact: <sip:172.25.78.240:5060>
  975. Proxy-Authenticate: Digest realm="sip.twilio.com",qop="auth",nonce="bEFMhAy9TEqF6o5oSympBwT_yaRcBpHbr6rYKiucmD9tXOmt",opaque="dee8484ecf7d9178e245a43ec2cb742b"
  976. Content-Length: 0
  977.  
  978.  
  979. <--- Transmitting SIP request (522 bytes) to UDP:54.172.60.2:5060 --->
  980. ACK sip:+19735551212@company.pstn.twilio.com:5060 SIP/2.0
  981. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPj4ef56c27-92fb-4fee-93e7-94cc75876150
  982. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  983. To: <sip:+19735551212@company.pstn.twilio.com>;tag=22734771_6772d868_6da38e46-aa5a-441f-ba8e-79d27d2922c7
  984. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  985. CSeq: 31608 ACK
  986. Max-Forwards: 70
  987. User-Agent: FPBX-15.0.16.77(16.13.0)
  988. Content-Length:  0
  989.  
  990.  
  991. <--- Transmitting SIP request (1501 bytes) to UDP:54.172.60.2:5060 --->
  992. INVITE sip:+19735551212@company.pstn.twilio.com:5060 SIP/2.0
  993. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPj370e868f-c19e-4a40-b603-159e7d34cc9a
  994. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  995. To: <sip:+19735551212@company.pstn.twilio.com>
  996. Contact: <sip:9735551212@10.10.10.10:5060>
  997. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  998. CSeq: 31609 INVITE
  999. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1000. Supported: 100rel, timer, replaces, norefersub
  1001. Session-Expires: 1800
  1002. Min-SE: 90
  1003. Max-Forwards: 70
  1004. User-Agent: FPBX-15.0.16.77(16.13.0)
  1005. Proxy-Authorization: Digest username="twilio_login", realm="sip.twilio.com", nonce="bEFMhAy9TEqF6o5oSympBwT_yaRcBpHbr6rYKiucmD9tXOmt", uri="sip:+19735551212@company.pstn.twilio.com:5060", response="199785d4c8d10da092d379764497bbd0", cnonce="7c2da78f25cc42259d6df97d7a0214bb", opaque="dee8484ecf7d9178e245a43ec2cb742b", qop=auth, nc=00000001
  1006. Diversion: <sip:+19845551212@192.168.1.201>;reason=unconditional
  1007. Content-Type: application/sdp
  1008. Content-Length:   337
  1009.  
  1010. v=0
  1011. o=- 1661433703 1661433703 IN IP4 10.10.10.10
  1012. s=Asterisk
  1013. c=IN IP4 10.10.10.10
  1014. t=0 0
  1015. m=audio 13270 RTP/AVP 0 8 3 111 9 101
  1016. a=rtpmap:0 PCMU/8000
  1017. a=rtpmap:8 PCMA/8000
  1018. a=rtpmap:3 GSM/8000
  1019. a=rtpmap:111 G726-32/8000
  1020. a=rtpmap:9 G722/8000
  1021. a=rtpmap:101 telephone-event/8000
  1022. a=fmtp:101 0-16
  1023. a=ptime:20
  1024. a=maxptime:150
  1025. a=sendrecv
  1026.  
  1027. <--- Received SIP response (438 bytes) from UDP:54.172.60.2:5060 --->
  1028. SIP/2.0 100 trying -- your call is important to us
  1029. Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;branch=z9hG4bKPj370e868f-c19e-4a40-b603-159e7d34cc9a;received=66.26.68.30
  1030. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  1031. To: <sip:+19735551212@company.pstn.twilio.com>
  1032. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  1033. CSeq: 31609 INVITE
  1034. Server: Twilio Gateway
  1035. Content-Length: 0
  1036.  
  1037.  
  1038. <--- Received SIP response (796 bytes) from UDP:54.172.60.2:5060 --->
  1039. SIP/2.0 400 Invalid Caller ID.
  1040. CSeq: 31609 INVITE
  1041. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  1042. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  1043. To: <sip:+19735551212@company.pstn.twilio.com>;tag=91219689_6772d868_5e5e5865-7204-41d7-b76e-8a13d957d690
  1044. Via: SIP/2.0/UDP 10.10.10.10:5060;received=66.26.68.30;rport=5060;branch=z9hG4bKPj370e868f-c19e-4a40-b603-159e7d34cc9a
  1045. Server: Twilio
  1046. Contact: <sip:172.25.45.194:5060>
  1047. X-Twilio-Error: 32204 The caller-ID 9735551212 is unverified. SIP Trunking terminating calls to PSTN must use a valid Caller ID in the From Field. A Valid Caller ID is either a DID you have purchased from Twilio or a verified Caller ID.
  1048. X-Twilio-CallSid: CA38524212e16deffb3d64b24077fc4270
  1049. Content-Length: 0
  1050.  
  1051.  
  1052. <--- Transmitting SIP request (522 bytes) to UDP:54.172.60.2:5060 --->
  1053. ACK sip:+19735551212@company.pstn.twilio.com:5060 SIP/2.0
  1054. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPj370e868f-c19e-4a40-b603-159e7d34cc9a
  1055. From: "9735551212" <sip:9735551212@192.168.1.201>;tag=1dcd51d3-fe9e-413c-9ac4-0ea4b144b1d1
  1056. To: <sip:+19735551212@company.pstn.twilio.com>;tag=91219689_6772d868_5e5e5865-7204-41d7-b76e-8a13d957d690
  1057. Call-ID: 3cb2fcab-c35e-4845-a691-d133894efeac
  1058. CSeq: 31609 ACK
  1059. Max-Forwards: 70
  1060. User-Agent: FPBX-15.0.16.77(16.13.0)
  1061. Content-Length:  0
  1062.  
  1063.  
  1064.     -- PJSIP/Twilio_Trunk-0000003e Internal Gosub(crm-hangup,s,1) start
  1065.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/Twilio_Trunk-0000003e", "Sending Hangup to CRM") in new stack
  1066.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/Twilio_Trunk-0000003e", "HANGUP CAUSE: 127") in new stack
  1067.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/Twilio_Trunk-0000003e", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1068.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/Twilio_Trunk-0000003e", "MASTER CHANNEL: 1604690981.296 = 1604690964.288") in new stack
  1069.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/Twilio_Trunk-0000003e", "1?return") in new stack
  1070.     -- Goto (crm-hangup,s,8)
  1071.     -- Executing [s@crm-hangup:8] Return("PJSIP/Twilio_Trunk-0000003e", "") in new stack
  1072.   == Spawn extension (from-pstn-e164-us, 9735551212, 1) exited non-zero on 'PJSIP/Twilio_Trunk-0000003e'
  1073.     -- PJSIP/Twilio_Trunk-0000003e Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1074.   == Everyone is busy/congested at this time (1:0/0/1)
  1075.     -- Executing [s@macro-dialout-trunk:35] NoOp("Local/9735551212@from-internal-00000065;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 127") in new stack
  1076.     -- Executing [s@macro-dialout-trunk:36] GotoIf("Local/9735551212@from-internal-00000065;2", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  1077.     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  1078.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("Local/9735551212@from-internal-00000065;2", "RC=127") in new stack
  1079.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("Local/9735551212@from-internal-00000065;2", "127,1") in new stack
  1080.     -- Goto (macro-dialout-trunk,127,1)
  1081.     -- Executing [127@macro-dialout-trunk:1] Goto("Local/9735551212@from-internal-00000065;2", "continue,1") in new stack
  1082.     -- Goto (macro-dialout-trunk,continue,1)
  1083.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/9735551212@from-internal-00000065;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 127 - failing through to other trunks") in new stack
  1084.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CALLERID(number)=)") in new stack
  1085.     -- Executing [9735551212@from-internal:13] Macro("Local/9735551212@from-internal-00000065;2", "outisbusy,") in new stack
  1086.     -- Executing [s@macro-outisbusy:1] Progress("Local/9735551212@from-internal-00000065;2", "") in new stack
  1087.     -- Executing [s@macro-outisbusy:2] GotoIf("Local/9735551212@from-internal-00000065;2", "0?emergency,1") in new stack
  1088.     -- Executing [s@macro-outisbusy:3] GotoIf("Local/9735551212@from-internal-00000065;2", "0?intracompany,1") in new stack
  1089.     -- Executing [s@macro-outisbusy:4] Playback("Local/9735551212@from-internal-00000065;2", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  1090.     -- Local/9735551212@from-internal-00000065;1 is making progress passing it to Local/FMGL-9735551212#@from-internal-00000064;2
  1091.     -- <Local/9735551212@from-internal-00000065;2> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  1092. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  1093. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1094. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  1095. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1096. To: <sip:twilio_login@company.pstn.twilio.com>
  1097. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1098. CSeq: 49209 REGISTER
  1099. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1100. Expires: 3600
  1101. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1102. Max-Forwards: 70
  1103. User-Agent: FPBX-15.0.16.77(16.13.0)
  1104. Content-Length:  0
  1105.  
  1106.  
  1107.     -- <Local/9735551212@from-internal-00000065;2> Playing 'please-try-call-later.ulaw' (language 'en')
  1108.     -- Executing [s@macro-outisbusy:5] Congestion("Local/9735551212@from-internal-00000065;2", "20") in new stack
  1109.     -- Local/9735551212@from-internal-00000065;1 is circuit-busy
  1110.     -- Local/9735551212@from-internal-00000065;1 Internal Gosub(crm-hangup,s,1) start
  1111.     -- Executing [s@crm-hangup:1] NoOp("Local/9735551212@from-internal-00000065;1", "Sending Hangup to CRM") in new stack
  1112.     -- Executing [s@crm-hangup:2] NoOp("Local/9735551212@from-internal-00000065;1", "HANGUP CAUSE: 0") in new stack
  1113.     -- Executing [s@crm-hangup:3] ExecIf("Local/9735551212@from-internal-00000065;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1114.     -- Executing [s@crm-hangup:4] NoOp("Local/9735551212@from-internal-00000065;1", "MASTER CHANNEL: 1604690980.294 = 1604690964.288") in new stack
  1115.     -- Executing [s@crm-hangup:5] GotoIf("Local/9735551212@from-internal-00000065;1", "1?return") in new stack
  1116.     -- Goto (crm-hangup,s,8)
  1117.     -- Executing [s@crm-hangup:8] Return("Local/9735551212@from-internal-00000065;1", "") in new stack
  1118.   == Spawn extension (from-internal, FMGL-9735551212#, 1) exited non-zero on 'Local/9735551212@from-internal-00000065;1'
  1119.     -- Local/9735551212@from-internal-00000065;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1120.   == Everyone is busy/congested at this time (1:0/1/0)
  1121.     -- Executing [s@macro-dial:26] Set("Local/FMGL-9735551212#@from-internal-00000064;2", "DIALSTATUS=CONGESTION") in new stack
  1122.     -- Executing [s@macro-dial:27] GosubIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?CONGESTION,1()") in new stack
  1123.     -- Executing [s@macro-dial:28] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", "Returning since nobody answered") in new stack
  1124.     -- Executing [s@macro-dial:29] MacroExit("Local/FMGL-9735551212#@from-internal-00000064;2", "") in new stack
  1125.     -- Executing [FMGL-9735551212#@from-internal:9] Hangup("Local/FMGL-9735551212#@from-internal-00000064;2", "") in new stack
  1126.   == Spawn extension (from-internal, FMGL-9735551212#, 9) exited non-zero on 'Local/FMGL-9735551212#@from-internal-00000064;2'
  1127.     -- Executing [h@from-internal:1] Macro("Local/FMGL-9735551212#@from-internal-00000064;2", "hangupcall") in new stack
  1128.     -- Executing [s@macro-hangupcall:1] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?theend") in new stack
  1129.     -- Goto (macro-hangupcall,s,3)
  1130.     -- Executing [s@macro-hangupcall:3] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;2", "0?Set(CDR(recordingfile)=)") in new stack
  1131.   == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/9735551212@from-internal-00000065;2' in macro 'outisbusy'
  1132.   == Spawn extension (from-internal, 9735551212, 13) exited non-zero on 'Local/9735551212@from-internal-00000065;2'
  1133.     -- Executing [h@from-internal:1] Macro("Local/9735551212@from-internal-00000065;2", "hangupcall") in new stack
  1134.     -- Executing [s@macro-hangupcall:4] NoOp("Local/FMGL-9735551212#@from-internal-00000064;2", " montior file= ") in new stack
  1135.     -- Executing [s@macro-hangupcall:5] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;2", "1?skipagi") in new stack
  1136.     -- Goto (macro-hangupcall,s,7)
  1137.     -- Executing [s@macro-hangupcall:7] Hangup("Local/FMGL-9735551212#@from-internal-00000064;2", "") in new stack
  1138.   == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'Local/FMGL-9735551212#@from-internal-00000064;2' in macro 'hangupcall'
  1139.   == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMGL-9735551212#@from-internal-00000064;2'
  1140.     -- Executing [s@macro-hangupcall:1] GotoIf("Local/9735551212@from-internal-00000065;2", "1?theend") in new stack
  1141.     -- Goto (macro-hangupcall,s,3)
  1142.     -- Local/FMGL-9735551212#@from-internal-00000064;1 Internal Gosub(crm-hangup,s,1) start
  1143.     -- Executing [s@crm-hangup:1] NoOp("Local/FMGL-9735551212#@from-internal-00000064;1", "Sending Hangup to CRM") in new stack
  1144.     -- Executing [s@crm-hangup:2] NoOp("Local/FMGL-9735551212#@from-internal-00000064;1", "HANGUP CAUSE: 16") in new stack
  1145.     -- Executing [s@crm-hangup:3] ExecIf("Local/FMGL-9735551212#@from-internal-00000064;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1146.     -- Executing [s@crm-hangup:4] NoOp("Local/FMGL-9735551212#@from-internal-00000064;1", "MASTER CHANNEL: 1604690973.291 = 1604690964.288") in new stack
  1147.     -- Executing [s@crm-hangup:5] GotoIf("Local/FMGL-9735551212#@from-internal-00000064;1", "1?return") in new stack
  1148.     -- Goto (crm-hangup,s,8)
  1149.     -- Executing [s@crm-hangup:8] Return("Local/FMGL-9735551212#@from-internal-00000064;1", "") in new stack
  1150.   == Spawn extension (from-internal, 2001, 1) exited non-zero on 'Local/FMGL-9735551212#@from-internal-00000064;1'
  1151.     -- Local/FMGL-9735551212#@from-internal-00000064;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1152.     -- Executing [s@macro-hangupcall:3] ExecIf("Local/9735551212@from-internal-00000065;2", "0?Set(CDR(recordingfile)=)") in new stack
  1153.     -- Executing [s@macro-hangupcall:4] NoOp("Local/9735551212@from-internal-00000065;2", " montior file= ") in new stack
  1154.     -- Executing [s@macro-hangupcall:5] GotoIf("Local/9735551212@from-internal-00000065;2", "1?skipagi") in new stack
  1155.     -- Goto (macro-hangupcall,s,7)
  1156.     -- Executing [s@macro-hangupcall:7] Hangup("Local/9735551212@from-internal-00000065;2", "") in new stack
  1157.   == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'Local/9735551212@from-internal-00000065;2' in macro 'hangupcall'
  1158.   == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/9735551212@from-internal-00000065;2'
  1159. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  1160. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1161. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  1162. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1163. To: <sip:twilio_login@company.pstn.twilio.com>
  1164. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1165. CSeq: 49209 REGISTER
  1166. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1167. Expires: 3600
  1168. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1169. Max-Forwards: 70
  1170. User-Agent: FPBX-15.0.16.77(16.13.0)
  1171. Content-Length:  0
  1172.  
  1173.  
  1174. <--- Transmitting SIP request (442 bytes) to UDP:192.168.1.32:5060 --->
  1175. OPTIONS sip:2000@192.168.1.32:5060;transport=udp SIP/2.0
  1176. Via: SIP/2.0/UDP 192.168.1.201:5060;rport;branch=z9hG4bKPj68220391-5eb6-4660-858b-b42dda9a6312
  1177. From: <sip:2000@192.168.1.201>;tag=35b9a0db-57a0-4774-80e3-795cb289546e
  1178. To: <sip:2000@192.168.1.32>
  1179. Contact: <sip:2000@192.168.1.201:5060>
  1180. Call-ID: e3709f9f-cdb9-4779-860c-51ed5b491501
  1181. CSeq: 51842 OPTIONS
  1182. Max-Forwards: 70
  1183. User-Agent: FPBX-15.0.16.77(16.13.0)
  1184. Content-Length:  0
  1185.  
  1186.  
  1187. <--- Received SIP response (1192 bytes) from UDP:192.168.1.32:52690 --->
  1188. SIP/2.0 200 OK
  1189. Via: SIP/2.0/UDP 192.168.1.201:5060;rport;branch=z9hG4bKPj68220391-5eb6-4660-858b-b42dda9a6312
  1190. From: <sip:2000@192.168.1.201>;tag=35b9a0db-57a0-4774-80e3-795cb289546e
  1191. To: <sip:2000@192.168.1.32>;tag=0022555fd000165d0a8fb334-cf8dbc2e
  1192. Call-ID: e3709f9f-cdb9-4779-860c-51ed5b491501
  1193. Date: Fri, 06 Nov 2020 19:29:48 GMT
  1194. CSeq: 51842 OPTIONS
  1195. Server: Cisco-CP7961G/9.3.1
  1196. Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE
  1197. Allow-Events: kpml,dialog,refer
  1198. Accept: application/sdp,multipart/mixed,multipart/alternative
  1199. Accept-Encoding: identity
  1200. Accept-Language: en
  1201. Supported: replaces,join,sdp-anat,norefersub,resource-priority,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-6.0.0
  1202. Content-Length: 264
  1203. Content-Type: application/sdp
  1204. Content-Disposition: session;handling=optional
  1205.  
  1206. v=0
  1207. o=Cisco-SIPUA 6908 0 IN IP4 192.168.1.32
  1208. s=SIP Call
  1209. t=0 0
  1210. m=audio 0 RTP/AVP 0 8 18 102 101
  1211. a=rtpmap:0 PCMU/8000
  1212. a=rtpmap:8 PCMA/8000
  1213. a=rtpmap:18 G729/8000
  1214. a=fmtp:18 annexb=no
  1215. a=rtpmap:102 L16/16000
  1216. a=rtpmap:101 telephone-event/8000
  1217. a=fmtp:101 0-15
  1218.  
  1219. <--- Received SIP request (718 bytes) from UDP:54.172.60.0:5060 --->
  1220. BYE sip:10.10.10.10:5060 SIP/2.0
  1221. CSeq: 465021 BYE
  1222. From: <sip:+19735551212@company.pstn.twilio.com:5060;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  1223. To: <sip:+19845551212@10.10.10.10;region=us1>;tag=ac28dc77-6fdb-43e1-9a61-c2afb98e5cc5
  1224. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  1225. Max-Forwards: 68
  1226. Via: SIP/2.0/UDP 54.172.60.0:5060;branch=z9hG4bKc031.09857c64db839365aff89ef89bf3d7c7.0
  1227. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;received=3.81.11.231;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_542-6001309297719397119
  1228. User-Agent: Twilio Gateway
  1229. X-Twilio-CallSid: CA26dc5776d98b1678d4b7fe3b732abcd2
  1230. Content-Length: 0
  1231.  
  1232.  
  1233. <--- Transmitting SIP response (662 bytes) to UDP:54.172.60.0:5060 --->
  1234. SIP/2.0 200 OK
  1235. Via: SIP/2.0/UDP 54.172.60.0:5060;rport=5060;received=54.172.60.0;branch=z9hG4bKc031.09857c64db839365aff89ef89bf3d7c7.0
  1236. Via: SIP/2.0/UDP 172.25.48.202:5060;rport=5060;received=3.81.11.231;branch=z9hG4bK3ccbf00a-af83-4e59-8bb8-d5bba08518bf_6772d868_542-6001309297719397119
  1237. Call-ID: 2a88df9180d55e19d80cc51d497e9e2f@0.0.0.0
  1238. From: <sip:+19735551212@company.pstn.twilio.com;isup-oli=0;pstn-params=808481808882>;tag=67814083_6772d868_3ccbf00a-af83-4e59-8bb8-d5bba08518bf
  1239. To: <sip:+19845551212@10.10.10.10;region=us1>;tag=ac28dc77-6fdb-43e1-9a61-c2afb98e5cc5
  1240. CSeq: 465021 BYE
  1241. Server: FPBX-15.0.16.77(16.13.0)
  1242. Content-Length:  0
  1243.  
  1244.  
  1245.     -- Local/FMPR-2001@from-internal-00000063;1 Internal Gosub(crm-hangup,s,1) start
  1246.     -- Executing [s@crm-hangup:1] NoOp("Local/FMPR-2001@from-internal-00000063;1", "Sending Hangup to CRM") in new stack
  1247.     -- Executing [s@crm-hangup:2] NoOp("Local/FMPR-2001@from-internal-00000063;1", "HANGUP CAUSE: 0") in new stack
  1248.     -- Executing [s@crm-hangup:3] ExecIf("Local/FMPR-2001@from-internal-00000063;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1249.     -- Executing [s@crm-hangup:4] NoOp("Local/FMPR-2001@from-internal-00000063;1", "MASTER CHANNEL: 1604690973.289 = 1604690964.288") in new stack
  1250.     -- Executing [s@crm-hangup:5] GotoIf("Local/FMPR-2001@from-internal-00000063;1", "1?return") in new stack
  1251.     -- Goto (crm-hangup,s,8)
  1252.     -- Executing [s@crm-hangup:8] Return("Local/FMPR-2001@from-internal-00000063;1", "") in new stack
  1253.   == Spawn extension (from-internal, 2001, 1) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;1'
  1254.     -- Local/FMPR-2001@from-internal-00000063;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1255.   == Spawn extension (macro-dial, s, 25) exited non-zero on 'PJSIP/Twilio_Trunk-0000003d' in macro 'dial'
  1256.   == Spawn extension (followme-sub, 2001, 41) exited non-zero on 'PJSIP/Twilio_Trunk-0000003d'
  1257.     -- PJSIP/Twilio_Trunk-0000003d Internal Gosub(crm-hangup,s,1) start
  1258.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/Twilio_Trunk-0000003d", "Sending Hangup to CRM") in new stack
  1259.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/Twilio_Trunk-0000003d", "HANGUP CAUSE: 16") in new stack
  1260.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/Twilio_Trunk-0000003d", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1261.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/Twilio_Trunk-0000003d", "MASTER CHANNEL: 1604690964.288 = 1604690964.288") in new stack
  1262.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/Twilio_Trunk-0000003d", "0?return") in new stack
  1263.     -- Executing [s@crm-hangup:6] Set("PJSIP/Twilio_Trunk-0000003d", "__CRM_HANGUP=1") in new stack
  1264.     -- Executing [s@crm-hangup:7] AGI("PJSIP/Twilio_Trunk-0000003d", "agi://127.0.0.1/sangomacrm.agi") in new stack
  1265.     -- SCCP/2001-0000001E Internal Gosub(crm-hangup,s,1) start
  1266.     -- Executing [s@crm-hangup:1] NoOp("SCCP/2001-0000001E", "Sending Hangup to CRM") in new stack
  1267.     -- Executing [s@crm-hangup:2] NoOp("SCCP/2001-0000001E", "HANGUP CAUSE: 0") in new stack
  1268.     -- Executing [s@crm-hangup:3] ExecIf("SCCP/2001-0000001E", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1269.     -- Executing [s@crm-hangup:4] NoOp("SCCP/2001-0000001E", "MASTER CHANNEL: 1604690973.293 = 1604690964.288") in new stack
  1270.     -- Executing [s@crm-hangup:5] GotoIf("SCCP/2001-0000001E", "1?return") in new stack
  1271.     -- Goto (crm-hangup,s,8)
  1272.     -- Executing [s@crm-hangup:8] Return("SCCP/2001-0000001E", "") in new stack
  1273.   == Spawn extension (from-internal, FMPR-2001, 1) exited non-zero on 'SCCP/2001-0000001E'
  1274.     -- SCCP/2001-0000001E Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1275.   == Spawn extension (macro-simple-dial, s, 6) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;2' in macro 'simple-dial'
  1276.   == Spawn extension (from-internal, FMPR-2001, 5) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;2'
  1277.     -- Executing [h@from-internal:1] Macro("Local/FMPR-2001@from-internal-00000063;2", "hangupcall") in new stack
  1278.     -- Executing [s@macro-hangupcall:1] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "1?theend") in new stack
  1279.     -- Goto (macro-hangupcall,s,3)
  1280.     -- Executing [s@macro-hangupcall:3] ExecIf("Local/FMPR-2001@from-internal-00000063;2", "0?Set(CDR(recordingfile)=)") in new stack
  1281.     -- Executing [s@macro-hangupcall:4] NoOp("Local/FMPR-2001@from-internal-00000063;2", "SCCP/2001-0000001E montior file= ") in new stack
  1282.     -- Executing [s@macro-hangupcall:5] GotoIf("Local/FMPR-2001@from-internal-00000063;2", "1?skipagi") in new stack
  1283.     -- Goto (macro-hangupcall,s,7)
  1284.     -- Executing [s@macro-hangupcall:7] Hangup("Local/FMPR-2001@from-internal-00000063;2", "") in new stack
  1285.   == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;2' in macro 'hangupcall'
  1286.   == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMPR-2001@from-internal-00000063;2'
  1287. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.1:5060 --->
  1288. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1289. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjb32fe3ee-8a4f-4aab-a381-abee660a9077
  1290. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1291. To: <sip:twilio_login@company.pstn.twilio.com>
  1292. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1293. CSeq: 49209 REGISTER
  1294. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1295. Expires: 3600
  1296. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1297. Max-Forwards: 70
  1298. User-Agent: FPBX-15.0.16.77(16.13.0)
  1299. Content-Length:  0
  1300.  
  1301.  
  1302.     -- <PJSIP/Twilio_Trunk-0000003d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  1303.     -- Executing [s@crm-hangup:8] Return("PJSIP/Twilio_Trunk-0000003d", "") in new stack
  1304.   == Spawn extension (followme-sub, 2001, 41) exited non-zero on 'PJSIP/Twilio_Trunk-0000003d'
  1305.     -- PJSIP/Twilio_Trunk-0000003d Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1306. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.3:5060 --->
  1307. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1308. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjf4ffaf31-6cbf-4f82-b7ec-2b49f4c362ea
  1309. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1310. To: <sip:twilio_login@company.pstn.twilio.com>
  1311. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1312. CSeq: 49210 REGISTER
  1313. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1314. Expires: 3600
  1315. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1316. Max-Forwards: 70
  1317. User-Agent: FPBX-15.0.16.77(16.13.0)
  1318. Content-Length:  0
  1319.  
  1320.  
  1321. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.3:5060 --->
  1322. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1323. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjf4ffaf31-6cbf-4f82-b7ec-2b49f4c362ea
  1324. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1325. To: <sip:twilio_login@company.pstn.twilio.com>
  1326. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1327. CSeq: 49210 REGISTER
  1328. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1329. Expires: 3600
  1330. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1331. Max-Forwards: 70
  1332. User-Agent: FPBX-15.0.16.77(16.13.0)
  1333. Content-Length:  0
  1334.  
  1335.  
  1336. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.3:5060 --->
  1337. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1338. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjf4ffaf31-6cbf-4f82-b7ec-2b49f4c362ea
  1339. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1340. To: <sip:twilio_login@company.pstn.twilio.com>
  1341. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1342. CSeq: 49210 REGISTER
  1343. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1344. Expires: 3600
  1345. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1346. Max-Forwards: 70
  1347. User-Agent: FPBX-15.0.16.77(16.13.0)
  1348. Content-Length:  0
  1349.  
  1350.  
  1351. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.3:5060 --->
  1352. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1353. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjf4ffaf31-6cbf-4f82-b7ec-2b49f4c362ea
  1354. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1355. To: <sip:twilio_login@company.pstn.twilio.com>
  1356. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1357. CSeq: 49210 REGISTER
  1358. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1359. Expires: 3600
  1360. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1361. Max-Forwards: 70
  1362. User-Agent: FPBX-15.0.16.77(16.13.0)
  1363. Content-Length:  0
  1364.  
  1365.  
  1366. <--- Transmitting SIP request (649 bytes) to UDP:54.172.60.3:5060 --->
  1367. REGISTER sip:company.pstn.twilio.com:5060 SIP/2.0
  1368. Via: SIP/2.0/UDP 10.10.10.10:5060;rport;branch=z9hG4bKPjf4ffaf31-6cbf-4f82-b7ec-2b49f4c362ea
  1369. From: <sip:twilio_login@company.pstn.twilio.com>;tag=9dcc0f24-9645-46e8-b43b-3fc2c70ccc9e
  1370. To: <sip:twilio_login@company.pstn.twilio.com>
  1371. Call-ID: 69f6008a-c8a2-40ec-a690-c2dc294129ef
  1372. CSeq: 49210 REGISTER
  1373. Contact: <sip:s@10.10.10.10:5060;line=rftwtya>
  1374. Expires: 3600
  1375. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1376. Max-Forwards: 70
  1377. User-Agent: FPBX-15.0.16.77(16.13.0)
  1378. Content-Length:  0
  1379.  
  1380.  
  1381. ee-pbx*CLI> quit
  1382.  
  1383.  

Reply to "siplog"

Here you can reply to the paste above