Advertisement
Guest User

Untitled

a guest
Mar 6th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.00 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. <--- Received SIP request (891 bytes) from UDP:10.10.10.80:5060 --->
  14. INVITE sip:[email protected]:5060 SIP/2.0
  15. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1216108744
  16. From: <sip:[email protected]:5060>;tag=842629330
  17. To: <sip:[email protected]:5060>
  18. CSeq: 1 INVITE
  19. Contact: <sip:[email protected]:5060>
  20. Content-Type: application/sdp
  21. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  22. Max-Forwards: 70
  23. User-Agent: Yealink SIP-T46S 66.83.0.37
  24. Allow-Events: talk,hold,conference,refer,check-sync
  25. Supported: replaces
  26. Content-Length: 304
  27.  
  28. v=0
  29. o=- 20008 20008 IN IP4 10.10.10.80
  30. s=SDP data
  31. c=IN IP4 10.10.10.80
  32. t=0 0
  33. m=audio 12228 RTP/AVP 9 0 8 18 101
  34. a=rtpmap:9 G722/8000
  35. a=rtpmap:0 PCMU/8000
  36. a=rtpmap:8 PCMA/8000
  37. a=rtpmap:18 G729/8000
  38. a=fmtp:18 annexb=no
  39. a=ptime:20
  40. a=sendrecv
  41. a=rtpmap:101 telephone-event/8000
  42. a=fmtp:101 0-15
  43.  
  44. <--- Transmitting SIP response (469 bytes) to UDP:10.10.10.80:5060 --->
  45. SIP/2.0 401 Unauthorized
  46. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1216108744
  47. From: <sip:[email protected]>;tag=842629330
  48. To: <sip:[email protected]>;tag=z9hG4bK1216108744
  49. CSeq: 1 INVITE
  50. WWW-Authenticate: Digest realm="asterisk",nonce="1741241558/7057bae3db0f0018e966dc124f9f615b",opaque="3fe9487c7fa353e4",algorithm=MD5,qop="auth"
  51. Server: FPBX-17.0.19.24(22.1.0)
  52. Content-Length: 0
  53.  
  54.  
  55. <--- Received SIP request (273 bytes) from UDP:10.10.10.80:5060 --->
  56. ACK sip:[email protected]:5060 SIP/2.0
  57. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1216108744
  58. From: <sip:[email protected]>;tag=842629330
  59. To: <sip:[email protected]>;tag=z9hG4bK1216108744
  60. CSeq: 1 ACK
  61. Content-Length: 0
  62.  
  63.  
  64. <--- Received SIP request (1168 bytes) from UDP:10.10.10.80:5060 --->
  65. INVITE sip:[email protected]:5060 SIP/2.0
  66. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1263508066
  67. From: <sip:[email protected]:5060>;tag=842629330
  68. To: <sip:[email protected]:5060>
  69. CSeq: 2 INVITE
  70. Contact: <sip:[email protected]:5060>
  71. Authorization: Digest username="200", realm="asterisk", nonce="1741241558/7057bae3db0f0018e966dc124f9f615b", uri="sip:[email protected]:5060", response="8b00f64e4568724ccf58cf645fe313fa", algorithm=MD5, cnonce="0a4f113b", opaque="3fe9487c7fa353e4", qop=auth, nc=00000001
  72. Content-Type: application/sdp
  73. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  74. Max-Forwards: 70
  75. User-Agent: Yealink SIP-T46S 66.83.0.37
  76. Allow-Events: talk,hold,conference,refer,check-sync
  77. Supported: replaces
  78. Content-Length: 304
  79.  
  80. v=0
  81. o=- 20008 20008 IN IP4 10.10.10.80
  82. s=SDP data
  83. c=IN IP4 10.10.10.80
  84. t=0 0
  85. m=audio 12228 RTP/AVP 9 0 8 18 101
  86. a=rtpmap:9 G722/8000
  87. a=rtpmap:0 PCMU/8000
  88. a=rtpmap:8 PCMA/8000
  89. a=rtpmap:18 G729/8000
  90. a=fmtp:18 annexb=no
  91. a=ptime:20
  92. a=sendrecv
  93. a=rtpmap:101 telephone-event/8000
  94. a=fmtp:101 0-15
  95.  
  96. <--- Transmitting SIP response (295 bytes) to UDP:10.10.10.80:5060 --->
  97. SIP/2.0 100 Trying
  98. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1263508066
  99. From: <sip:[email protected]>;tag=842629330
  100. CSeq: 2 INVITE
  101. Server: FPBX-17.0.19.24(22.1.0)
  102. Content-Length: 0
  103.  
  104.  
  105. == Using SIP RTP Audio TOS bits 184
  106. == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  107. == Using SIP RTP Audio CoS mark 5
  108. -- Executing [1PHONENUMBER@from-internal:1] Gosub("PJSIP/200-00000023", "macro-user-callerid,s,1(LIMIT,EXTERNAL)") in new stack
  109. -- Executing [s@macro-user-callerid:1] Set("PJSIP/200-00000023", "TOUCH_MONITOR=1741241558.46") in new stack
  110. -- Executing [s@macro-user-callerid:2] Set("PJSIP/200-00000023", "CHANCONTEXT=") in new stack
  111. -- Executing [s@macro-user-callerid:3] Progress("PJSIP/200-00000023", "") in new stack
  112. > 0x7fa618128860 -- Strict RTP learning after remote address set to: 10.10.10.80:12228
  113. <--- Transmitting SIP response (803 bytes) to UDP:10.10.10.80:5060 --->
  114. SIP/2.0 183 Session Progress
  115. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1263508066
  116. From: <sip:[email protected]>;tag=842629330
  117. To: <sip:[email protected]>;tag=c1776296-85c8-47db-acfa-497af80bf181
  118. CSeq: 2 INVITE
  119. Server: FPBX-17.0.19.24(22.1.0)
  120. Contact: <sip:10.10.10.14:5060>
  121. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  122. Content-Type: application/sdp
  123. Content-Length: 273
  124.  
  125. v=0
  126. o=- 20008 20010 IN IP4 10.10.10.14
  127. s=Asterisk
  128. c=IN IP4 10.10.10.14
  129. t=0 0
  130. m=audio 11996 RTP/AVP 0 8 9 101
  131. a=rtpmap:0 PCMU/8000
  132. a=rtpmap:8 PCMA/8000
  133. a=rtpmap:9 G722/8000
  134. a=rtpmap:101 telephone-event/8000
  135. a=fmtp:101 0-16
  136. a=ptime:20
  137. a=maxptime:140
  138. a=sendrecv
  139.  
  140. -- Executing [s@macro-user-callerid:4] Set("PJSIP/200-00000023", "CHANCONTEXT=") in new stack
  141. -- Executing [s@macro-user-callerid:5] Set("PJSIP/200-00000023", "CHANEXTENCONTEXT=200-00000023") in new stack
  142. -- Executing [s@macro-user-callerid:6] Set("PJSIP/200-00000023", "CHANEXTEN=200-00000023") in new stack
  143. -- Executing [s@macro-user-callerid:7] Set("PJSIP/200-00000023", "CALLERID(number)=200") in new stack
  144. -- Executing [s@macro-user-callerid:8] Set("PJSIP/200-00000023", "AMPUSER=200") in new stack
  145. -- Executing [s@macro-user-callerid:9] Set("PJSIP/200-00000023", "HOTDESCKCHAN=200-00000023") in new stack
  146. -- Executing [s@macro-user-callerid:10] Set("PJSIP/200-00000023", "HOTDESKEXTEN=200") in new stack
  147. -- Executing [s@macro-user-callerid:11] Set("PJSIP/200-00000023", "HOTDESKCALL=0") in new stack
  148. -- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/200-00000023", "0?Set(HOTDESKCALL=1)") in new stack
  149. -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name)=)") in new stack
  150. -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/200-00000023", "0?report") in new stack
  151. -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/200-00000023", "1?Set(REALCALLERIDNUM=200)") in new stack
  152. -- Executing [s@macro-user-callerid:16] Set("PJSIP/200-00000023", "AMPUSER=200") in new stack
  153. -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/200-00000023", "0?limit") in new stack
  154. -- Executing [s@macro-user-callerid:18] Set("PJSIP/200-00000023", "AMPUSERCIDNAME=Jason") in new stack
  155. -- Executing [s@macro-user-callerid:19] ExecIf("PJSIP/200-00000023", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  156. -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/200-00000023", "0?report") in new stack
  157. -- Executing [s@macro-user-callerid:21] Set("PJSIP/200-00000023", "AMPUSERCID=200") in new stack
  158. -- Executing [s@macro-user-callerid:22] Set("PJSIP/200-00000023", "__DIAL_OPTIONS=HhTtr") in new stack
  159. -- Executing [s@macro-user-callerid:23] Set("PJSIP/200-00000023", "CALLERID(all)="Jason" <200>") in new stack
  160. -- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/200-00000023", "0?Set(CUSDIAL=)") in new stack
  161. -- Executing [s@macro-user-callerid:25] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(all)="Jason" <200>)") in new stack
  162. -- Executing [s@macro-user-callerid:26] GotoIf("PJSIP/200-00000023", "0?limit") in new stack
  163. -- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/200-00000023", "1?Set(GROUP(concurrency_limit)=200)") in new stack
  164. -- Executing [s@macro-user-callerid:28] ExecIf("PJSIP/200-00000023", "0?Set(CHANNEL(language)=)") in new stack
  165. -- Executing [s@macro-user-callerid:29] NoOp("PJSIP/200-00000023", "Macro depricated!! To keep the same line numbers") in new stack
  166. -- Executing [s@macro-user-callerid:30] NoOp("PJSIP/200-00000023", "Macro depricated !! To keep the same line numbers") in new stack
  167. -- Executing [s@macro-user-callerid:31] GotoIf("PJSIP/200-00000023", "1?continue") in new stack
  168. -- Goto (macro-user-callerid,s,50)
  169. -- Executing [s@macro-user-callerid:50] Set("PJSIP/200-00000023", "CALLERID(number)=200") in new stack
  170. -- Executing [s@macro-user-callerid:51] Set("PJSIP/200-00000023", "CALLERID(name)=Jason") in new stack
  171. -- Executing [s@macro-user-callerid:52] GotoIf("PJSIP/200-00000023", "0?cnum") in new stack
  172. -- Executing [s@macro-user-callerid:53] Set("PJSIP/200-00000023", "__MCNUM=200") in new stack
  173. -- Executing [s@macro-user-callerid:54] Set("PJSIP/200-00000023", "__MCNAME=Jason") in new stack
  174. -- Executing [s@macro-user-callerid:55] Set("PJSIP/200-00000023", "__MCEXTEN=200") in new stack
  175. -- Executing [s@macro-user-callerid:56] Set("PJSIP/200-00000023", "__MCORGCHAN=PJSIP/200-00000023") in new stack
  176. -- Executing [s@macro-user-callerid:57] Set("PJSIP/200-00000023", "CDR(cnam)=Jason") in new stack
  177. -- Executing [s@macro-user-callerid:58] Set("PJSIP/200-00000023", "CDR(cnum)=200") in new stack
  178. -- Executing [s@macro-user-callerid:59] Return("PJSIP/200-00000023", "") in new stack
  179. -- Executing [1PHONENUMBER@from-internal:2] Gosub("PJSIP/200-00000023", "sub-record-check,s,1(out,1PHONENUMBER,dontcare)") in new stack
  180. -- Executing [s@sub-record-check:1] GotoIf("PJSIP/200-00000023", "0?initialized") in new stack
  181. -- Executing [s@sub-record-check:2] Set("PJSIP/200-00000023", "__REC_STATUS=INITIALIZED") in new stack
  182. -- Executing [s@sub-record-check:3] Set("PJSIP/200-00000023", "NOW=1741241558") in new stack
  183. -- Executing [s@sub-record-check:4] Set("PJSIP/200-00000023", "__DAY=06") in new stack
  184. -- Executing [s@sub-record-check:5] Set("PJSIP/200-00000023", "__MONTH=03") in new stack
  185. -- Executing [s@sub-record-check:6] Set("PJSIP/200-00000023", "__YEAR=2025") in new stack
  186. -- Executing [s@sub-record-check:7] Set("PJSIP/200-00000023", "__TIMESTR=20250306-011238") in new stack
  187. -- Executing [s@sub-record-check:8] Set("PJSIP/200-00000023", "__FROMEXTEN=200") in new stack
  188. -- Executing [s@sub-record-check:9] Set("PJSIP/200-00000023", "__MON_FMT=wav") in new stack
  189. -- Executing [s@sub-record-check:10] NoOp("PJSIP/200-00000023", "Recordings initialized") in new stack
  190. -- Executing [s@sub-record-check:11] ExecIf("PJSIP/200-00000023", "0?Set(ARG3=dontcare)") in new stack
  191. -- Executing [s@sub-record-check:12] Set("PJSIP/200-00000023", "REC_POLICY_MODE_SAVE=") in new stack
  192. -- Executing [s@sub-record-check:13] ExecIf("PJSIP/200-00000023", "0?Set(REC_STATUS=NO)") in new stack
  193. -- Executing [s@sub-record-check:14] GotoIf("PJSIP/200-00000023", "3?checkaction") in new stack
  194. -- Goto (sub-record-check,s,17)
  195. -- Executing [s@sub-record-check:17] GotoIf("PJSIP/200-00000023", "1?sub-record-check,out,1") in new stack
  196. -- Goto (sub-record-check,out,1)
  197. -- Executing [out@sub-record-check:1] NoOp("PJSIP/200-00000023", "Outbound Recording Check from 200 to 1PHONENUMBER") in new stack
  198. -- Executing [out@sub-record-check:2] Set("PJSIP/200-00000023", "RECMODE=dontcare") in new stack
  199. -- Executing [out@sub-record-check:3] ExecIf("PJSIP/200-00000023", "1?Goto(routewins)") in new stack
  200. -- Goto (sub-record-check,out,7)
  201. -- Executing [out@sub-record-check:7] Gosub("PJSIP/200-00000023", "recordcheck,1(dontcare,out,1PHONENUMBER)") in new stack
  202. -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/200-00000023", "Starting recording check against dontcare") in new stack
  203. -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/200-00000023", "dontcare") in new stack
  204. -- Goto (sub-record-check,recordcheck,3)
  205. -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/200-00000023", "") in new stack
  206. -- Executing [out@sub-record-check:8] Return("PJSIP/200-00000023", "") in new stack
  207. -- Executing [1PHONENUMBER@from-internal:3] ExecIf("PJSIP/200-00000023", "0 ?Set(CHANNEL(accountcode)=)") in new stack
  208. -- Executing [1PHONENUMBER@from-internal:4] Set("PJSIP/200-00000023", "_ROUTEID=1") in new stack
  209. -- Executing [1PHONENUMBER@from-internal:5] Set("PJSIP/200-00000023", "_ROUTENAME=Emerald-VoIP") in new stack
  210. -- Executing [1PHONENUMBER@from-internal:6] Set("PJSIP/200-00000023", "MOHCLASS=default") in new stack
  211. -- Executing [1PHONENUMBER@from-internal:7] ExecIf("PJSIP/200-00000023", "0?Set(TRUNKCIDOVERRIDE=17059800615)") in new stack
  212. -- Executing [1PHONENUMBER@from-internal:8] Set("PJSIP/200-00000023", "_CALLERIDNAMEINTERNAL=Jason") in new stack
  213. -- Executing [1PHONENUMBER@from-internal:9] Set("PJSIP/200-00000023", "_CALLERIDNUMINTERNAL=200") in new stack
  214. -- Executing [1PHONENUMBER@from-internal:10] Set("PJSIP/200-00000023", "_EMAILNOTIFICATION=FALSE") in new stack
  215. -- Executing [1PHONENUMBER@from-internal:11] Set("PJSIP/200-00000023", "_NODEST=") in new stack
  216. -- Executing [1PHONENUMBER@from-internal:12] Gosub("PJSIP/200-00000023", "macro-dialout-trunk,s,1(1,1,,off)") in new stack
  217. -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/200-00000023", "DIAL_TRUNK=1") in new stack
  218. -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  219. -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
  220. -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  221. -- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/200-00000023", "0?sub-pincheck,s,1()") in new stack
  222. -- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(num)=200)") in new stack
  223. -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/200-00000023", "0?disabletrunk,1") in new stack
  224. -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/200-00000023", "DIAL_NUMBER=1") in new stack
  225. -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/200-00000023", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  226. -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/200-00000023", "OUTBOUND_GROUP=OUT_1") in new stack
  227. -- Executing [s@macro-dialout-trunk:11] Set("PJSIP/200-00000023", "DIAL_TRUNK_OPTIONS=T") in new stack
  228. -- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  229. -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/200-00000023", "1?nomax") in new stack
  230. -- Goto (macro-dialout-trunk,s,15)
  231. -- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/200-00000023", "0?skipoutcid") in new stack
  232. -- Executing [s@macro-dialout-trunk:16] Gosub("PJSIP/200-00000023", "macro-outbound-callerid,s,1(1)") in new stack
  233. -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/200-00000023", "200") in new stack
  234. -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/200-00000023", "") in new stack
  235. -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/200-00000023", "off") in new stack
  236. -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name-pres)=)") in new stack
  237. -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(num-pres)=)") in new stack
  238. -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/200-00000023", "HOTDESCKCHAN=200-00000023") in new stack
  239. -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/200-00000023", "HOTDESKEXTEN=200") in new stack
  240. -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/200-00000023", "HOTDESKCALL=0") in new stack
  241. -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/200-00000023", "0?Set(HOTDESKCALL=1)") in new stack
  242. -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name)=)") in new stack
  243. -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/200-00000023", "ALLOWTHISROUTE=NO") in new stack
  244. -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/200-00000023", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  245. -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/200-00000023", "0?Hangup()") in new stack
  246. -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/200-00000023", "0?Set(REALCALLERIDNUM=200)") in new stack
  247. -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/200-00000023", "0?Set(AMPUSER=200)") in new stack
  248. -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/200-00000023", "1?normcid") in new stack
  249. -- Goto (macro-outbound-callerid,s,20)
  250. -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/200-00000023", "USEROUTCID=17059800615") in new stack
  251. -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/200-00000023", "EMERGENCYCID=") in new stack
  252. -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/200-00000023", "0?Set(SCDEXT=YES)") in new stack
  253. -- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/200-00000023", "0?Set(EMERGENCYCID=)") in new stack
  254. -- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name)=)") in new stack
  255. -- Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/200-00000023", "0?Set(EMERGENCYCID=)") in new stack
  256. -- Executing [s@macro-outbound-callerid:26] Set("PJSIP/200-00000023", "TRUNKOUTCID=17059800615") in new stack
  257. -- Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/200-00000023", "1?trunkcid") in new stack
  258. -- Goto (macro-outbound-callerid,s,33)
  259. -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/200-00000023", "1?Set(CALLERID(all)=17059800615)") in new stack
  260. -- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/200-00000023", "1?Set(CALLERID(all)=17059800615)") in new stack
  261. -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(all)=)") in new stack
  262. -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(all)=200)") in new stack
  263. -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(all)=200)") in new stack
  264. -- Executing [s@macro-outbound-callerid:38] Set("PJSIP/200-00000023", "TIOHIDE=no") in new stack
  265. -- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  266. -- Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  267. -- Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  268. -- Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/200-00000023", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  269. -- Executing [s@macro-outbound-callerid:43] Set("PJSIP/200-00000023", "CDR(outbound_cnum)=17059800615") in new stack
  270. -- Executing [s@macro-outbound-callerid:44] Set("PJSIP/200-00000023", "CDR(outbound_cnam)=") in new stack
  271. -- Executing [s@macro-outbound-callerid:45] Return("PJSIP/200-00000023", "") in new stack
  272. -- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/200-00000023", "0?sub-flp-1,s,1()") in new stack
  273. -- Executing [s@macro-dialout-trunk:18] Set("PJSIP/200-00000023", "OUTNUM=1") in new stack
  274. -- Executing [s@macro-dialout-trunk:19] Set("PJSIP/200-00000023", "custom=PJSIP") in new stack
  275. -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_TRUNK_MOH=default)") in new stack
  276. -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_TRUNK_OPTIONS=TU(macro-confirm))") in new stack
  277. -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/200-00000023", "0?AGI(allowlist-autoadd.agi,)") in new stack
  278. -- Executing [s@macro-dialout-trunk:23] Gosub("PJSIP/200-00000023", "macro-dialout-trunk-predial-hook,s,1()") in new stack
  279. -- Executing [s@macro-dialout-trunk-predial-hook:1] Return("PJSIP/200-00000023", "") in new stack
  280. -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/200-00000023", "0?skipcrm") in new stack
  281. -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/200-00000023", "__CRM_DIRECTION=OUTBOUND") in new stack
  282. -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/200-00000023", "__CRM_DESTINATION=1") in new stack
  283. -- Executing [s@macro-dialout-trunk:27] Set("PJSIP/200-00000023", "__CRM_SOURCE=200") in new stack
  284. -- Executing [s@macro-dialout-trunk:28] AGI("PJSIP/200-00000023", "agi://127.0.0.1/sangomacrm.agi") in new stack
  285. > 0x7fa618128860 -- Strict RTP switching to RTP target address 10.10.10.80:12228 as source
  286. -- <PJSIP/200-00000023>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  287. -- Executing [s@macro-dialout-trunk:29] Set("PJSIP/200-00000023", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  288. -- Executing [s@macro-dialout-trunk:30] NoOp("PJSIP/200-00000023", "CRM Finished") in new stack
  289. -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/200-00000023", "0?bypass,1") in new stack
  290. -- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/200-00000023", "1?Set(CONNECTEDLINE(num,i)=1)") in new stack
  291. -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/200-00000023", "1?Set(CONNECTEDLINE(name,i)=CID:17059800615)") in new stack
  292. -- Executing [s@macro-dialout-trunk:34] ExecIf("PJSIP/200-00000023", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)17059800615)") in new stack
  293. -- Executing [s@macro-dialout-trunk:35] GotoIf("PJSIP/200-00000023", "0?customtrunk") in new stack
  294. -- Executing [s@macro-dialout-trunk:36] ExecIf("PJSIP/200-00000023", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  295. -- Executing [s@macro-dialout-trunk:37] Set("PJSIP/200-00000023", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
  296. -- Executing [s@macro-dialout-trunk:38] Gosub("PJSIP/200-00000023", "trunk-dial-with-exten,1,1()") in new stack
  297. -- Executing [1@trunk-dial-with-exten:1] Dial("PJSIP/200-00000023", "PJSIP/1@Emerald-VoIP,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^1^^1^1741241558^^17059800615,^)") in new stack
  298. -- PJSIP/Emerald-VoIP-00000024 Internal Gosub(func-apply-sipheaders,s,1(1)) start
  299. -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/Emerald-VoIP-00000024", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  300. -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/Emerald-VoIP-00000024", "Applying SIP Headers to channel PJSIP/Emerald-VoIP-00000024") in new stack
  301. -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/Emerald-VoIP-00000024", "localchan=Emerald-VoIP-00000024") in new stack
  302. -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/Emerald-VoIP-00000024", "DialMCEXT=Emerald") in new stack
  303. -- Executing [s@func-apply-sipheaders:5] Set("PJSIP/Emerald-VoIP-00000024", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,Emerald,1") in new stack
  304. -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/Emerald-VoIP-00000024", "Dchan=Emerald-VoIP-00000024") in new stack
  305. -- Executing [s@func-apply-sipheaders:7] Set("PJSIP/Emerald-VoIP-00000024", "TECH=PJSIP") in new stack
  306. -- Executing [s@func-apply-sipheaders:8] Set("PJSIP/Emerald-VoIP-00000024", "SIPHEADERKEYS=Alert-Info") in new stack
  307. -- Executing [s@func-apply-sipheaders:9] While("PJSIP/Emerald-VoIP-00000024", "1") in new stack
  308. -- Executing [s@func-apply-sipheaders:10] Set("PJSIP/Emerald-VoIP-00000024", "sipheader=unset") in new stack
  309. -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/Emerald-VoIP-00000024", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
  310. [2025-03-06 01:12:39] ERROR[33710]: res_pjsip_header_funcs.c:723 remove_header: No headers had been previously added to this session.
  311. -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/Emerald-VoIP-00000024", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
  312. -- Executing [s@func-apply-sipheaders:13] ExecIf("PJSIP/Emerald-VoIP-00000024", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
  313. -- Executing [s@func-apply-sipheaders:14] ExecIf("PJSIP/Emerald-VoIP-00000024", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
  314. -- Executing [s@func-apply-sipheaders:15] EndWhile("PJSIP/Emerald-VoIP-00000024", "") in new stack
  315. -- Executing [s@func-apply-sipheaders:9] While("PJSIP/Emerald-VoIP-00000024", "0") in new stack
  316. -- Executing [s@func-apply-sipheaders:16] Return("PJSIP/Emerald-VoIP-00000024", "") in new stack
  317. == Spawn extension (from-pstn, 1, 1) exited non-zero on 'PJSIP/Emerald-VoIP-00000024'
  318. -- PJSIP/Emerald-VoIP-00000024 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
  319. <--- Transmitting SIP request (1045 bytes) to UDP:34.226.36.34:5060 --->
  320. INVITE sip:[email protected]:5060 SIP/2.0
  321. Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPj9f978f8f-6a56-4e7e-9c78-d5958bc41e45
  322. From: <sip:[email protected]>;tag=dce37735-7654-42ca-92cf-a4d29733c80c
  323. Contact: <sip:[email protected]:5060>
  324. Call-ID: bd2f69fa-b89b-4eed-978f-b1e1ffa6637d
  325. CSeq: 32386 INVITE
  326. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  327. Supported: 100rel, timer, replaces, norefersub, histinfo
  328. Session-Expires: 1800
  329. Min-SE: 90
  330. Max-Forwards: 70
  331. User-Agent: FPBX-17.0.19.24(22.1.0)
  332. Content-Type: application/sdp
  333. Content-Length: 341
  334.  
  335. v=0
  336. o=- 1295168988 1295168988 IN IP4 198.90.89.110
  337. s=Asterisk
  338. c=IN IP4 198.90.89.110
  339. t=0 0
  340. m=audio 14304 RTP/AVP 0 8 9 3 111 101
  341. a=rtpmap:0 PCMU/8000
  342. a=rtpmap:8 PCMA/8000
  343. a=rtpmap:9 G722/8000
  344. a=rtpmap:3 GSM/8000
  345. a=rtpmap:111 G726-32/8000
  346. a=rtpmap:101 telephone-event/8000
  347. a=fmtp:101 0-16
  348. a=ptime:20
  349. a=maxptime:140
  350. a=sendrecv
  351.  
  352. -- Called PJSIP/1@Emerald-VoIP
  353. <--- Received SIP response (353 bytes) from UDP:34.226.36.34:5060 --->
  354. SIP/2.0 100 Trying
  355. Via: SIP/2.0/UDP 198.90.89.110:5060;rport=24791;branch=z9hG4bKPj9f978f8f-6a56-4e7e-9c78-d5958bc41e45;received=198.90.89.110
  356. From: <sip:[email protected]>;tag=dce37735-7654-42ca-92cf-a4d29733c80c
  357. Call-ID: bd2f69fa-b89b-4eed-978f-b1e1ffa6637d
  358. CSeq: 32386 INVITE
  359. Content-Length: 0
  360.  
  361.  
  362. <--- Received SIP response (530 bytes) from UDP:34.226.36.34:5060 --->
  363. SIP/2.0 407 Proxy Authentication Required
  364. Via: SIP/2.0/UDP 198.90.89.110:5060;received=198.90.89.110;rport=24791;branch=z9hG4bKPj9f978f8f-6a56-4e7e-9c78-d5958bc41e45
  365. From: <sip:[email protected]>;tag=dce37735-7654-42ca-92cf-a4d29733c80c
  366. To: <sip:[email protected]>;tag=bf8638324618dc61059d4c604476fea1.4a917336
  367. Call-ID: bd2f69fa-b89b-4eed-978f-b1e1ffa6637d
  368. CSeq: 32386 INVITE
  369. Proxy-Authenticate: Digest realm="sip.flowroute.com", nonce="Z8k+A2fJPNfbv6S0pdMtPK7aI0BSxIhj", qop="auth"
  370. Content-Length: 0
  371.  
  372.  
  373. <--- Transmitting SIP request (456 bytes) to UDP:34.226.36.34:5060 --->
  374. ACK sip:[email protected]:5060 SIP/2.0
  375. Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPj9f978f8f-6a56-4e7e-9c78-d5958bc41e45
  376. From: <sip:[email protected]>;tag=dce37735-7654-42ca-92cf-a4d29733c80c
  377. To: <sip:[email protected]>;tag=bf8638324618dc61059d4c604476fea1.4a917336
  378. Call-ID: bd2f69fa-b89b-4eed-978f-b1e1ffa6637d
  379. CSeq: 32386 ACK
  380. Max-Forwards: 70
  381. User-Agent: FPBX-17.0.19.24(22.1.0)
  382. Content-Length: 0
  383.  
  384.  
  385. [2025-03-06 01:12:39] ERROR[16902]: res_pjsip_outbound_authenticator_digest.c:450 digest_create_request_with_auth: Endpoint: 'Emerald-VoIP': There were no auth ids available
  386. -- PJSIP/Emerald-VoIP-00000024 Internal Gosub(app-missedcall-hangup,Emerald,1) start
  387. -- Executing [Emerald@app-missedcall-hangup:1] NoOp("PJSIP/Emerald-VoIP-00000024", "Dialed: Emerald") in new stack
  388. -- Executing [Emerald@app-missedcall-hangup:2] NoOp("PJSIP/Emerald-VoIP-00000024", "Caller: 200") in new stack
  389. -- Executing [Emerald@app-missedcall-hangup:3] GotoIf("PJSIP/Emerald-VoIP-00000024", "0?exit") in new stack
  390. -- Executing [Emerald@app-missedcall-hangup:4] Set("PJSIP/Emerald-VoIP-00000024", "EXTENNUM=Emerald") in new stack
  391. -- Executing [Emerald@app-missedcall-hangup:5] Set("PJSIP/Emerald-VoIP-00000024", "FEXTENNUM=Emerald") in new stack
  392. -- Executing [Emerald@app-missedcall-hangup:6] GotoIf("PJSIP/Emerald-VoIP-00000024", "0?exit") in new stack
  393. -- Executing [Emerald@app-missedcall-hangup:7] AGI("PJSIP/Emerald-VoIP-00000024", "agi://127.0.0.1/missedcallnotify.php,Emerald,,Emerald,0,,PJSIP/Emerald-VoIP-00000024,,,,") in new stack
  394. -- <PJSIP/Emerald-VoIP-00000024>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
  395. -- Executing [Emerald@app-missedcall-hangup:8] Return("PJSIP/Emerald-VoIP-00000024", "") in new stack
  396. == Spawn extension (from-pstn, 1, 1) exited non-zero on 'PJSIP/Emerald-VoIP-00000024'
  397. -- PJSIP/Emerald-VoIP-00000024 Internal Gosub(app-missedcall-hangup,Emerald,1) complete GOSUB_RETVAL=
  398. == Everyone is busy/congested at this time (1:0/0/1)
  399. -- Executing [1@trunk-dial-with-exten:2] Return("PJSIP/200-00000023", "") in new stack
  400. -- Executing [s@macro-dialout-trunk:39] NoOp("PJSIP/200-00000023", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  401. -- Executing [s@macro-dialout-trunk:40] GotoIf("PJSIP/200-00000023", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  402. -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  403. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/200-00000023", "RC=21") in new stack
  404. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/200-00000023", "21,1") in new stack
  405. -- Goto (macro-dialout-trunk,21,1)
  406. -- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/200-00000023", "continue,1") in new stack
  407. -- Goto (macro-dialout-trunk,continue,1)
  408. -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/200-00000023", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  409. -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/200-00000023", "1?Set(CALLERID(number)=200)") in new stack
  410. -- Executing [continue@macro-dialout-trunk:3] Return("PJSIP/200-00000023", "") in new stack
  411. -- Executing [1PHONENUMBER@from-internal:13] Gosub("PJSIP/200-00000023", "macro-outisbusy,s,1()") in new stack
  412. -- Executing [s@macro-outisbusy:1] Progress("PJSIP/200-00000023", "") in new stack
  413. -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/200-00000023", "0?emergency,1") in new stack
  414. -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/200-00000023", "0?intracompany,1") in new stack
  415. -- Executing [s@macro-outisbusy:4] Playback("PJSIP/200-00000023", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  416. -- <PJSIP/200-00000023> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  417. <--- Transmitting SIP response (803 bytes) to UDP:10.10.10.80:5060 --->
  418. SIP/2.0 183 Session Progress
  419. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1263508066
  420. From: <sip:[email protected]>;tag=842629330
  421. To: <sip:[email protected]>;tag=c1776296-85c8-47db-acfa-497af80bf181
  422. CSeq: 2 INVITE
  423. Server: FPBX-17.0.19.24(22.1.0)
  424. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  425. Contact: <sip:10.10.10.14:5060>
  426. Content-Type: application/sdp
  427. Content-Length: 273
  428.  
  429. v=0
  430. o=- 20008 20010 IN IP4 10.10.10.14
  431. s=Asterisk
  432. c=IN IP4 10.10.10.14
  433. t=0 0
  434. m=audio 11996 RTP/AVP 0 8 9 101
  435. a=rtpmap:0 PCMU/8000
  436. a=rtpmap:8 PCMA/8000
  437. a=rtpmap:9 G722/8000
  438. a=rtpmap:101 telephone-event/8000
  439. a=fmtp:101 0-16
  440. a=ptime:20
  441. a=maxptime:140
  442. a=sendrecv
  443.  
  444. -- <PJSIP/200-00000023> Playing 'please-try-call-later.ulaw' (language 'en')
  445. -- Executing [s@macro-outisbusy:5] Congestion("PJSIP/200-00000023", "20") in new stack
  446. <--- Transmitting SIP response (490 bytes) to UDP:10.10.10.80:5060 --->
  447. SIP/2.0 503 Service Unavailable
  448. Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK1263508066
  449. From: <sip:[email protected]>;tag=842629330
  450. To: <sip:[email protected]>;tag=c1776296-85c8-47db-acfa-497af80bf181
  451. CSeq: 2 INVITE
  452. Server: FPBX-17.0.19.24(22.1.0)
  453. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
  454. Reason: Q.850;cause=21
  455. Content-Length: 0
  456.  
  457.  
  458. <--- Received SIP request (292 bytes) from UDP:10.10.10.80:5060 --->
  459. ACK sip:[email protected]:5060 SIP/2.0
  460. Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK1263508066
  461. From: <sip:[email protected]>;tag=842629330
  462. To: <sip:[email protected]>;tag=c1776296-85c8-47db-acfa-497af80bf181
  463. CSeq: 2 ACK
  464. Content-Length: 0
  465.  
  466.  
  467. == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/200-00000023'
  468. -- PJSIP/200-00000023 Internal Gosub(crm-hangup,s,1) start
  469. -- Executing [s@crm-hangup:1] NoOp("PJSIP/200-00000023", "Sending Hangup to CRM") in new stack
  470. -- Executing [s@crm-hangup:2] NoOp("PJSIP/200-00000023", "HANGUP CAUSE: 34") in new stack
  471. -- Executing [s@crm-hangup:3] ExecIf("PJSIP/200-00000023", "0?Set(__CRM_VOICEMAIL=)") in new stack
  472. -- Executing [s@crm-hangup:4] NoOp("PJSIP/200-00000023", "MASTER CHANNEL: 1741241558.46 = 1741241558.46") in new stack
  473. -- Executing [s@crm-hangup:5] GotoIf("PJSIP/200-00000023", "0?return") in new stack
  474. -- Executing [s@crm-hangup:6] Set("PJSIP/200-00000023", "__CRM_HANGUP=1") in new stack
  475. -- Executing [s@crm-hangup:7] AGI("PJSIP/200-00000023", "agi://127.0.0.1/sangomacrm.agi") in new stack
  476. -- <PJSIP/200-00000023>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  477. -- Executing [s@crm-hangup:8] Return("PJSIP/200-00000023", "") in new stack
  478. == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/200-00000023'
  479. -- PJSIP/200-00000023 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  480. FreePBX*CLI>
  481. Disconnected from Asterisk server
  482.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement