Advertisement
Guest User

Untitled

a guest
Mar 6th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.05 KB | None | 0 0
  1.  
  2. root@FreePBX:~# asterisk -rvvvv
  3. Asterisk 22.1.0, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
  4. Created by Mark Spencer <[email protected]>
  5. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  6. This is free software, with components licensed under the GNU General Public
  7. License version 2 and other licenses; you are welcome to redistribute it under
  8. certain conditions. Type 'core show license' for details.
  9. =========================================================================
  10. Connected to Asterisk 22.1.0 currently running on FreePBX (pid = 2479)
  11. FreePBX*CLI> pjsip set logger on
  12. PJSIP Logging enabled
  13. <--- Transmitting SIP request (415 bytes) to UDP:10.10.10.80:5060 --->
  14. OPTIONS sip:[email protected]:5060 SIP/2.0
  15. Via: SIP/2.0/UDP 10.10.10.14:5060;rport;branch=z9hG4bKPj6620c950-b4c7-4d39-8629-a93e4a2b952b
  16. From: <sip:[email protected]>;tag=c717fd7d-2d8f-4a6f-8e0c-ab1f582bf51a
  17. Contact: <sip:[email protected]:5060>
  18. Call-ID: a1d77558-58fa-4bb9-b18d-438822f55ea0
  19. CSeq: 42614 OPTIONS
  20. Max-Forwards: 70
  21. User-Agent: FPBX-17.0.19.24(22.1.0)
  22. Content-Length: 0
  23.  
  24.  
  25. <--- Received SIP response (357 bytes) from UDP:10.10.10.80:5060 --->
  26. SIP/2.0 200 OK
  27. Via: SIP/2.0/UDP 10.10.10.14:5060;rport=5060;branch=z9hG4bKPj6620c950-b4c7-4d39-8629-a93e4a2b952b
  28. From: <sip:[email protected]>;tag=c717fd7d-2d8f-4a6f-8e0c-ab1f582bf51a
  29. To: <sip:[email protected]>;tag=1786921851
  30. Call-ID: a1d77558-58fa-4bb9-b18d-438822f55ea0
  31. CSeq: 42614 OPTIONS
  32. User-Agent: Yealink SIP-T46S 66.83.0.37
  33. Content-Length: 0
  34.  
  35.  
  36. <--- Received SIP request (894 bytes) from UDP:10.10.10.80:5060 --->
  37. INVITE sip:[email protected]:5060 SIP/2.0
  38. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1195708046
  39. From: <sip:[email protected]:5060>;tag=1692951454
  40. To: <sip:[email protected]:5060>
  41. CSeq: 1 INVITE
  42. Contact: <sip:[email protected]:5060>
  43. Content-Type: application/sdp
  44. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  45. Max-Forwards: 70
  46. User-Agent: Yealink SIP-T46S 66.83.0.37
  47. Allow-Events: talk,hold,conference,refer,check-sync
  48. Supported: replaces
  49. Content-Length: 304
  50.  
  51. v=0
  52. o=- 20004 20004 IN IP4 10.10.10.80
  53. s=SDP data
  54. c=IN IP4 10.10.10.80
  55. t=0 0
  56. m=audio 12218 RTP/AVP 9 0 8 18 101
  57. a=rtpmap:9 G722/8000
  58. a=rtpmap:0 PCMU/8000
  59. a=rtpmap:8 PCMA/8000
  60. a=rtpmap:18 G729/8000
  61. a=fmtp:18 annexb=no
  62. a=ptime:20
  63. a=sendrecv
  64. a=rtpmap:101 telephone-event/8000
  65. a=fmtp:101 0-15
  66.  
  67. <--- Transmitting SIP response (471 bytes) to UDP:10.10.10.80:5060 --->
  68. SIP/2.0 401 Unauthorized
  69. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1195708046
  70. From: <sip:[email protected]>;tag=1692951454
  71. To: <sip:[email protected]>;tag=z9hG4bK1195708046
  72. CSeq: 1 INVITE
  73. WWW-Authenticate: Digest realm="asterisk",nonce="1741241180/969bb36858bce6ac81bdb9148f3af8a9",opaque="3897aedf1554ef63",algorithm=MD5,qop="auth"
  74. Server: FPBX-17.0.19.24(22.1.0)
  75. Content-Length: 0
  76.  
  77.  
  78. <--- Received SIP request (276 bytes) from UDP:10.10.10.80:5060 --->
  79. ACK sip:[email protected]:5060 SIP/2.0
  80. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1195708046
  81. From: <sip:[email protected]>;tag=1692951454
  82. To: <sip:[email protected]>;tag=z9hG4bK1195708046
  83. CSeq: 1 ACK
  84. Content-Length: 0
  85.  
  86.  
  87. <--- Received SIP request (1171 bytes) from UDP:10.10.10.80:5060 --->
  88. INVITE sip:[email protected]:5060 SIP/2.0
  89. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK912907850
  90. From: <sip:[email protected]:5060>;tag=1692951454
  91. To: <sip:[email protected]:5060>
  92. CSeq: 2 INVITE
  93. Contact: <sip:[email protected]:5060>
  94. Authorization: Digest username="200", realm="asterisk", nonce="1741241180/969bb36858bce6ac81bdb9148f3af8a9", uri="sip:[email protected]:5060", response="491b08c840b2042f61332c52fc1141f8", algorithm=MD5, cnonce="0a4f113b", opaque="3897aedf1554ef63", qop=auth, nc=00000001
  95. Content-Type: application/sdp
  96. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  97. Max-Forwards: 70
  98. User-Agent: Yealink SIP-T46S 66.83.0.37
  99. Allow-Events: talk,hold,conference,refer,check-sync
  100. Supported: replaces
  101. Content-Length: 304
  102.  
  103. v=0
  104. o=- 20004 20004 IN IP4 10.10.10.80
  105. s=SDP data
  106. c=IN IP4 10.10.10.80
  107. t=0 0
  108. m=audio 12218 RTP/AVP 9 0 8 18 101
  109. a=rtpmap:9 G722/8000
  110. a=rtpmap:0 PCMU/8000
  111. a=rtpmap:8 PCMA/8000
  112. a=rtpmap:18 G729/8000
  113. a=fmtp:18 annexb=no
  114. a=ptime:20
  115. a=sendrecv
  116. a=rtpmap:101 telephone-event/8000
  117. a=fmtp:101 0-15
  118.  
  119. <--- Transmitting SIP response (296 bytes) to UDP:10.10.10.80:5060 --->
  120. SIP/2.0 100 Trying
  121. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK912907850
  122. From: <sip:[email protected]>;tag=1692951454
  123. CSeq: 2 INVITE
  124. Server: FPBX-17.0.19.24(22.1.0)
  125. Content-Length: 0
  126.  
  127.  
  128. == Using SIP RTP Audio TOS bits 184
  129. == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  130. == Using SIP RTP Audio CoS mark 5
  131. -- Executing [1PHONENUMBER@from-internal:1] Gosub("PJSIP/200-0000001d", "macro-user-callerid,s,1(LIMIT,EXTERNAL)") in new stack
  132. -- Executing [s@macro-user-callerid:1] Set("PJSIP/200-0000001d", "TOUCH_MONITOR=1741241180.38") in new stack
  133. -- Executing [s@macro-user-callerid:2] Set("PJSIP/200-0000001d", "CHANCONTEXT=") in new stack
  134. -- Executing [s@macro-user-callerid:3] Progress("PJSIP/200-0000001d", "") in new stack
  135. > 0x7fa618128860 -- Strict RTP learning after remote address set to: 10.10.10.80:12218
  136. <--- Transmitting SIP response (804 bytes) to UDP:10.10.10.80:5060 --->
  137. SIP/2.0 183 Session Progress
  138. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK912907850
  139. From: <sip:[email protected]>;tag=1692951454
  140. To: <sip:[email protected]>;tag=d8eef43e-2ae1-4233-bebb-e0c032204308
  141. CSeq: 2 INVITE
  142. Server: FPBX-17.0.19.24(22.1.0)
  143. Contact: <sip:10.10.10.14:5060>
  144. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  145. Content-Type: application/sdp
  146. Content-Length: 273
  147.  
  148. v=0
  149. o=- 20004 20006 IN IP4 10.10.10.14
  150. s=Asterisk
  151. c=IN IP4 10.10.10.14
  152. t=0 0
  153. m=audio 17238 RTP/AVP 0 8 9 101
  154. a=rtpmap:0 PCMU/8000
  155. a=rtpmap:8 PCMA/8000
  156. a=rtpmap:9 G722/8000
  157. a=rtpmap:101 telephone-event/8000
  158. a=fmtp:101 0-16
  159. a=ptime:20
  160. a=maxptime:140
  161. a=sendrecv
  162.  
  163. -- Executing [s@macro-user-callerid:4] Set("PJSIP/200-0000001d", "CHANCONTEXT=") in new stack
  164. -- Executing [s@macro-user-callerid:5] Set("PJSIP/200-0000001d", "CHANEXTENCONTEXT=200-0000001d") in new stack
  165. -- Executing [s@macro-user-callerid:6] Set("PJSIP/200-0000001d", "CHANEXTEN=200-0000001d") in new stack
  166. -- Executing [s@macro-user-callerid:7] Set("PJSIP/200-0000001d", "CALLERID(number)=200") in new stack
  167. -- Executing [s@macro-user-callerid:8] Set("PJSIP/200-0000001d", "AMPUSER=200") in new stack
  168. -- Executing [s@macro-user-callerid:9] Set("PJSIP/200-0000001d", "HOTDESCKCHAN=200-0000001d") in new stack
  169. -- Executing [s@macro-user-callerid:10] Set("PJSIP/200-0000001d", "HOTDESKEXTEN=200") in new stack
  170. -- Executing [s@macro-user-callerid:11] Set("PJSIP/200-0000001d", "HOTDESKCALL=0") in new stack
  171. -- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/200-0000001d", "0?Set(HOTDESKCALL=1)") in new stack
  172. -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name)=)") in new stack
  173. -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/200-0000001d", "0?report") in new stack
  174. -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/200-0000001d", "1?Set(REALCALLERIDNUM=200)") in new stack
  175. -- Executing [s@macro-user-callerid:16] Set("PJSIP/200-0000001d", "AMPUSER=200") in new stack
  176. -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/200-0000001d", "0?limit") in new stack
  177. -- Executing [s@macro-user-callerid:18] Set("PJSIP/200-0000001d", "AMPUSERCIDNAME=Jason") in new stack
  178. -- Executing [s@macro-user-callerid:19] ExecIf("PJSIP/200-0000001d", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  179. -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/200-0000001d", "0?report") in new stack
  180. -- Executing [s@macro-user-callerid:21] Set("PJSIP/200-0000001d", "AMPUSERCID=200") in new stack
  181. -- Executing [s@macro-user-callerid:22] Set("PJSIP/200-0000001d", "__DIAL_OPTIONS=HhTtr") in new stack
  182. -- Executing [s@macro-user-callerid:23] Set("PJSIP/200-0000001d", "CALLERID(all)="Jason" <200>") in new stack
  183. -- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/200-0000001d", "0?Set(CUSDIAL=)") in new stack
  184. -- Executing [s@macro-user-callerid:25] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(all)="Jason" <200>)") in new stack
  185. -- Executing [s@macro-user-callerid:26] GotoIf("PJSIP/200-0000001d", "0?limit") in new stack
  186. -- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/200-0000001d", "1?Set(GROUP(concurrency_limit)=200)") in new stack
  187. -- Executing [s@macro-user-callerid:28] ExecIf("PJSIP/200-0000001d", "0?Set(CHANNEL(language)=)") in new stack
  188. -- Executing [s@macro-user-callerid:29] NoOp("PJSIP/200-0000001d", "Macro depricated!! To keep the same line numbers") in new stack
  189. -- Executing [s@macro-user-callerid:30] NoOp("PJSIP/200-0000001d", "Macro depricated !! To keep the same line numbers") in new stack
  190. -- Executing [s@macro-user-callerid:31] GotoIf("PJSIP/200-0000001d", "1?continue") in new stack
  191. -- Goto (macro-user-callerid,s,50)
  192. -- Executing [s@macro-user-callerid:50] Set("PJSIP/200-0000001d", "CALLERID(number)=200") in new stack
  193. -- Executing [s@macro-user-callerid:51] Set("PJSIP/200-0000001d", "CALLERID(name)=Jason") in new stack
  194. -- Executing [s@macro-user-callerid:52] GotoIf("PJSIP/200-0000001d", "0?cnum") in new stack
  195. -- Executing [s@macro-user-callerid:53] Set("PJSIP/200-0000001d", "__MCNUM=200") in new stack
  196. -- Executing [s@macro-user-callerid:54] Set("PJSIP/200-0000001d", "__MCNAME=Jason") in new stack
  197. -- Executing [s@macro-user-callerid:55] Set("PJSIP/200-0000001d", "__MCEXTEN=200") in new stack
  198. -- Executing [s@macro-user-callerid:56] Set("PJSIP/200-0000001d", "__MCORGCHAN=PJSIP/200-0000001d") in new stack
  199. -- Executing [s@macro-user-callerid:57] Set("PJSIP/200-0000001d", "CDR(cnam)=Jason") in new stack
  200. -- Executing [s@macro-user-callerid:58] Set("PJSIP/200-0000001d", "CDR(cnum)=200") in new stack
  201. -- Executing [s@macro-user-callerid:59] Return("PJSIP/200-0000001d", "") in new stack
  202. -- Executing [1PHONENUMBER@from-internal:2] Gosub("PJSIP/200-0000001d", "sub-record-check,s,1(out,1PHONENUMBER,dontcare)") in new stack
  203. -- Executing [s@sub-record-check:1] GotoIf("PJSIP/200-0000001d", "0?initialized") in new stack
  204. -- Executing [s@sub-record-check:2] Set("PJSIP/200-0000001d", "__REC_STATUS=INITIALIZED") in new stack
  205. -- Executing [s@sub-record-check:3] Set("PJSIP/200-0000001d", "NOW=1741241180") in new stack
  206. -- Executing [s@sub-record-check:4] Set("PJSIP/200-0000001d", "__DAY=06") in new stack
  207. -- Executing [s@sub-record-check:5] Set("PJSIP/200-0000001d", "__MONTH=03") in new stack
  208. -- Executing [s@sub-record-check:6] Set("PJSIP/200-0000001d", "__YEAR=2025") in new stack
  209. -- Executing [s@sub-record-check:7] Set("PJSIP/200-0000001d", "__TIMESTR=20250306-010620") in new stack
  210. -- Executing [s@sub-record-check:8] Set("PJSIP/200-0000001d", "__FROMEXTEN=200") in new stack
  211. -- Executing [s@sub-record-check:9] Set("PJSIP/200-0000001d", "__MON_FMT=wav") in new stack
  212. -- Executing [s@sub-record-check:10] NoOp("PJSIP/200-0000001d", "Recordings initialized") in new stack
  213. -- Executing [s@sub-record-check:11] ExecIf("PJSIP/200-0000001d", "0?Set(ARG3=dontcare)") in new stack
  214. -- Executing [s@sub-record-check:12] Set("PJSIP/200-0000001d", "REC_POLICY_MODE_SAVE=") in new stack
  215. -- Executing [s@sub-record-check:13] ExecIf("PJSIP/200-0000001d", "0?Set(REC_STATUS=NO)") in new stack
  216. -- Executing [s@sub-record-check:14] GotoIf("PJSIP/200-0000001d", "3?checkaction") in new stack
  217. -- Goto (sub-record-check,s,17)
  218. -- Executing [s@sub-record-check:17] GotoIf("PJSIP/200-0000001d", "1?sub-record-check,out,1") in new stack
  219. -- Goto (sub-record-check,out,1)
  220. -- Executing [out@sub-record-check:1] NoOp("PJSIP/200-0000001d", "Outbound Recording Check from 200 to 1PHONENUMBER") in new stack
  221. -- Executing [out@sub-record-check:2] Set("PJSIP/200-0000001d", "RECMODE=dontcare") in new stack
  222. -- Executing [out@sub-record-check:3] ExecIf("PJSIP/200-0000001d", "1?Goto(routewins)") in new stack
  223. -- Goto (sub-record-check,out,7)
  224. -- Executing [out@sub-record-check:7] Gosub("PJSIP/200-0000001d", "recordcheck,1(dontcare,out,1PHONENUMBER)") in new stack
  225. -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/200-0000001d", "Starting recording check against dontcare") in new stack
  226. -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/200-0000001d", "dontcare") in new stack
  227. -- Goto (sub-record-check,recordcheck,3)
  228. -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/200-0000001d", "") in new stack
  229. -- Executing [out@sub-record-check:8] Return("PJSIP/200-0000001d", "") in new stack
  230. -- Executing [1PHONENUMBER@from-internal:3] ExecIf("PJSIP/200-0000001d", "0 ?Set(CHANNEL(accountcode)=)") in new stack
  231. -- Executing [1PHONENUMBER@from-internal:4] Set("PJSIP/200-0000001d", "_ROUTEID=1") in new stack
  232. -- Executing [1PHONENUMBER@from-internal:5] Set("PJSIP/200-0000001d", "_ROUTENAME=Emerald-VoIP") in new stack
  233. -- Executing [1PHONENUMBER@from-internal:6] Set("PJSIP/200-0000001d", "MOHCLASS=default") in new stack
  234. -- Executing [1PHONENUMBER@from-internal:7] ExecIf("PJSIP/200-0000001d", "0?Set(TRUNKCIDOVERRIDE=17059800615)") in new stack
  235. -- Executing [1PHONENUMBER@from-internal:8] Set("PJSIP/200-0000001d", "_CALLERIDNAMEINTERNAL=Jason") in new stack
  236. -- Executing [1PHONENUMBER@from-internal:9] Set("PJSIP/200-0000001d", "_CALLERIDNUMINTERNAL=200") in new stack
  237. -- Executing [1PHONENUMBER@from-internal:10] Set("PJSIP/200-0000001d", "_EMAILNOTIFICATION=FALSE") in new stack
  238. -- Executing [1PHONENUMBER@from-internal:11] Set("PJSIP/200-0000001d", "_NODEST=") in new stack
  239. -- Executing [1PHONENUMBER@from-internal:12] Gosub("PJSIP/200-0000001d", "macro-dialout-trunk,s,1(1,,,off)") in new stack
  240. -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/200-0000001d", "DIAL_TRUNK=1") in new stack
  241. -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  242. -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
  243. -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  244. -- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/200-0000001d", "0?sub-pincheck,s,1()") in new stack
  245. -- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(num)=200)") in new stack
  246. -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/200-0000001d", "0?disabletrunk,1") in new stack
  247. -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/200-0000001d", "DIAL_NUMBER=") in new stack
  248. -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/200-0000001d", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  249. -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/200-0000001d", "OUTBOUND_GROUP=OUT_1") in new stack
  250. -- Executing [s@macro-dialout-trunk:11] Set("PJSIP/200-0000001d", "DIAL_TRUNK_OPTIONS=T") in new stack
  251. -- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  252. -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/200-0000001d", "1?nomax") in new stack
  253. -- Goto (macro-dialout-trunk,s,15)
  254. -- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/200-0000001d", "0?skipoutcid") in new stack
  255. -- Executing [s@macro-dialout-trunk:16] Gosub("PJSIP/200-0000001d", "macro-outbound-callerid,s,1(1)") in new stack
  256. -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/200-0000001d", "200") in new stack
  257. -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/200-0000001d", "") in new stack
  258. -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/200-0000001d", "off") in new stack
  259. -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name-pres)=)") in new stack
  260. -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(num-pres)=)") in new stack
  261. -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/200-0000001d", "HOTDESCKCHAN=200-0000001d") in new stack
  262. -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/200-0000001d", "HOTDESKEXTEN=200") in new stack
  263. -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/200-0000001d", "HOTDESKCALL=0") in new stack
  264. -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/200-0000001d", "0?Set(HOTDESKCALL=1)") in new stack
  265. -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name)=)") in new stack
  266. -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/200-0000001d", "ALLOWTHISROUTE=NO") in new stack
  267. -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/200-0000001d", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  268. -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/200-0000001d", "0?Hangup()") in new stack
  269. -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/200-0000001d", "0?Set(REALCALLERIDNUM=200)") in new stack
  270. -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/200-0000001d", "0?Set(AMPUSER=200)") in new stack
  271. -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/200-0000001d", "1?normcid") in new stack
  272. -- Goto (macro-outbound-callerid,s,20)
  273. -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/200-0000001d", "USEROUTCID=17059800615") in new stack
  274. -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/200-0000001d", "EMERGENCYCID=") in new stack
  275. -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/200-0000001d", "0?Set(SCDEXT=YES)") in new stack
  276. -- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/200-0000001d", "0?Set(EMERGENCYCID=)") in new stack
  277. -- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name)=)") in new stack
  278. -- Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/200-0000001d", "0?Set(EMERGENCYCID=)") in new stack
  279. -- Executing [s@macro-outbound-callerid:26] Set("PJSIP/200-0000001d", "TRUNKOUTCID=17059800615") in new stack
  280. -- Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/200-0000001d", "1?trunkcid") in new stack
  281. -- Goto (macro-outbound-callerid,s,33)
  282. -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/200-0000001d", "1?Set(CALLERID(all)=17059800615)") in new stack
  283. -- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/200-0000001d", "1?Set(CALLERID(all)=17059800615)") in new stack
  284. -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(all)=)") in new stack
  285. -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(all)=200)") in new stack
  286. -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(all)=200)") in new stack
  287. -- Executing [s@macro-outbound-callerid:38] Set("PJSIP/200-0000001d", "TIOHIDE=no") in new stack
  288. -- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  289. -- Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  290. -- Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  291. -- Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/200-0000001d", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  292. -- Executing [s@macro-outbound-callerid:43] Set("PJSIP/200-0000001d", "CDR(outbound_cnum)=17059800615") in new stack
  293. -- Executing [s@macro-outbound-callerid:44] Set("PJSIP/200-0000001d", "CDR(outbound_cnam)=") in new stack
  294. -- Executing [s@macro-outbound-callerid:45] Return("PJSIP/200-0000001d", "") in new stack
  295. -- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/200-0000001d", "0?sub-flp-1,s,1()") in new stack
  296. -- Executing [s@macro-dialout-trunk:18] Set("PJSIP/200-0000001d", "OUTNUM=") in new stack
  297. -- Executing [s@macro-dialout-trunk:19] Set("PJSIP/200-0000001d", "custom=PJSIP") in new stack
  298. -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_TRUNK_MOH=default)") in new stack
  299. -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_TRUNK_OPTIONS=TU(macro-confirm))") in new stack
  300. -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/200-0000001d", "0?AGI(allowlist-autoadd.agi,)") in new stack
  301. -- Executing [s@macro-dialout-trunk:23] Gosub("PJSIP/200-0000001d", "macro-dialout-trunk-predial-hook,s,1()") in new stack
  302. -- Executing [s@macro-dialout-trunk-predial-hook:1] Return("PJSIP/200-0000001d", "") in new stack
  303. -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/200-0000001d", "0?skipcrm") in new stack
  304. -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/200-0000001d", "__CRM_DIRECTION=OUTBOUND") in new stack
  305. -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/200-0000001d", "__CRM_DESTINATION=") in new stack
  306. -- Executing [s@macro-dialout-trunk:27] Set("PJSIP/200-0000001d", "__CRM_SOURCE=200") in new stack
  307. -- Executing [s@macro-dialout-trunk:28] AGI("PJSIP/200-0000001d", "agi://127.0.0.1/sangomacrm.agi") in new stack
  308. > 0x7fa618128860 -- Strict RTP switching to RTP target address 10.10.10.80:12218 as source
  309. -- <PJSIP/200-0000001d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  310. -- Executing [s@macro-dialout-trunk:29] Set("PJSIP/200-0000001d", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  311. -- Executing [s@macro-dialout-trunk:30] NoOp("PJSIP/200-0000001d", "CRM Finished") in new stack
  312. -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/200-0000001d", "0?bypass,1") in new stack
  313. -- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/200-0000001d", "1?Set(CONNECTEDLINE(num,i)=)") in new stack
  314. -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/200-0000001d", "1?Set(CONNECTEDLINE(name,i)=CID:17059800615)") in new stack
  315. -- Executing [s@macro-dialout-trunk:34] ExecIf("PJSIP/200-0000001d", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)17059800615)") in new stack
  316. -- Executing [s@macro-dialout-trunk:35] GotoIf("PJSIP/200-0000001d", "0?customtrunk") in new stack
  317. -- Executing [s@macro-dialout-trunk:36] ExecIf("PJSIP/200-0000001d", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  318. -- Executing [s@macro-dialout-trunk:37] Set("PJSIP/200-0000001d", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
  319. -- Executing [s@macro-dialout-trunk:38] Gosub("PJSIP/200-0000001d", "trunk-dial-with-exten,,1()") in new stack
  320. [2025-03-06 01:06:20] ERROR[41074][C-00000015]: app_stack.c:591 gosub_exec: Gosub attempted to reach non-existent destination 'trunk-dial-with-exten,s,1' from 'macro-dialout-trunk,s,38'
  321. == Spawn extension (macro-dialout-trunk, s, 38) exited non-zero on 'PJSIP/200-0000001d'
  322. -- Executing [h@macro-dialout-trunk:1] Gosub("PJSIP/200-0000001d", "macro-hangupcall,s,1()") in new stack
  323. -- Executing [s@macro-hangupcall:1] Set("PJSIP/200-0000001d", "__MCVMSTATUS=") in new stack
  324. -- Executing [s@macro-hangupcall:2] Gosub("PJSIP/200-0000001d", "app-missedcall-hangup,s,1()") in new stack
  325. -- Executing [s@app-missedcall-hangup:1] NoOp("PJSIP/200-0000001d", "Dialed: s") in new stack
  326. -- Executing [s@app-missedcall-hangup:2] NoOp("PJSIP/200-0000001d", "Caller: 200") in new stack
  327. -- Executing [s@app-missedcall-hangup:3] GotoIf("PJSIP/200-0000001d", "0?exit") in new stack
  328. -- Executing [s@app-missedcall-hangup:4] Set("PJSIP/200-0000001d", "EXTENNUM=s") in new stack
  329. -- Executing [s@app-missedcall-hangup:5] Set("PJSIP/200-0000001d", "FEXTENNUM=s") in new stack
  330. -- Executing [s@app-missedcall-hangup:6] GotoIf("PJSIP/200-0000001d", "0?exit") in new stack
  331. -- Executing [s@app-missedcall-hangup:7] AGI("PJSIP/200-0000001d", "agi://127.0.0.1/missedcallnotify.php,s,,s,0,,PJSIP/200-0000001d,,,,") in new stack
  332. -- <PJSIP/200-0000001d>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
  333. -- Executing [s@app-missedcall-hangup:8] Return("PJSIP/200-0000001d", "") in new stack
  334. -- Executing [s@macro-hangupcall:3] UserEvent("PJSIP/200-0000001d", "MES,RTPAUDIOQOSMESBRIDGED:,RTPAUDIOQOSMES:") in new stack
  335. -- Executing [s@macro-hangupcall:4] GotoIf("PJSIP/200-0000001d", "1?theend") in new stack
  336. -- Goto (macro-hangupcall,s,6)
  337. -- Executing [s@macro-hangupcall:6] ExecIf("PJSIP/200-0000001d", "0?Set(CDR(recordingfile)=)") in new stack
  338. -- Executing [s@macro-hangupcall:7] Hangup("PJSIP/200-0000001d", "") in new stack
  339. == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/200-0000001d'
  340. -- PJSIP/200-0000001d Internal Gosub(crm-hangup,s,1) start
  341. -- Executing [s@crm-hangup:1] NoOp("PJSIP/200-0000001d", "Sending Hangup to CRM") in new stack
  342. -- Executing [s@crm-hangup:2] NoOp("PJSIP/200-0000001d", "HANGUP CAUSE: 16") in new stack
  343. -- Executing [s@crm-hangup:3] ExecIf("PJSIP/200-0000001d", "0?Set(__CRM_VOICEMAIL=)") in new stack
  344. -- Executing [s@crm-hangup:4] NoOp("PJSIP/200-0000001d", "MASTER CHANNEL: 1741241180.38 = 1741241180.38") in new stack
  345. -- Executing [s@crm-hangup:5] GotoIf("PJSIP/200-0000001d", "0?return") in new stack
  346. -- Executing [s@crm-hangup:6] Set("PJSIP/200-0000001d", "__CRM_HANGUP=1") in new stack
  347. -- Executing [s@crm-hangup:7] AGI("PJSIP/200-0000001d", "agi://127.0.0.1/sangomacrm.agi") in new stack
  348. -- <PJSIP/200-0000001d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  349. -- Executing [s@crm-hangup:8] Return("PJSIP/200-0000001d", "") in new stack
  350. == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/200-0000001d'
  351. -- PJSIP/200-0000001d Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  352. <--- Transmitting SIP response (479 bytes) to UDP:10.10.10.80:5060 --->
  353. SIP/2.0 603 Decline
  354. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK912907850
  355. From: <sip:[email protected]>;tag=1692951454
  356. To: <sip:[email protected]>;tag=d8eef43e-2ae1-4233-bebb-e0c032204308
  357. CSeq: 2 INVITE
  358. Server: FPBX-17.0.19.24(22.1.0)
  359. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  360. Reason: Q.850;cause=16
  361. Content-Length: 0
  362.  
  363.  
  364. <--- Received SIP request (294 bytes) from UDP:10.10.10.80:5060 --->
  365. ACK sip:[email protected]:5060 SIP/2.0
  366. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK912907850
  367. From: <sip:[email protected]>;tag=1692951454
  368. To: <sip:[email protected]>;tag=d8eef43e-2ae1-4233-bebb-e0c032204308
  369. CSeq: 2 ACK
  370. Content-Length: 0
  371.  
  372.  
  373. <--- Transmitting SIP request (463 bytes) to UDP:34.226.36.34:5060 --->
  374. OPTIONS sip:us-east-va.sip.flowroute.com:5060 SIP/2.0
  375. Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPj53399db7-9f1d-4933-9aa3-2221eb358180
  376. From: <sip:[email protected]>;tag=c009eb00-a138-4679-9eb1-17d2e7a06ab6
  377. To: <sip:us-east-va.sip.flowroute.com>
  378. Contact: <sip:[email protected]:5060>
  379. Call-ID: d19053ad-75c1-4eba-b55d-83a7539b14a3
  380. CSeq: 43452 OPTIONS
  381. Max-Forwards: 70
  382. User-Agent: FPBX-17.0.19.24(22.1.0)
  383. Content-Length: 0
  384.  
  385.  
  386. <--- Received SIP response (466 bytes) from UDP:34.226.36.34:5060 --->
  387. SIP/2.0 200 OK
  388. Via: SIP/2.0/UDP 198.90.89.110:5060;rport=15190;branch=z9hG4bKPj53399db7-9f1d-4933-9aa3-2221eb358180;received=198.90.89.110
  389. From: <sip:[email protected]>;tag=c009eb00-a138-4679-9eb1-17d2e7a06ab6
  390. To: <sip:us-east-va.sip.flowroute.com>;tag=bf8638324618dc61059d4c604476fea1.12c7260c
  391. Call-ID: d19053ad-75c1-4eba-b55d-83a7539b14a3
  392. CSeq: 43452 OPTIONS
  393. Accept: */*
  394. Accept-Encoding:
  395. Accept-Language: en
  396. Supported: timer
  397. Content-Length: 0
  398.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement