Advertisement
Guest User

asterisk paste pjsip log redacted

a guest
Jan 11th, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.21 KB | None | 0 0
  1. [root@freepbx ~]# clear
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. [root@freepbx ~]# asterisk -rvvvvvv
  63. Asterisk 18.16.0, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
  64. Created by Mark Spencer <[email protected]>
  65. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  66. This is free software, with components licensed under the GNU General Public
  67. License version 2 and other licenses; you are welcome to redistribute it under
  68. certain conditions. Type 'core show license' for details.
  69. =========================================================================
  70. Connected to Asterisk 18.16.0 currently running on freepbx (pid = 2310)
  71. <--- Received SIP request (926 bytes) from UDP:192.168.1.111:5060 --->
  72. INVITE sip:[email protected]:5060 SIP/2.0
  73. Via: SIP/2.0/UDP 192.168.1.111:5060;branch=z9hG4bKba2cbf9bfe7a4e5cc411
  74. From: "201" <sip:[email protected]:5060>;tag=1255358110
  75. To: <sip:[email protected]:5060>
  76. CSeq: 1 INVITE
  77. Contact: <sip:[email protected]:5060>
  78. Content-Type: application/sdp
  79. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  80. Max-Forwards: 70
  81. User-Agent: Yealink SIP-T41S 66.86.188.8 805ec0b9271d
  82. Allow-Events: talk,hold,conference,refer,check-sync
  83. Supported: replaces
  84. Content-Length: 308
  85.  
  86. v=0
  87. o=- 20054 20054 IN IP4 192.168.1.111
  88. s=SDP data
  89. c=IN IP4 192.168.1.111
  90. t=0 0
  91. m=audio 12106 RTP/AVP 9 0 8 18 101
  92. a=rtpmap:9 G722/8000
  93. a=rtpmap:0 PCMU/8000
  94. a=rtpmap:8 PCMA/8000
  95. a=rtpmap:18 G729/8000
  96. a=fmtp:18 annexb=no
  97. a=ptime:20
  98. a=sendrecv
  99. a=rtpmap:101 telephone-event/8000
  100. a=fmtp:101 0-15
  101.  
  102. <--- Transmitting SIP response (498 bytes) to UDP:192.168.1.111:5060 --->
  103. SIP/2.0 401 Unauthorized
  104. Via: SIP/2.0/UDP 192.168.1.111:5060;rport=5060;received=192.168.1.111;branch=z9hG4bKba2cbf9bfe7a4e5cc411
  105. From: "201" <sip:[email protected]>;tag=1255358110
  106. To: <sip:[email protected]>;tag=z9hG4bKba2cbf9bfe7a4e5cc411
  107. CSeq: 1 INVITE
  108. WWW-Authenticate: Digest realm="asterisk",nonce="1736579587/2d588e44bfe6a3e351ef9008f994a695",opaque="452759ba0cf5487a",algorithm=MD5,qop="auth"
  109. Server: FPBX-16.0.33(18.16.0)
  110. Content-Length: 0
  111.  
  112.  
  113. <--- Received SIP request (298 bytes) from UDP:192.168.1.111:5060 --->
  114. ACK sip:[email protected]:5060 SIP/2.0
  115. Via: SIP/2.0/UDP 192.168.1.111:5060;branch=z9hG4bKba2cbf9bfe7a4e5cc411
  116. From: "201" <sip:[email protected]>;tag=1255358110
  117. To: <sip:[email protected]>;tag=z9hG4bKba2cbf9bfe7a4e5cc411
  118. CSeq: 1 ACK
  119. Content-Length: 0
  120.  
  121.  
  122. <--- Received SIP request (1191 bytes) from UDP:192.168.1.111:5060 --->
  123. INVITE sip:[email protected]:5060 SIP/2.0
  124. Via: SIP/2.0/UDP 192.168.1.111:5060;branch=z9hG4bK1255534972
  125. From: "201" <sip:[email protected]:5060>;tag=1255358110
  126. To: <sip:[email protected]:5060>
  127. CSeq: 2 INVITE
  128. Contact: <sip:[email protected]:5060>
  129. Authorization: Digest username="201", realm="asterisk", nonce="1736579587/2d588e44bfe6a3e351ef9008f994a695", uri="sip:[email protected]:5060", response="ef12484193467fd3fa710465f0987254", algorithm=MD5, cnonce="1255542189", opaque="452759ba0cf5487a", qop=auth, nc=00000001
  130. Content-Type: application/sdp
  131. Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  132. Max-Forwards: 70
  133. User-Agent: Yealink SIP-T41S 66.86.188.8 805ec0b9271d
  134. Allow-Events: talk,hold,conference,refer,check-sync
  135. Supported: replaces
  136. Content-Length: 308
  137.  
  138. v=0
  139. o=- 20054 20054 IN IP4 192.168.1.111
  140. s=SDP data
  141. c=IN IP4 192.168.1.111
  142. t=0 0
  143. m=audio 12106 RTP/AVP 9 0 8 18 101
  144. a=rtpmap:9 G722/8000
  145. a=rtpmap:0 PCMU/8000
  146. a=rtpmap:8 PCMA/8000
  147. a=rtpmap:18 G729/8000
  148. a=fmtp:18 annexb=no
  149. a=ptime:20
  150. a=sendrecv
  151. a=rtpmap:101 telephone-event/8000
  152. a=fmtp:101 0-15
  153.  
  154. <--- Transmitting SIP response (304 bytes) to UDP:192.168.1.111:5060 --->
  155. SIP/2.0 100 Trying
  156. Via: SIP/2.0/UDP 192.168.1.111:5060;rport=5060;received=192.168.1.111;branch=z9hG4bK1255534972
  157. From: "201" <sip:[email protected]>;tag=1255358110
  158. CSeq: 2 INVITE
  159. Server: FPBX-16.0.33(18.16.0)
  160. Content-Length: 0
  161.  
  162.  
  163. == Using SIP RTP Audio TOS bits 184
  164. == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  165. == Using SIP RTP Audio CoS mark 5
  166. -- Executing [1200@from-internal:1] Macro("PJSIP/201-0000001f", "user-callerid,LIMIT,EXTERNAL,") in new stack
  167. -- Executing [s@macro-user-callerid:1] Set("PJSIP/201-0000001f", "TOUCH_MONITOR=1736579587.31") in new stack
  168. -- Executing [s@macro-user-callerid:2] Set("PJSIP/201-0000001f", "CHANCONTEXT=") in new stack
  169. -- Executing [s@macro-user-callerid:3] Progress("PJSIP/201-0000001f", "") in new stack
  170. -- Executing [s@macro-user-callerid:4] Set("PJSIP/201-0000001f", "CHANCONTEXT=") in new stack
  171. -- Executing [s@macro-user-callerid:5] Set("PJSIP/201-0000001f", "CHANEXTENCONTEXT=201-0000001f") in new stack
  172. -- Executing [s@macro-user-callerid:6] Set("PJSIP/201-0000001f", "CHANEXTEN=201-0000001f") in new stack
  173. -- Executing [s@macro-user-callerid:7] Set("PJSIP/201-0000001f", "CALLERID(number)=201") in new stack
  174. -- Executing [s@macro-user-callerid:8] Set("PJSIP/201-0000001f", "AMPUSER=201") in new stack
  175. -- Executing [s@macro-user-callerid:9] Set("PJSIP/201-0000001f", "HOTDESCKCHAN=201-0000001f") in new stack
  176. -- Executing [s@macro-user-callerid:10] Set("PJSIP/201-0000001f", "HOTDESKEXTEN=201") in new stack
  177. -- Executing [s@macro-user-callerid:11] Set("PJSIP/201-0000001f", "HOTDESKCALL=0") in new stack
  178. -- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/201-0000001f", "0?Set(HOTDESKCALL=1)") in new stack
  179. -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name)=)") in new stack
  180. -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/201-0000001f", "0?report") in new stack
  181. -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/201-0000001f", "1?Set(REALCALLERIDNUM=201)") in new stack
  182. -- Executing [s@macro-user-callerid:16] Set("PJSIP/201-0000001f", "AMPUSER=201") in new stack
  183. -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/201-0000001f", "0?limit") in new stack
  184. -- Executing [s@macro-user-callerid:18] Set("PJSIP/201-0000001f", "AMPUSERCIDNAME=Yealink desk") in new stack
  185. -- Executing [s@macro-user-callerid:19] ExecIf("PJSIP/201-0000001f", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  186. -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/201-0000001f", "0?report") in new stack
  187. -- Executing [s@macro-user-callerid:21] Set("PJSIP/201-0000001f", "AMPUSERCID=201") in new stack
  188. -- Executing [s@macro-user-callerid:22] Set("PJSIP/201-0000001f", "__DIAL_OPTIONS=HhTtr") in new stack
  189. -- Executing [s@macro-user-callerid:23] Set("PJSIP/201-0000001f", "CALLERID(all)="Yealink desk" <201>") in new stack
  190. -- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/201-0000001f", "0?Set(CUSDIAL=)") in new stack
  191. -- Executing [s@macro-user-callerid:25] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(all)="Yealink desk" <201>)") in new stack
  192. -- Executing [s@macro-user-callerid:26] GotoIf("PJSIP/201-0000001f", "0?limit") in new stack
  193. -- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/201-0000001f", "1?Set(GROUP(concurrency_limit)=201)") in new stack
  194. -- Executing [s@macro-user-callerid:28] ExecIf("PJSIP/201-0000001f", "1?Set(CHANNEL(language)=en)") in new stack
  195. -- Executing [s@macro-user-callerid:29] NoOp("PJSIP/201-0000001f", "Macro Depth is 1") in new stack
  196. -- Executing [s@macro-user-callerid:30] GotoIf("PJSIP/201-0000001f", "1?report2:macroerror") in new stack
  197. -- Goto (macro-user-callerid,s,31)
  198. -- Executing [s@macro-user-callerid:31] GotoIf("PJSIP/201-0000001f", "1?continue") in new stack
  199. -- Goto (macro-user-callerid,s,50)
  200. -- Executing [s@macro-user-callerid:50] Set("PJSIP/201-0000001f", "CALLERID(number)=201") in new stack
  201. -- Executing [s@macro-user-callerid:51] Set("PJSIP/201-0000001f", "CALLERID(name)=Yealink desk") in new stack
  202. -- Executing [s@macro-user-callerid:52] GotoIf("PJSIP/201-0000001f", "0?cnum") in new stack
  203. -- Executing [s@macro-user-callerid:53] Set("PJSIP/201-0000001f", "__MCNUM=201") in new stack
  204. -- Executing [s@macro-user-callerid:54] Set("PJSIP/201-0000001f", "__MCNAME=Yealink desk") in new stack
  205. -- Executing [s@macro-user-callerid:55] Set("PJSIP/201-0000001f", "__MCEXTEN=201") in new stack
  206. -- Executing [s@macro-user-callerid:56] Set("PJSIP/201-0000001f", "__MCORGCHAN=PJSIP/201-0000001f") in new stack
  207. -- Executing [s@macro-user-callerid:57] Set("PJSIP/201-0000001f", "CDR(cnam)=Yealink desk") in new stack
  208. > 0x7f0b1804a260 -- Strict RTP learning after remote address set to: 192.168.1.111:12106
  209. <--- Transmitting SIP response (812 bytes) to UDP:192.168.1.111:5060 --->
  210. SIP/2.0 183 Session Progress
  211. Via: SIP/2.0/UDP 192.168.1.111:5060;rport=5060;received=192.168.1.111;branch=z9hG4bK1255534972
  212. From: "201" <sip:[email protected]>;tag=1255358110
  213. To: <sip:[email protected]>;tag=db9df6dc-42c7-4edf-b9b0-5f7931aac20e
  214. CSeq: 2 INVITE
  215. Server: FPBX-16.0.33(18.16.0)
  216. Contact: <sip:192.168.1.110:5060>
  217. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
  218. Content-Type: application/sdp
  219. Content-Length: 277
  220.  
  221. v=0
  222. o=- 20054 20056 IN IP4 192.168.1.110
  223. s=Asterisk
  224. c=IN IP4 192.168.1.110
  225. t=0 0
  226. m=audio 11016 RTP/AVP 9 0 8 101
  227. a=rtpmap:9 G722/8000
  228. a=rtpmap:0 PCMU/8000
  229. a=rtpmap:8 PCMA/8000
  230. a=rtpmap:101 telephone-event/8000
  231. a=fmtp:101 0-16
  232. a=ptime:20
  233. a=maxptime:150
  234. a=sendrecv
  235.  
  236. -- Executing [s@macro-user-callerid:58] Set("PJSIP/201-0000001f", "CDR(cnum)=201") in new stack
  237. -- Executing [s@macro-user-callerid:59] Set("PJSIP/201-0000001f", "CHANNEL(language)=en") in new stack
  238. -- Executing [1200@from-internal:2] Gosub("PJSIP/201-0000001f", "sub-record-check,s,1(out,1200,force)") in new stack
  239. -- Executing [s@sub-record-check:1] GotoIf("PJSIP/201-0000001f", "0?initialized") in new stack
  240. -- Executing [s@sub-record-check:2] Set("PJSIP/201-0000001f", "__REC_STATUS=INITIALIZED") in new stack
  241. -- Executing [s@sub-record-check:3] Set("PJSIP/201-0000001f", "NOW=1736579587") in new stack
  242. -- Executing [s@sub-record-check:4] Set("PJSIP/201-0000001f", "__DAY=11") in new stack
  243. -- Executing [s@sub-record-check:5] Set("PJSIP/201-0000001f", "__MONTH=01") in new stack
  244. -- Executing [s@sub-record-check:6] Set("PJSIP/201-0000001f", "__YEAR=2025") in new stack
  245. -- Executing [s@sub-record-check:7] Set("PJSIP/201-0000001f", "__TIMESTR=20250111-071307") in new stack
  246. -- Executing [s@sub-record-check:8] Set("PJSIP/201-0000001f", "__FROMEXTEN=201") in new stack
  247. -- Executing [s@sub-record-check:9] Set("PJSIP/201-0000001f", "__MON_FMT=wav") in new stack
  248. -- Executing [s@sub-record-check:10] NoOp("PJSIP/201-0000001f", "Recordings initialized") in new stack
  249. -- Executing [s@sub-record-check:11] ExecIf("PJSIP/201-0000001f", "0?Set(ARG3=dontcare)") in new stack
  250. -- Executing [s@sub-record-check:12] Set("PJSIP/201-0000001f", "REC_POLICY_MODE_SAVE=") in new stack
  251. -- Executing [s@sub-record-check:13] ExecIf("PJSIP/201-0000001f", "0?Set(REC_STATUS=NO)") in new stack
  252. -- Executing [s@sub-record-check:14] GotoIf("PJSIP/201-0000001f", "3?checkaction") in new stack
  253. -- Goto (sub-record-check,s,17)
  254. -- Executing [s@sub-record-check:17] GotoIf("PJSIP/201-0000001f", "1?sub-record-check,out,1") in new stack
  255. -- Goto (sub-record-check,out,1)
  256. -- Executing [out@sub-record-check:1] NoOp("PJSIP/201-0000001f", "Outbound Recording Check from 201 to 1200") in new stack
  257. -- Executing [out@sub-record-check:2] Set("PJSIP/201-0000001f", "RECMODE=yes") in new stack
  258. -- Executing [out@sub-record-check:3] ExecIf("PJSIP/201-0000001f", "0?Goto(routewins)") in new stack
  259. -- Executing [out@sub-record-check:4] ExecIf("PJSIP/201-0000001f", "1?Goto(routewins)") in new stack
  260. -- Goto (sub-record-check,out,7)
  261. -- Executing [out@sub-record-check:7] Gosub("PJSIP/201-0000001f", "recordcheck,1(force,out,1200)") in new stack
  262. -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/201-0000001f", "Starting recording check against force") in new stack
  263. -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/201-0000001f", "force") in new stack
  264. -- Goto (sub-record-check,recordcheck,5)
  265. -- Executing [recordcheck@sub-record-check:5] Set("PJSIP/201-0000001f", "__REC_POLICY_MODE=FORCE") in new stack
  266. -- Executing [recordcheck@sub-record-check:6] GotoIf("PJSIP/201-0000001f", "1?startrec") in new stack
  267. -- Goto (sub-record-check,recordcheck,16)
  268. -- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/201-0000001f", "Starting recording: out, 1200") in new stack
  269. -- Executing [recordcheck@sub-record-check:17] ExecIf("PJSIP/201-0000001f", "0?Set(RECFROMEXTEN=)") in new stack
  270. -- Executing [recordcheck@sub-record-check:18] ExecIf("PJSIP/201-0000001f", "1?Set(RECFROMEXTEN=201)") in new stack
  271. -- Executing [recordcheck@sub-record-check:19] Set("PJSIP/201-0000001f", "__CALLFILENAME=out-1200-201-20250111-071307-1736579587.31") in new stack
  272. -- Executing [recordcheck@sub-record-check:20] Set("PJSIP/201-0000001f", "_LOCAL_MIXMON_ID=20250111-071307-1736579587.31") in new stack
  273. -- Executing [recordcheck@sub-record-check:21] MixMonitor("PJSIP/201-0000001f", "2025/01/11/out-1200-201-20250111-071307-1736579587.31.wav,abi(20250111-071307-1736579587.31),") in new stack
  274. -- Executing [recordcheck@sub-record-check:22] Set("PJSIP/201-0000001f", "__MIXMON_ID=20250111-071307-1736579587.31") in new stack
  275. -- Executing [recordcheck@sub-record-check:23] Set("PJSIP/201-0000001f", "__RECORD_ID=PJSIP/201-0000001f") in new stack
  276. -- Executing [recordcheck@sub-record-check:24] Set("PJSIP/201-0000001f", "__REC_STATUS=RECORDING") in new stack
  277. -- Executing [recordcheck@sub-record-check:25] Set("PJSIP/201-0000001f", "CDR(recordingfile)=out-1200-201-20250111-071307-1736579587.31.wav") in new stack
  278. -- Executing [recordcheck@sub-record-check:26] Return("PJSIP/201-0000001f", "") in new stack
  279. -- Executing [out@sub-record-check:8] Return("PJSIP/201-0000001f", "") in new stack
  280. -- Executing [1200@from-internal:3] ExecIf("PJSIP/201-0000001f", "0 ?Set(CDR(accountcode)=)") in new stack
  281. -- Executing [1200@from-internal:4] Set("PJSIP/201-0000001f", "_ROUTEID=1") in new stack
  282. -- Executing [1200@from-internal:5] Set("PJSIP/201-0000001f", "_ROUTENAME=home") in new stack
  283. -- Executing [1200@from-internal:6] Set("PJSIP/201-0000001f", "MOHCLASS=default") in new stack
  284. -- Executing [1200@from-internal:7] ExecIf("PJSIP/201-0000001f", "1?Set(TRUNKCIDOVERRIDE=REDACTED)") in new stack
  285. -- Executing [1200@from-internal:8] Set("PJSIP/201-0000001f", "_CALLERIDNAMEINTERNAL=Yealink desk") in new stack
  286. -- Executing [1200@from-internal:9] Set("PJSIP/201-0000001f", "_CALLERIDNUMINTERNAL=201") in new stack
  287. -- Executing [1200@from-internal:10] Set("PJSIP/201-0000001f", "_EMAILNOTIFICATION=FALSE") in new stack
  288. -- Executing [1200@from-internal:11] Set("PJSIP/201-0000001f", "_NODEST=") in new stack
  289. -- Executing [1200@from-internal:12] Macro("PJSIP/201-0000001f", "dialout-trunk,1,1200,,off") in new stack
  290. -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/201-0000001f", "DIAL_TRUNK=1") in new stack
  291. -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  292. -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
  293. -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  294. -- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/201-0000001f", "0?sub-pincheck,s,1()") in new stack
  295. -- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(num)=201)") in new stack
  296. -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/201-0000001f", "0?disabletrunk,1") in new stack
  297. -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/201-0000001f", "DIAL_NUMBER=1200") in new stack
  298. -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/201-0000001f", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  299. -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/201-0000001f", "OUTBOUND_GROUP=OUT_1") in new stack
  300. -- Executing [s@macro-dialout-trunk:11] Set("PJSIP/201-0000001f", "DIAL_TRUNK_OPTIONS=T") in new stack
  301. -- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  302. -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/201-0000001f", "1?nomax") in new stack
  303. -- Goto (macro-dialout-trunk,s,15)
  304. -- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/201-0000001f", "0?skipoutcid") in new stack
  305. -- Executing [s@macro-dialout-trunk:16] Macro("PJSIP/201-0000001f", "outbound-callerid,1") in new stack
  306. -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/201-0000001f", "201") in new stack
  307. -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/201-0000001f", "") in new stack
  308. -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/201-0000001f", "off") in new stack
  309. -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name-pres)=)") in new stack
  310. -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(num-pres)=)") in new stack
  311. -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/201-0000001f", "HOTDESCKCHAN=201-0000001f") in new stack
  312. -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/201-0000001f", "HOTDESKEXTEN=201") in new stack
  313. -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/201-0000001f", "HOTDESKCALL=0") in new stack
  314. -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/201-0000001f", "0?Set(HOTDESKCALL=1)") in new stack
  315. -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name)=)") in new stack
  316. -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/201-0000001f", "ALLOWTHISROUTE=NO") in new stack
  317. -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/201-0000001f", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  318. -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/201-0000001f", "0?Hangup()") in new stack
  319. -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/201-0000001f", "0?Set(REALCALLERIDNUM=201)") in new stack
  320. -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/201-0000001f", "0?Set(AMPUSER=201)") in new stack
  321. -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/201-0000001f", "1?normcid") in new stack
  322. -- Goto (macro-outbound-callerid,s,20)
  323. -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/201-0000001f", "USEROUTCID=") in new stack
  324. -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/201-0000001f", "EMERGENCYCID=REDACTED") in new stack
  325. -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/201-0000001f", "0?Set(SCDEXT=YES)") in new stack
  326. -- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/201-0000001f", "0?Set(EMERGENCYCID=)") in new stack
  327. -- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name)=)") in new stack
  328. -- Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/201-0000001f", "0?Set(EMERGENCYCID=)") in new stack
  329. -- Executing [s@macro-outbound-callerid:26] Set("PJSIP/201-0000001f", "TRUNKOUTCID=REDACTED") in new stack
  330. -- Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/201-0000001f", "1?trunkcid") in new stack
  331. -- Goto (macro-outbound-callerid,s,33)
  332. -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/201-0000001f", "1?Set(CALLERID(all)=REDACTED)") in new stack
  333. -- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(all)=)") in new stack
  334. -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/201-0000001f", "1?Set(CALLERID(all)=REDACTED)") in new stack
  335. -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(all)=201)") in new stack
  336. -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(all)=201)") in new stack
  337. -- Executing [s@macro-outbound-callerid:38] Set("PJSIP/201-0000001f", "TIOHIDE=no") in new stack
  338. -- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  339. -- Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  340. -- Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
  341. -- Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/201-0000001f", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
  342. -- Executing [s@macro-outbound-callerid:43] Set("PJSIP/201-0000001f", "CDR(outbound_cnum)=REDACTED") in new stack
  343. == Begin MixMonitor Recording PJSIP/201-0000001f
  344. -- Executing [s@macro-outbound-callerid:44] Set("PJSIP/201-0000001f", "CDR(outbound_cnam)=") in new stack
  345. -- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/201-0000001f", "0?sub-flp-1,s,1()") in new stack
  346. -- Executing [s@macro-dialout-trunk:18] Set("PJSIP/201-0000001f", "OUTNUM=1200") in new stack
  347. -- Executing [s@macro-dialout-trunk:19] Set("PJSIP/201-0000001f", "custom=PJSIP") in new stack
  348. -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  349. -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  350. -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/201-0000001f", "0?AGI(allowlist-autoadd.agi,)") in new stack
  351. -- Executing [s@macro-dialout-trunk:23] Macro("PJSIP/201-0000001f", "dialout-trunk-predial-hook,") in new stack
  352. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/201-0000001f", "") in new stack
  353. -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/201-0000001f", "0?skipcrm") in new stack
  354. -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/201-0000001f", "__CRM_DIRECTION=OUTBOUND") in new stack
  355. -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/201-0000001f", "__CRM_DESTINATION=1200") in new stack
  356. -- Executing [s@macro-dialout-trunk:27] Set("PJSIP/201-0000001f", "__CRM_SOURCE=201") in new stack
  357. -- Executing [s@macro-dialout-trunk:28] AGI("PJSIP/201-0000001f", "agi://127.0.0.1/sangomacrm.agi") in new stack
  358. > 0x7f0b1804a260 -- Strict RTP switching to RTP target address 192.168.1.111:12106 as source
  359. -- <PJSIP/201-0000001f>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  360. -- Executing [s@macro-dialout-trunk:29] Set("PJSIP/201-0000001f", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  361. -- Executing [s@macro-dialout-trunk:30] NoOp("PJSIP/201-0000001f", "CRM Finished") in new stack
  362. -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/201-0000001f", "0?bypass,1") in new stack
  363. -- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/201-0000001f", "1?Set(CONNECTEDLINE(num,i)=1200)") in new stack
  364. -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/201-0000001f", "1?Set(CONNECTEDLINE(name,i)=CID:REDACTED)") in new stack
  365. -- Executing [s@macro-dialout-trunk:34] ExecIf("PJSIP/201-0000001f", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)REDACTED)") in new stack
  366. -- Executing [s@macro-dialout-trunk:35] GotoIf("PJSIP/201-0000001f", "0?customtrunk") in new stack
  367. -- Executing [s@macro-dialout-trunk:36] ExecIf("PJSIP/201-0000001f", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  368. -- Executing [s@macro-dialout-trunk:37] Set("PJSIP/201-0000001f", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
  369. -- Executing [s@macro-dialout-trunk:38] Dial("PJSIP/201-0000001f", "PJSIP/1200@main,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^1200^1200^1^1736579587^^REDACTED)") in new stack
  370. [2025-01-11 07:13:07] ERROR[30233]: res_pjsip.c:849 ast_sip_create_dialog_uac: Endpoint 'main': Could not create dialog to invalid URI 'main'. Is endpoint registered and reachable?
  371. [2025-01-11 07:13:07] ERROR[30233]: chan_pjsip.c:2672 request: Failed to create outgoing session to endpoint 'main'
  372. [2025-01-11 07:13:07] NOTICE[14754][C-0000001e]: app_dial.c:2707 dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination)
  373. == Everyone is busy/congested at this time (1:0/0/1)
  374. -- Executing [s@macro-dialout-trunk:39] NoOp("PJSIP/201-0000001f", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 3") in new stack
  375. -- Executing [s@macro-dialout-trunk:40] GotoIf("PJSIP/201-0000001f", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  376. -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  377. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/201-0000001f", "RC=3") in new stack
  378. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/201-0000001f", "3,1") in new stack
  379. -- Goto (macro-dialout-trunk,3,1)
  380. -- Executing [3@macro-dialout-trunk:1] Goto("PJSIP/201-0000001f", "continue,1") in new stack
  381. -- Goto (macro-dialout-trunk,continue,1)
  382. -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/201-0000001f", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 3 - failing through to other trunks") in new stack
  383. -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/201-0000001f", "1?Set(CALLERID(number)=201)") in new stack
  384. -- Executing [1200@from-internal:13] Macro("PJSIP/201-0000001f", "outisbusy,") in new stack
  385. -- Executing [s@macro-outisbusy:1] Progress("PJSIP/201-0000001f", "") in new stack
  386. -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/201-0000001f", "0?emergency,1") in new stack
  387. -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/201-0000001f", "0?intracompany,1") in new stack
  388. -- Executing [s@macro-outisbusy:4] Playback("PJSIP/201-0000001f", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  389. -- <PJSIP/201-0000001f> Playing 'all-circuits-busy-now.g722' (language 'en')
  390. <--- Transmitting SIP response (876 bytes) to UDP:192.168.1.111:5060 --->
  391. SIP/2.0 183 Session Progress
  392. Via: SIP/2.0/UDP 192.168.1.111:5060;rport=5060;received=192.168.1.111;branch=z9hG4bK1255534972
  393. From: "201" <sip:[email protected]>;tag=1255358110
  394. To: <sip:[email protected]>;tag=db9df6dc-42c7-4edf-b9b0-5f7931aac20e
  395. CSeq: 2 INVITE
  396. Server: FPBX-16.0.33(18.16.0)
  397. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
  398. Contact: <sip:192.168.1.110:5060>
  399. P-Asserted-Identity: "CID:REDACTED" <sip:[email protected]>
  400. Content-Type: application/sdp
  401. Content-Length: 277
  402.  
  403. v=0
  404. o=- 20054 20056 IN IP4 192.168.1.110
  405. s=Asterisk
  406. c=IN IP4 192.168.1.110
  407. t=0 0
  408. m=audio 11016 RTP/AVP 9 0 8 101
  409. a=rtpmap:9 G722/8000
  410. a=rtpmap:0 PCMU/8000
  411. a=rtpmap:8 PCMA/8000
  412. a=rtpmap:101 telephone-event/8000
  413. a=fmtp:101 0-16
  414. a=ptime:20
  415. a=maxptime:150
  416. a=sendrecv
  417.  
  418. -- <PJSIP/201-0000001f> Playing 'please-try-call-later.g722' (language 'en')
  419. <--- Transmitting SIP request (428 bytes) to UDP:192.168.1.100:5060 --->
  420. OPTIONS sip:[email protected]:5060;ob SIP/2.0
  421. Via: SIP/2.0/UDP 192.168.1.110:5060;rport;branch=z9hG4bKPj70b19dff-4e4b-4948-9741-eba78349f13f
  422. From: <sip:[email protected]>;tag=ee041ebf-10ce-474c-bfe9-20300930af6c
  423. To: <sip:[email protected];ob>
  424. Contact: <sip:[email protected]:5060>
  425. Call-ID: cd9b5dba-2610-42ca-b4c0-d237f8862c2a
  426. CSeq: 31084 OPTIONS
  427. Max-Forwards: 70
  428. User-Agent: FPBX-16.0.33(18.16.0)
  429. Content-Length: 0
  430.  
  431.  
  432. <--- Received SIP response (783 bytes) from UDP:192.168.1.100:5060 --->
  433. SIP/2.0 200 OK
  434. Via: SIP/2.0/UDP 192.168.1.110:5060;rport=5060;received=192.168.1.110;branch=z9hG4bKPj70b19dff-4e4b-4948-9741-eba78349f13f
  435. Call-ID: cd9b5dba-2610-42ca-b4c0-d237f8862c2a
  436. From: <sip:[email protected]>;tag=ee041ebf-10ce-474c-bfe9-20300930af6c
  437. To: <sip:[email protected];ob>;tag=z9hG4bKPj70b19dff-4e4b-4948-9741-eba78349f13f
  438. CSeq: 31084 OPTIONS
  439. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
  440. Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
  441. Supported: replaces, 100rel, timer, norefersub
  442. Allow-Events: presence, message-summary, refer
  443. User-Agent: Telephone 1.6
  444. Content-Length: 0
  445.  
  446.  
  447. -- Executing [s@macro-outisbusy:5] Congestion("PJSIP/201-0000001f", "20") in new stack
  448. <--- Transmitting SIP response (557 bytes) to UDP:192.168.1.111:5060 --->
  449. SIP/2.0 503 Service Unavailable
  450. Via: SIP/2.0/UDP 192.168.1.111:5060;rport=5060;received=192.168.1.111;branch=z9hG4bK1255534972
  451. From: "201" <sip:[email protected]>;tag=1255358110
  452. To: <sip:[email protected]>;tag=db9df6dc-42c7-4edf-b9b0-5f7931aac20e
  453. CSeq: 2 INVITE
  454. Server: FPBX-16.0.33(18.16.0)
  455. Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
  456. Reason: Q.850;cause=34
  457. P-Asserted-Identity: "CID:REDACTED" <sip:[email protected]>
  458. Content-Length: 0
  459.  
  460.  
  461. == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/201-0000001f' in macro 'outisbusy'
  462. == Spawn extension (from-internal, 1200, 13) exited non-zero on 'PJSIP/201-0000001f'
  463. -- Executing [h@from-internal:1] Macro("PJSIP/201-0000001f", "hangupcall") in new stack
  464. -- Executing [s@macro-hangupcall:1] Gosub("PJSIP/201-0000001f", "app-missedcall-hangup,s,1()") in new stack
  465. -- Executing [s@app-missedcall-hangup:1] NoOp("PJSIP/201-0000001f", "Callee: s") in new stack
  466. -- Executing [s@app-missedcall-hangup:2] NoOp("PJSIP/201-0000001f", "Caller: 201") in new stack
  467. -- Executing [s@app-missedcall-hangup:3] AGI("PJSIP/201-0000001f", "agi://127.0.0.1/missedcallnotify.php,,,s,0,,PJSIP/201-0000001f,CHANUNAVAIL,") in new stack
  468. <--- Received SIP request (297 bytes) from UDP:192.168.1.111:5060 --->
  469. ACK sip:[email protected]:5060 SIP/2.0
  470. Via: SIP/2.0/UDP 192.168.1.111:5060;branch=z9hG4bK1255534972
  471. From: "201" <sip:[email protected]>;tag=1255358110
  472. To: <sip:[email protected]>;tag=db9df6dc-42c7-4edf-b9b0-5f7931aac20e
  473. CSeq: 2 ACK
  474. Content-Length: 0
  475.  
  476.  
  477. -- agi://127.0.0.1/missedcallnotify.php,,,s,0,,PJSIP/201-0000001f,CHANUNAVAIL,: As a minimum this script requires extension or 's' as argument
  478. -- <PJSIP/201-0000001f>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
  479. -- Executing [s@app-missedcall-hangup:4] Return("PJSIP/201-0000001f", "") in new stack
  480. -- Executing [s@macro-hangupcall:2] GotoIf("PJSIP/201-0000001f", "1?theend") in new stack
  481. -- Goto (macro-hangupcall,s,4)
  482. -- Executing [s@macro-hangupcall:4] ExecIf("PJSIP/201-0000001f", "0?Set(CDR(recordingfile)=)") in new stack
  483. -- Executing [s@macro-hangupcall:5] Hangup("PJSIP/201-0000001f", "") in new stack
  484. == Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'PJSIP/201-0000001f' in macro 'hangupcall'
  485. == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/201-0000001f'
  486. -- PJSIP/201-0000001f Internal Gosub(crm-hangup,s,1) start
  487. -- Executing [s@crm-hangup:1] NoOp("PJSIP/201-0000001f", "Sending Hangup to CRM") in new stack
  488. -- Executing [s@crm-hangup:2] NoOp("PJSIP/201-0000001f", "HANGUP CAUSE: 34") in new stack
  489. -- Executing [s@crm-hangup:3] ExecIf("PJSIP/201-0000001f", "0?Set(__CRM_VOICEMAIL=)") in new stack
  490. -- Executing [s@crm-hangup:4] NoOp("PJSIP/201-0000001f", "MASTER CHANNEL: 1736579587.31 = 1736579587.31") in new stack
  491. -- Executing [s@crm-hangup:5] GotoIf("PJSIP/201-0000001f", "0?return") in new stack
  492. -- Executing [s@crm-hangup:6] Set("PJSIP/201-0000001f", "__CRM_HANGUP=1") in new stack
  493. -- Executing [s@crm-hangup:7] AGI("PJSIP/201-0000001f", "agi://127.0.0.1/sangomacrm.agi") in new stack
  494. -- <PJSIP/201-0000001f>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  495. -- Executing [s@crm-hangup:8] Return("PJSIP/201-0000001f", "") in new stack
  496. == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/201-0000001f'
  497. -- PJSIP/201-0000001f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  498. == MixMonitor close filestream (mixed)
  499. == End MixMonitor Recording PJSIP/201-0000001f
  500. <--- Transmit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement