Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@FreePBX:~# asterisk -rvvvv
- Asterisk 22.1.0, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
- Created by Mark Spencer <[email protected]>
- Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
- This is free software, with components licensed under the GNU General Public
- License version 2 and other licenses; you are welcome to redistribute it under
- certain conditions. Type 'core show license' for details.
- =========================================================================
- Connected to Asterisk 22.1.0 currently running on FreePBX (pid = 2479)
- FreePBX*CLI> pjsip set logger on
- PJSIP Logging enabled
- <--- Transmitting SIP request (415 bytes) to UDP:10.10.10.80:5060 --->
- OPTIONS sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 10.10.10.14:5060;rport;branch=z9hG4bKPj5b386eae-7708-475e-adc8-cb73ce24dd42
- From: <sip:[email protected]>;tag=d114e64b-2371-4db3-a838-0c378c3cc732
- To: <sip:[email protected]>
- Contact: <sip:[email protected]:5060>
- Call-ID: 4e55e25e-3d32-4f21-8fb1-42a531a07bd1
- CSeq: 21694 OPTIONS
- Max-Forwards: 70
- User-Agent: FPBX-17.0.19.24(22.1.0)
- Content-Length: 0
- <--- Received SIP response (356 bytes) from UDP:10.10.10.80:5060 --->
- SIP/2.0 200 OK
- Via: SIP/2.0/UDP 10.10.10.14:5060;rport=5060;branch=z9hG4bKPj5b386eae-7708-475e-adc8-cb73ce24dd42
- From: <sip:[email protected]>;tag=d114e64b-2371-4db3-a838-0c378c3cc732
- To: <sip:[email protected]>;tag=682503842
- Call-ID: 4e55e25e-3d32-4f21-8fb1-42a531a07bd1
- CSeq: 21694 OPTIONS
- User-Agent: Yealink SIP-T46S 66.83.0.37
- Content-Length: 0
- <--- Transmitting SIP request (463 bytes) to UDP:34.226.36.34:5060 --->
- OPTIONS sip:us-east-va.sip.flowroute.com:5060 SIP/2.0
- Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPja35af0ec-fc87-4c53-a127-9446f76c60fb
- From: <sip:[email protected]>;tag=df875305-02cc-4468-80e0-9a2082c46c92
- To: <sip:us-east-va.sip.flowroute.com>
- Contact: <sip:[email protected]:5060>
- Call-ID: 95ce9620-3dca-4a96-b381-a5a91aca5587
- CSeq: 49943 OPTIONS
- Max-Forwards: 70
- User-Agent: FPBX-17.0.19.24(22.1.0)
- Content-Length: 0
- <--- Received SIP response (466 bytes) from UDP:34.226.36.34:5060 --->
- SIP/2.0 200 OK
- Via: SIP/2.0/UDP 198.90.89.110:5060;rport=24791;branch=z9hG4bKPja35af0ec-fc87-4c53-a127-9446f76c60fb;received=198.90.89.110
- From: <sip:[email protected]>;tag=df875305-02cc-4468-80e0-9a2082c46c92
- To: <sip:us-east-va.sip.flowroute.com>;tag=bf8638324618dc61059d4c604476fea1.16d062b0
- Call-ID: 95ce9620-3dca-4a96-b381-a5a91aca5587
- CSeq: 49943 OPTIONS
- Accept: */*
- Accept-Encoding:
- Accept-Language: en
- Supported: timer
- Content-Length: 0
- <--- Received SIP request (894 bytes) from UDP:10.10.10.80:5060 --->
- INVITE sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK2178341452
- From: <sip:[email protected]:5060>;tag=4092343606
- To: <sip:[email protected]:5060>
- Call-ID: [email protected]
- CSeq: 1 INVITE
- Contact: <sip:[email protected]:5060>
- Content-Type: application/sdp
- Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
- Max-Forwards: 70
- User-Agent: Yealink SIP-T46S 66.83.0.37
- Allow-Events: talk,hold,conference,refer,check-sync
- Supported: replaces
- Content-Length: 304
- v=0
- o=- 20011 20011 IN IP4 10.10.10.80
- s=SDP data
- c=IN IP4 10.10.10.80
- t=0 0
- m=audio 12234 RTP/AVP 9 0 8 18 101
- a=rtpmap:9 G722/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=ptime:20
- a=sendrecv
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-15
- <--- Transmitting SIP response (471 bytes) to UDP:10.10.10.80:5060 --->
- SIP/2.0 401 Unauthorized
- Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK2178341452
- Call-ID: [email protected]
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=z9hG4bK2178341452
- CSeq: 1 INVITE
- WWW-Authenticate: Digest realm="asterisk",nonce="1741242928/2cb43acc0efede86caf4c5cedb0b5a43",opaque="5caf4dbf2896d163",algorithm=MD5,qop="auth"
- Server: FPBX-17.0.19.24(22.1.0)
- Content-Length: 0
- <--- Received SIP request (276 bytes) from UDP:10.10.10.80:5060 --->
- ACK sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK2178341452
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=z9hG4bK2178341452
- Call-ID: [email protected]
- CSeq: 1 ACK
- Content-Length: 0
- <--- Received SIP request (1172 bytes) from UDP:10.10.10.80:5060 --->
- INVITE sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK2087194697
- From: <sip:[email protected]:5060>;tag=4092343606
- To: <sip:[email protected]:5060>
- Call-ID: [email protected]
- CSeq: 2 INVITE
- Contact: <sip:[email protected]:5060>
- Authorization: Digest username="200", realm="asterisk", nonce="1741242928/2cb43acc0efede86caf4c5cedb0b5a43", uri="sip:[email protected]:5060", response="6f1cd493f24669fcb93205d7975beb2a", algorithm=MD5, cnonce="0a4f113b", opaque="5caf4dbf2896d163", qop=auth, nc=00000001
- Content-Type: application/sdp
- Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
- Max-Forwards: 70
- User-Agent: Yealink SIP-T46S 66.83.0.37
- Allow-Events: talk,hold,conference,refer,check-sync
- Supported: replaces
- Content-Length: 304
- v=0
- o=- 20011 20011 IN IP4 10.10.10.80
- s=SDP data
- c=IN IP4 10.10.10.80
- t=0 0
- m=audio 12234 RTP/AVP 9 0 8 18 101
- a=rtpmap:9 G722/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=ptime:20
- a=sendrecv
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-15
- <--- Transmitting SIP response (297 bytes) to UDP:10.10.10.80:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK2087194697
- Call-ID: [email protected]
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>
- CSeq: 2 INVITE
- Server: FPBX-17.0.19.24(22.1.0)
- Content-Length: 0
- == Using SIP RTP Audio TOS bits 184
- == Using SIP RTP Audio TOS bits 184 in TCLASS field.
- == Using SIP RTP Audio CoS mark 5
- -- Executing [18004377950@from-internal:1] Gosub("PJSIP/200-00000029", "macro-user-callerid,s,1(LIMIT,EXTERNAL)") in new stack
- -- Executing [s@macro-user-callerid:1] Set("PJSIP/200-00000029", "TOUCH_MONITOR=1741242928.55") in new stack
- -- Executing [s@macro-user-callerid:2] Set("PJSIP/200-00000029", "CHANCONTEXT=") in new stack
- -- Executing [s@macro-user-callerid:3] Progress("PJSIP/200-00000029", "") in new stack
- > 0x7fa624121440 -- Strict RTP learning after remote address set to: 10.10.10.80:12234
- <--- Transmitting SIP response (805 bytes) to UDP:10.10.10.80:5060 --->
- SIP/2.0 183 Session Progress
- Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK2087194697
- Call-ID: [email protected]
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=96fcff60-d62b-456c-9785-1b2d1e8fb7b5
- CSeq: 2 INVITE
- Server: FPBX-17.0.19.24(22.1.0)
- Contact: <sip:10.10.10.14:5060>
- Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
- Content-Type: application/sdp
- Content-Length: 273
- v=0
- o=- 20011 20013 IN IP4 10.10.10.14
- s=Asterisk
- c=IN IP4 10.10.10.14
- t=0 0
- m=audio 14826 RTP/AVP 0 8 9 101
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=ptime:20
- a=maxptime:140
- a=sendrecv
- -- Executing [s@macro-user-callerid:4] Set("PJSIP/200-00000029", "CHANCONTEXT=") in new stack
- -- Executing [s@macro-user-callerid:5] Set("PJSIP/200-00000029", "CHANEXTENCONTEXT=200-00000029") in new stack
- -- Executing [s@macro-user-callerid:6] Set("PJSIP/200-00000029", "CHANEXTEN=200-00000029") in new stack
- -- Executing [s@macro-user-callerid:7] Set("PJSIP/200-00000029", "CALLERID(number)=200") in new stack
- -- Executing [s@macro-user-callerid:8] Set("PJSIP/200-00000029", "AMPUSER=200") in new stack
- -- Executing [s@macro-user-callerid:9] Set("PJSIP/200-00000029", "HOTDESCKCHAN=200-00000029") in new stack
- -- Executing [s@macro-user-callerid:10] Set("PJSIP/200-00000029", "HOTDESKEXTEN=200") in new stack
- -- Executing [s@macro-user-callerid:11] Set("PJSIP/200-00000029", "HOTDESKCALL=0") in new stack
- -- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/200-00000029", "0?Set(HOTDESKCALL=1)") in new stack
- -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name)=)") in new stack
- -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/200-00000029", "0?report") in new stack
- -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/200-00000029", "1?Set(REALCALLERIDNUM=200)") in new stack
- -- Executing [s@macro-user-callerid:16] Set("PJSIP/200-00000029", "AMPUSER=200") in new stack
- -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/200-00000029", "0?limit") in new stack
- -- Executing [s@macro-user-callerid:18] Set("PJSIP/200-00000029", "AMPUSERCIDNAME=Jason") in new stack
- -- Executing [s@macro-user-callerid:19] ExecIf("PJSIP/200-00000029", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
- -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/200-00000029", "0?report") in new stack
- -- Executing [s@macro-user-callerid:21] Set("PJSIP/200-00000029", "AMPUSERCID=200") in new stack
- -- Executing [s@macro-user-callerid:22] Set("PJSIP/200-00000029", "__DIAL_OPTIONS=HhTtr") in new stack
- -- Executing [s@macro-user-callerid:23] Set("PJSIP/200-00000029", "CALLERID(all)="Jason" <200>") in new stack
- -- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/200-00000029", "0?Set(CUSDIAL=)") in new stack
- -- Executing [s@macro-user-callerid:25] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(all)="Jason" <200>)") in new stack
- -- Executing [s@macro-user-callerid:26] GotoIf("PJSIP/200-00000029", "0?limit") in new stack
- -- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/200-00000029", "1?Set(GROUP(concurrency_limit)=200)") in new stack
- -- Executing [s@macro-user-callerid:28] ExecIf("PJSIP/200-00000029", "0?Set(CHANNEL(language)=)") in new stack
- -- Executing [s@macro-user-callerid:29] NoOp("PJSIP/200-00000029", "Macro depricated!! To keep the same line numbers") in new stack
- -- Executing [s@macro-user-callerid:30] NoOp("PJSIP/200-00000029", "Macro depricated !! To keep the same line numbers") in new stack
- -- Executing [s@macro-user-callerid:31] GotoIf("PJSIP/200-00000029", "1?continue") in new stack
- -- Goto (macro-user-callerid,s,50)
- -- Executing [s@macro-user-callerid:50] Set("PJSIP/200-00000029", "CALLERID(number)=200") in new stack
- -- Executing [s@macro-user-callerid:51] Set("PJSIP/200-00000029", "CALLERID(name)=Jason") in new stack
- -- Executing [s@macro-user-callerid:52] GotoIf("PJSIP/200-00000029", "0?cnum") in new stack
- -- Executing [s@macro-user-callerid:53] Set("PJSIP/200-00000029", "__MCNUM=200") in new stack
- -- Executing [s@macro-user-callerid:54] Set("PJSIP/200-00000029", "__MCNAME=Jason") in new stack
- -- Executing [s@macro-user-callerid:55] Set("PJSIP/200-00000029", "__MCEXTEN=200") in new stack
- -- Executing [s@macro-user-callerid:56] Set("PJSIP/200-00000029", "__MCORGCHAN=PJSIP/200-00000029") in new stack
- -- Executing [s@macro-user-callerid:57] Set("PJSIP/200-00000029", "CDR(cnam)=Jason") in new stack
- -- Executing [s@macro-user-callerid:58] Set("PJSIP/200-00000029", "CDR(cnum)=200") in new stack
- -- Executing [s@macro-user-callerid:59] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [18004377950@from-internal:2] Gosub("PJSIP/200-00000029", "sub-record-check,s,1(out,18004377950,dontcare)") in new stack
- -- Executing [s@sub-record-check:1] GotoIf("PJSIP/200-00000029", "0?initialized") in new stack
- -- Executing [s@sub-record-check:2] Set("PJSIP/200-00000029", "__REC_STATUS=INITIALIZED") in new stack
- -- Executing [s@sub-record-check:3] Set("PJSIP/200-00000029", "NOW=1741242928") in new stack
- -- Executing [s@sub-record-check:4] Set("PJSIP/200-00000029", "__DAY=06") in new stack
- -- Executing [s@sub-record-check:5] Set("PJSIP/200-00000029", "__MONTH=03") in new stack
- -- Executing [s@sub-record-check:6] Set("PJSIP/200-00000029", "__YEAR=2025") in new stack
- -- Executing [s@sub-record-check:7] Set("PJSIP/200-00000029", "__TIMESTR=20250306-013528") in new stack
- -- Executing [s@sub-record-check:8] Set("PJSIP/200-00000029", "__FROMEXTEN=200") in new stack
- -- Executing [s@sub-record-check:9] Set("PJSIP/200-00000029", "__MON_FMT=wav") in new stack
- -- Executing [s@sub-record-check:10] NoOp("PJSIP/200-00000029", "Recordings initialized") in new stack
- -- Executing [s@sub-record-check:11] ExecIf("PJSIP/200-00000029", "0?Set(ARG3=dontcare)") in new stack
- -- Executing [s@sub-record-check:12] Set("PJSIP/200-00000029", "REC_POLICY_MODE_SAVE=") in new stack
- -- Executing [s@sub-record-check:13] ExecIf("PJSIP/200-00000029", "0?Set(REC_STATUS=NO)") in new stack
- -- Executing [s@sub-record-check:14] GotoIf("PJSIP/200-00000029", "3?checkaction") in new stack
- -- Goto (sub-record-check,s,17)
- -- Executing [s@sub-record-check:17] GotoIf("PJSIP/200-00000029", "1?sub-record-check,out,1") in new stack
- -- Goto (sub-record-check,out,1)
- -- Executing [out@sub-record-check:1] NoOp("PJSIP/200-00000029", "Outbound Recording Check from 200 to 18004377950") in new stack
- -- Executing [out@sub-record-check:2] Set("PJSIP/200-00000029", "RECMODE=dontcare") in new stack
- -- Executing [out@sub-record-check:3] ExecIf("PJSIP/200-00000029", "1?Goto(routewins)") in new stack
- -- Goto (sub-record-check,out,7)
- -- Executing [out@sub-record-check:7] Gosub("PJSIP/200-00000029", "recordcheck,1(dontcare,out,18004377950)") in new stack
- -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/200-00000029", "Starting recording check against dontcare") in new stack
- -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/200-00000029", "dontcare") in new stack
- -- Goto (sub-record-check,recordcheck,3)
- -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [out@sub-record-check:8] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [18004377950@from-internal:3] ExecIf("PJSIP/200-00000029", "0 ?Set(CHANNEL(accountcode)=)") in new stack
- -- Executing [18004377950@from-internal:4] Set("PJSIP/200-00000029", "_ROUTEID=1") in new stack
- -- Executing [18004377950@from-internal:5] Set("PJSIP/200-00000029", "_ROUTENAME=Emerald-VoIP") in new stack
- -- Executing [18004377950@from-internal:6] Set("PJSIP/200-00000029", "MOHCLASS=default") in new stack
- -- Executing [18004377950@from-internal:7] ExecIf("PJSIP/200-00000029", "0?Set(TRUNKCIDOVERRIDE=17059800615)") in new stack
- -- Executing [18004377950@from-internal:8] Set("PJSIP/200-00000029", "_CALLERIDNAMEINTERNAL=Jason") in new stack
- -- Executing [18004377950@from-internal:9] Set("PJSIP/200-00000029", "_CALLERIDNUMINTERNAL=200") in new stack
- -- Executing [18004377950@from-internal:10] Set("PJSIP/200-00000029", "_EMAILNOTIFICATION=FALSE") in new stack
- -- Executing [18004377950@from-internal:11] Set("PJSIP/200-00000029", "_NODEST=") in new stack
- -- Executing [18004377950@from-internal:12] Gosub("PJSIP/200-00000029", "macro-dialout-trunk,s,1(1,18004377950,,off)") in new stack
- -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/200-00000029", "DIAL_TRUNK=1") in new stack
- -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
- -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
- -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
- -- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/200-00000029", "0?sub-pincheck,s,1()") in new stack
- -- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(num)=200)") in new stack
- -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/200-00000029", "0?disabletrunk,1") in new stack
- -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/200-00000029", "DIAL_NUMBER=18004377950") in new stack
- -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/200-00000029", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
- -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/200-00000029", "OUTBOUND_GROUP=OUT_1") in new stack
- -- Executing [s@macro-dialout-trunk:11] Set("PJSIP/200-00000029", "DIAL_TRUNK_OPTIONS=T") in new stack
- -- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
- -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/200-00000029", "1?nomax") in new stack
- -- Goto (macro-dialout-trunk,s,15)
- -- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/200-00000029", "0?skipoutcid") in new stack
- -- Executing [s@macro-dialout-trunk:16] Gosub("PJSIP/200-00000029", "macro-outbound-callerid,s,1(1)") in new stack
- -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/200-00000029", "200") in new stack
- -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/200-00000029", "") in new stack
- -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/200-00000029", "off") in new stack
- -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name-pres)=)") in new stack
- -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(num-pres)=)") in new stack
- -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/200-00000029", "HOTDESCKCHAN=200-00000029") in new stack
- -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/200-00000029", "HOTDESKEXTEN=200") in new stack
- -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/200-00000029", "HOTDESKCALL=0") in new stack
- -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/200-00000029", "0?Set(HOTDESKCALL=1)") in new stack
- -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name)=)") in new stack
- -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/200-00000029", "ALLOWTHISROUTE=NO") in new stack
- -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/200-00000029", "0?Set(ALLOWTHISROUTE=YES)") in new stack
- -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/200-00000029", "0?Hangup()") in new stack
- -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/200-00000029", "0?Set(REALCALLERIDNUM=200)") in new stack
- -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/200-00000029", "0?Set(AMPUSER=200)") in new stack
- -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/200-00000029", "1?normcid") in new stack
- -- Goto (macro-outbound-callerid,s,20)
- -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/200-00000029", "USEROUTCID=17059800615") in new stack
- -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/200-00000029", "EMERGENCYCID=") in new stack
- -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/200-00000029", "0?Set(SCDEXT=YES)") in new stack
- -- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/200-00000029", "0?Set(EMERGENCYCID=)") in new stack
- -- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name)=)") in new stack
- -- Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/200-00000029", "0?Set(EMERGENCYCID=)") in new stack
- -- Executing [s@macro-outbound-callerid:26] Set("PJSIP/200-00000029", "TRUNKOUTCID=17059800615") in new stack
- -- Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/200-00000029", "1?trunkcid") in new stack
- -- Goto (macro-outbound-callerid,s,33)
- -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/200-00000029", "1?Set(CALLERID(all)=17059800615)") in new stack
- -- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/200-00000029", "1?Set(CALLERID(all)=17059800615)") in new stack
- -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(all)=)") in new stack
- -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(all)=200)") in new stack
- -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(all)=200)") in new stack
- -- Executing [s@macro-outbound-callerid:38] Set("PJSIP/200-00000029", "TIOHIDE=no") in new stack
- -- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
- -- Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
- -- Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
- -- Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/200-00000029", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
- -- Executing [s@macro-outbound-callerid:43] Set("PJSIP/200-00000029", "CDR(outbound_cnum)=17059800615") in new stack
- -- Executing [s@macro-outbound-callerid:44] Set("PJSIP/200-00000029", "CDR(outbound_cnam)=") in new stack
- -- Executing [s@macro-outbound-callerid:45] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/200-00000029", "1?sub-flp-1,s,1()") in new stack
- -- Executing [s@sub-flp-1:1] ExecIf("PJSIP/200-00000029", "1?Return()") in new stack
- -- Executing [s@macro-dialout-trunk:18] Set("PJSIP/200-00000029", "OUTNUM=18004377950") in new stack
- -- Executing [s@macro-dialout-trunk:19] Set("PJSIP/200-00000029", "custom=PJSIP") in new stack
- -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_TRUNK_MOH=default)") in new stack
- -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_TRUNK_OPTIONS=TU(macro-confirm))") in new stack
- -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/200-00000029", "0?AGI(allowlist-autoadd.agi,)") in new stack
- -- Executing [s@macro-dialout-trunk:23] Gosub("PJSIP/200-00000029", "macro-dialout-trunk-predial-hook,s,1()") in new stack
- -- Executing [s@macro-dialout-trunk-predial-hook:1] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/200-00000029", "0?skipcrm") in new stack
- -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/200-00000029", "__CRM_DIRECTION=OUTBOUND") in new stack
- -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/200-00000029", "__CRM_DESTINATION=18004377950") in new stack
- -- Executing [s@macro-dialout-trunk:27] Set("PJSIP/200-00000029", "__CRM_SOURCE=200") in new stack
- -- Executing [s@macro-dialout-trunk:28] AGI("PJSIP/200-00000029", "agi://127.0.0.1/sangomacrm.agi") in new stack
- > 0x7fa624121440 -- Strict RTP switching to RTP target address 10.10.10.80:12234 as source
- -- <PJSIP/200-00000029>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
- -- Executing [s@macro-dialout-trunk:29] Set("PJSIP/200-00000029", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
- -- Executing [s@macro-dialout-trunk:30] NoOp("PJSIP/200-00000029", "CRM Finished") in new stack
- -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/200-00000029", "0?bypass,1") in new stack
- -- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/200-00000029", "1?Set(CONNECTEDLINE(num,i)=18004377950)") in new stack
- -- Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/200-00000029", "1?Set(CONNECTEDLINE(name,i)=CID:17059800615)") in new stack
- -- Executing [s@macro-dialout-trunk:34] ExecIf("PJSIP/200-00000029", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)17059800615)") in new stack
- -- Executing [s@macro-dialout-trunk:35] GotoIf("PJSIP/200-00000029", "0?customtrunk") in new stack
- -- Executing [s@macro-dialout-trunk:36] ExecIf("PJSIP/200-00000029", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
- -- Executing [s@macro-dialout-trunk:37] Set("PJSIP/200-00000029", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
- -- Executing [s@macro-dialout-trunk:38] Gosub("PJSIP/200-00000029", "trunk-dial-with-exten,18004377950,1()") in new stack
- -- Executing [18004377950@trunk-dial-with-exten:1] Dial("PJSIP/200-00000029", "PJSIP/18004377950@Emerald-VoIP,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^18004377950^^1^1741242928^^17059800615,^)") in new stack
- -- PJSIP/Emerald-VoIP-0000002a Internal Gosub(func-apply-sipheaders,s,1(1)) start
- -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/Emerald-VoIP-0000002a", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
- -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/Emerald-VoIP-0000002a", "Applying SIP Headers to channel PJSIP/Emerald-VoIP-0000002a") in new stack
- -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/Emerald-VoIP-0000002a", "localchan=Emerald-VoIP-0000002a") in new stack
- -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/Emerald-VoIP-0000002a", "DialMCEXT=Emerald") in new stack
- -- Executing [s@func-apply-sipheaders:5] Set("PJSIP/Emerald-VoIP-0000002a", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,Emerald,1") in new stack
- -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/Emerald-VoIP-0000002a", "Dchan=Emerald-VoIP-0000002a") in new stack
- -- Executing [s@func-apply-sipheaders:7] Set("PJSIP/Emerald-VoIP-0000002a", "TECH=PJSIP") in new stack
- -- Executing [s@func-apply-sipheaders:8] Set("PJSIP/Emerald-VoIP-0000002a", "SIPHEADERKEYS=Alert-Info") in new stack
- -- Executing [s@func-apply-sipheaders:9] While("PJSIP/Emerald-VoIP-0000002a", "1") in new stack
- -- Executing [s@func-apply-sipheaders:10] Set("PJSIP/Emerald-VoIP-0000002a", "sipheader=unset") in new stack
- -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/Emerald-VoIP-0000002a", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
- [2025-03-06 01:35:28] ERROR[16902]: res_pjsip_header_funcs.c:723 remove_header: No headers had been previously added to this session.
- -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/Emerald-VoIP-0000002a", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
- -- Executing [s@func-apply-sipheaders:13] ExecIf("PJSIP/Emerald-VoIP-0000002a", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
- -- Executing [s@func-apply-sipheaders:14] ExecIf("PJSIP/Emerald-VoIP-0000002a", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
- -- Executing [s@func-apply-sipheaders:15] EndWhile("PJSIP/Emerald-VoIP-0000002a", "") in new stack
- -- Executing [s@func-apply-sipheaders:9] While("PJSIP/Emerald-VoIP-0000002a", "0") in new stack
- -- Executing [s@func-apply-sipheaders:16] Return("PJSIP/Emerald-VoIP-0000002a", "") in new stack
- == Spawn extension (from-pstn, 18004377950, 1) exited non-zero on 'PJSIP/Emerald-VoIP-0000002a'
- -- PJSIP/Emerald-VoIP-0000002a Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
- <--- Transmitting SIP request (1065 bytes) to UDP:34.226.36.34:5060 --->
- INVITE sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPjc85a51de-74cb-4b4a-98ca-8b1b588109e7
- From: <sip:[email protected]>;tag=030f6f15-81b5-456b-8fb7-adb0384fe118
- To: <sip:[email protected]>
- Contact: <sip:[email protected]:5060>
- Call-ID: c0e8484f-ec01-4817-8582-25b32f9ac874
- CSeq: 16181 INVITE
- Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
- Supported: 100rel, timer, replaces, norefersub, histinfo
- Session-Expires: 1800
- Min-SE: 90
- Max-Forwards: 70
- User-Agent: FPBX-17.0.19.24(22.1.0)
- Content-Type: application/sdp
- Content-Length: 341
- v=0
- o=- 1130862789 1130862789 IN IP4 198.90.89.110
- s=Asterisk
- c=IN IP4 198.90.89.110
- t=0 0
- m=audio 17360 RTP/AVP 0 8 9 3 111 101
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:3 GSM/8000
- a=rtpmap:111 G726-32/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=ptime:20
- a=maxptime:140
- a=sendrecv
- -- Called PJSIP/18004377950@Emerald-VoIP
- <--- Received SIP response (363 bytes) from UDP:34.226.36.34:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 198.90.89.110:5060;rport=24791;branch=z9hG4bKPjc85a51de-74cb-4b4a-98ca-8b1b588109e7;received=198.90.89.110
- From: <sip:[email protected]>;tag=030f6f15-81b5-456b-8fb7-adb0384fe118
- To: <sip:[email protected]>
- Call-ID: c0e8484f-ec01-4817-8582-25b32f9ac874
- CSeq: 16181 INVITE
- Content-Length: 0
- <--- Received SIP response (540 bytes) from UDP:34.226.36.34:5060 --->
- SIP/2.0 407 Proxy Authentication Required
- Via: SIP/2.0/UDP 198.90.89.110:5060;received=198.90.89.110;rport=24791;branch=z9hG4bKPjc85a51de-74cb-4b4a-98ca-8b1b588109e7
- From: <sip:[email protected]>;tag=030f6f15-81b5-456b-8fb7-adb0384fe118
- To: <sip:[email protected]>;tag=bf8638324618dc61059d4c604476fea1.be576fbc
- Call-ID: c0e8484f-ec01-4817-8582-25b32f9ac874
- CSeq: 16181 INVITE
- Proxy-Authenticate: Digest realm="sip.flowroute.com", nonce="Z8lDXGfJQjD85yhtccHP7i0u06cAfZtI", qop="auth"
- Content-Length: 0
- <--- Transmitting SIP request (476 bytes) to UDP:34.226.36.34:5060 --->
- ACK sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 198.90.89.110:5060;rport;branch=z9hG4bKPjc85a51de-74cb-4b4a-98ca-8b1b588109e7
- From: <sip:[email protected]>;tag=030f6f15-81b5-456b-8fb7-adb0384fe118
- To: <sip:[email protected]>;tag=bf8638324618dc61059d4c604476fea1.be576fbc
- Call-ID: c0e8484f-ec01-4817-8582-25b32f9ac874
- CSeq: 16181 ACK
- Max-Forwards: 70
- User-Agent: FPBX-17.0.19.24(22.1.0)
- Content-Length: 0
- [2025-03-06 01:35:28] ERROR[33710]: res_pjsip_outbound_authenticator_digest.c:450 digest_create_request_with_auth: Endpoint: 'Emerald-VoIP': There were no auth ids available
- -- PJSIP/Emerald-VoIP-0000002a Internal Gosub(app-missedcall-hangup,Emerald,1) start
- -- Executing [Emerald@app-missedcall-hangup:1] NoOp("PJSIP/Emerald-VoIP-0000002a", "Dialed: Emerald") in new stack
- -- Executing [Emerald@app-missedcall-hangup:2] NoOp("PJSIP/Emerald-VoIP-0000002a", "Caller: 200") in new stack
- -- Executing [Emerald@app-missedcall-hangup:3] GotoIf("PJSIP/Emerald-VoIP-0000002a", "0?exit") in new stack
- -- Executing [Emerald@app-missedcall-hangup:4] Set("PJSIP/Emerald-VoIP-0000002a", "EXTENNUM=Emerald") in new stack
- -- Executing [Emerald@app-missedcall-hangup:5] Set("PJSIP/Emerald-VoIP-0000002a", "FEXTENNUM=Emerald") in new stack
- -- Executing [Emerald@app-missedcall-hangup:6] GotoIf("PJSIP/Emerald-VoIP-0000002a", "0?exit") in new stack
- -- Executing [Emerald@app-missedcall-hangup:7] AGI("PJSIP/Emerald-VoIP-0000002a", "agi://127.0.0.1/missedcallnotify.php,Emerald,,Emerald,0,,PJSIP/Emerald-VoIP-0000002a,,,,") in new stack
- -- <PJSIP/Emerald-VoIP-0000002a>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
- -- Executing [Emerald@app-missedcall-hangup:8] Return("PJSIP/Emerald-VoIP-0000002a", "") in new stack
- == Spawn extension (from-pstn, 18004377950, 1) exited non-zero on 'PJSIP/Emerald-VoIP-0000002a'
- -- PJSIP/Emerald-VoIP-0000002a Internal Gosub(app-missedcall-hangup,Emerald,1) complete GOSUB_RETVAL=
- == Everyone is busy/congested at this time (1:0/0/1)
- -- Executing [18004377950@trunk-dial-with-exten:2] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [s@macro-dialout-trunk:39] NoOp("PJSIP/200-00000029", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
- -- Executing [s@macro-dialout-trunk:40] GotoIf("PJSIP/200-00000029", "0?continue,1:s-CHANUNAVAIL,1") in new stack
- -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
- -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/200-00000029", "RC=21") in new stack
- -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/200-00000029", "21,1") in new stack
- -- Goto (macro-dialout-trunk,21,1)
- -- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/200-00000029", "continue,1") in new stack
- -- Goto (macro-dialout-trunk,continue,1)
- -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/200-00000029", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
- -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/200-00000029", "1?Set(CALLERID(number)=200)") in new stack
- -- Executing [continue@macro-dialout-trunk:3] Return("PJSIP/200-00000029", "") in new stack
- -- Executing [18004377950@from-internal:13] Gosub("PJSIP/200-00000029", "macro-outisbusy,s,1()") in new stack
- -- Executing [s@macro-outisbusy:1] Progress("PJSIP/200-00000029", "") in new stack
- -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/200-00000029", "0?emergency,1") in new stack
- -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/200-00000029", "0?intracompany,1") in new stack
- -- Executing [s@macro-outisbusy:4] Playback("PJSIP/200-00000029", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
- -- <PJSIP/200-00000029> Playing 'all-circuits-busy-now.ulaw' (language 'en')
- <--- Transmitting SIP response (805 bytes) to UDP:10.10.10.80:5060 --->
- SIP/2.0 183 Session Progress
- Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK2087194697
- Call-ID: [email protected]
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=96fcff60-d62b-456c-9785-1b2d1e8fb7b5
- CSeq: 2 INVITE
- Server: FPBX-17.0.19.24(22.1.0)
- Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
- Contact: <sip:10.10.10.14:5060>
- Content-Type: application/sdp
- Content-Length: 273
- v=0
- o=- 20011 20013 IN IP4 10.10.10.14
- s=Asterisk
- c=IN IP4 10.10.10.14
- t=0 0
- m=audio 14826 RTP/AVP 0 8 9 101
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=ptime:20
- a=maxptime:140
- a=sendrecv
- -- <PJSIP/200-00000029> Playing 'please-try-call-later.ulaw' (language 'en')
- -- Executing [s@macro-outisbusy:5] Congestion("PJSIP/200-00000029", "20") in new stack
- <--- Transmitting SIP response (492 bytes) to UDP:10.10.10.80:5060 --->
- SIP/2.0 503 Service Unavailable
- Via: SIP/2.0/UDP 10.10.10.80:5060;rport=5060;received=10.10.10.80;branch=z9hG4bK2087194697
- Call-ID: [email protected]
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=96fcff60-d62b-456c-9785-1b2d1e8fb7b5
- CSeq: 2 INVITE
- Server: FPBX-17.0.19.24(22.1.0)
- Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
- Reason: Q.850;cause=21
- Content-Length: 0
- <--- Received SIP request (295 bytes) from UDP:10.10.10.80:5060 --->
- ACK sip:[email protected]:5060 SIP/2.0
- Via: SIP/2.0/UDP 10.10.10.80:5060;branch=z9hG4bK2087194697
- From: <sip:[email protected]>;tag=4092343606
- To: <sip:[email protected]>;tag=96fcff60-d62b-456c-9785-1b2d1e8fb7b5
- Call-ID: [email protected]
- CSeq: 2 ACK
- Content-Length: 0
- == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/200-00000029'
- -- PJSIP/200-00000029 Internal Gosub(crm-hangup,s,1) start
- -- Executing [s@crm-hangup:1] NoOp("PJSIP/200-00000029", "Sending Hangup to CRM") in new stack
- -- Executing [s@crm-hangup:2] NoOp("PJSIP/200-00000029", "HANGUP CAUSE: 34") in new stack
- -- Executing [s@crm-hangup:3] ExecIf("PJSIP/200-00000029", "0?Set(__CRM_VOICEMAIL=)") in new stack
- -- Executing [s@crm-hangup:4] NoOp("PJSIP/200-00000029", "MASTER CHANNEL: 1741242928.55 = 1741242928.55") in new stack
- -- Executing [s@crm-hangup:5] GotoIf("PJSIP/200-00000029", "0?return") in new stack
- -- Executing [s@crm-hangup:6] Set("PJSIP/200-00000029", "__CRM_HANGUP=1") in new stack
- -- Executing [s@crm-hangup:7] AGI("PJSIP/200-00000029", "agi://127.0.0.1/sangomacrm.agi") in new stack
- -- <PJSIP/200-00000029>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
- -- Executing [s@crm-hangup:8] Return("PJSIP/200-00000029", "") in new stack
- == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/200-00000029'
- -- PJSIP/200-00000029 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
- FreePBX*CLI>
- Disconnected from Asterisk server
- Asterisk cleanly ending (0).
- Executing last minute cleanups
- root@FreePBX:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement