Anyone care to assist a hobbyist?
I am following the write-up from “Two “Sort Of” Tech Guys”:
Inbound calls from my 2 GV lines work great as I can change the inbound route to either my SIP phone, my Windows softphone, or the two FXS ports. Analog phones on the FXS ports can send and receive FreePBX calls perfectly fine.
Most of the setup is working fine, except for outgoing calls. No matter what I do, I get a busy signal. The line in the write-up that is causing a problem is:
PJSIP/gvgateway/sip:$OUTNUM$@ip_address_of_obihai:X_UserAgentPort
…mine is:
PJSIP/GVGateway2/sip:[email protected]:5063
ADDED INFO: When the 2 FXS ports are switched to use SP1 & SP2 (the default Google voice services), both phones can dial out through GV without a problem.
It seems pretty certain that FreePBX is communicating with the OBI202, because if I change any of the parameters above (like the IP address or port), the error changes from a busy signal to an infinite ring.
The OBI202 Syslog was configured, but nothing sent to my syslog server for some reason (firmware maybe?). All of the hardware is on an internal network with no firewall restrictions.
HARDWARE:
RaspberryPi 5 8gb
OBi202 Firmware:8680EX (3rd party)
Asterisk 22.1.0
FreePBX 17.0.19.23
Why am I doing this? I’m retired now, employed by the Bell System many years ago, and I would like to learn this technology that is new to me. Subscribing to a real SIP provider would certainly resolve my issues, but I’m doing this for the challenge…as a hobby.
I’m not asking anyone to solve my problem for me, but provide tips or direction on how to troubleshoot this myself.
Thank you.
Error snippet:
<--- Received SIP request (934 bytes) from UDP:192.168.50.196:5060 --->
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.196:5060;branch=z9hG4bK591157c8f9cdb29e16dbd
From: "108" <sip:[email protected]:5060>;tag=1351910717
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-T34W 124.86.0.75
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 310
v=0
o=- 20329 20329 IN IP4 192.168.50.196
s=SDP data
c=IN IP4 192.168.50.196
t=0 0
m=audio 12390 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 (513 bytes) to UDP:192.168.50.196:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.50.196:5060;rport=5060;received=192.168.50.196;branch=z9hG4bK591157c8f9cdb29e16dbd
Call-ID: [email protected]
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>;tag=z9hG4bK591157c8f9cdb29e16dbd
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1737468400/6dbb9d6a061f5058cf52853380e6d3a9",opaque="61a428162ef2a1f0",algorithm=MD5,qop="auth"
Server: FPBX-17.0.19.23(22.1.0)
Content-Length: 0
<--- Received SIP request (317 bytes) from UDP:192.168.50.196:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.196:5060;branch=z9hG4bK591157c8f9cdb29e16dbd
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>;tag=z9hG4bK591157c8f9cdb29e16dbd
Call-ID: [email protected]
CSeq: 1 ACK
Content-Length: 0
<--- Received SIP request (1205 bytes) from UDP:192.168.50.196:5060 --->
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.196:5060;branch=z9hG4bK1352023758
From: "108" <sip:[email protected]:5060>;tag=1351910717
To: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 2 INVITE
Contact: <sip:[email protected]:5060>
Authorization: Digest username="108", realm="asterisk", nonce="1737468400/6dbb9d6a061f5058cf52853380e6d3a9", uri="sip:[email protected]:5060", response="ca8acfdf6c5b61bb5969a68eadca57a4", algorithm=MD5, cnonce="1352091545", opaque="61a428162ef2a1f0", 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-T34W 124.86.0.75
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 310
v=0
o=- 20329 20329 IN IP4 192.168.50.196
s=SDP data
c=IN IP4 192.168.50.196
t=0 0
m=audio 12390 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 (317 bytes) to UDP:192.168.50.196:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.50.196:5060;rport=5060;received=192.168.50.196;branch=z9hG4bK1352023758
Call-ID: [email protected]
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>
CSeq: 2 INVITE
Server: FPBX-17.0.19.23(22.1.0)
Content-Length: 0
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
-- Executing [8005551212@from-internal:1] Gosub("PJSIP/108-000000b0", "macro-user-callerid,s,1(LIMIT,EXTERNAL)") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/108-000000b0", "TOUCH_MONITOR=1737468400.176") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/108-000000b0", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:3] Set("PJSIP/108-000000b0", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:4] Set("PJSIP/108-000000b0", "CHANEXTENCONTEXT=108-000000b0") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/108-000000b0", "CHANEXTEN=108-000000b0") in new stack
-- Executing [s@macro-user-callerid:6] Set("PJSIP/108-000000b0", "CALLERID(number)=108") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/108-000000b0", "AMPUSER=108") in new stack
-- Executing [s@macro-user-callerid:8] Set("PJSIP/108-000000b0", "HOTDESCKCHAN=108-000000b0") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/108-000000b0", "HOTDESKEXTEN=108") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/108-000000b0", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("PJSIP/108-000000b0", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/108-000000b0", "0?report") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/108-000000b0", "1?Set(REALCALLERIDNUM=108)") in new stack
-- Executing [s@macro-user-callerid:15] Set("PJSIP/108-000000b0", "AMPUSER=108") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/108-000000b0", "0?limit") in new stack
-- Executing [s@macro-user-callerid:17] Set("PJSIP/108-000000b0", "AMPUSERCIDNAME=DeskPhone") in new stack
-- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/108-000000b0", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/108-000000b0", "0?report") in new stack
-- Executing [s@macro-user-callerid:20] Set("PJSIP/108-000000b0", "AMPUSERCID=108") in new stack
-- Executing [s@macro-user-callerid:21] Set("PJSIP/108-000000b0", "__DIAL_OPTIONS=") in new stack
-- Executing [s@macro-user-callerid:22] Set("PJSIP/108-000000b0", "CALLERID(all)="DeskPhone" <108>") in new stack
-- Executing [s@macro-user-callerid:23] ExecIf("PJSIP/108-000000b0", "0?Set(CUSDIAL=)") in new stack
-- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(all)="DeskPhone" <108>)") in new stack
-- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/108-000000b0", "0?limit") in new stack
-- Executing [s@macro-user-callerid:26] ExecIf("PJSIP/108-000000b0", "1?Set(GROUP(concurrency_limit)=108)") in new stack
-- Executing [s@macro-user-callerid:27] NoOp("PJSIP/108-000000b0", "Macro depricated!! To keep the same line numbers") in new stack
-- Executing [s@macro-user-callerid:28] NoOp("PJSIP/108-000000b0", "Macro depricated !! To keep the same line numbers") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("PJSIP/108-000000b0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,47)
-- Executing [s@macro-user-callerid:47] Set("PJSIP/108-000000b0", "CALLERID(number)=108") in new stack
-- Executing [s@macro-user-callerid:48] Set("PJSIP/108-000000b0", "CALLERID(name)=DeskPhone") in new stack
-- Executing [s@macro-user-callerid:49] GotoIf("PJSIP/108-000000b0", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:50] Set("PJSIP/108-000000b0", "CDR(cnam)=DeskPhone") in new stack
-- Executing [s@macro-user-callerid:51] Set("PJSIP/108-000000b0", "CDR(cnum)=108") in new stack
-- Executing [s@macro-user-callerid:52] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [8005551212@from-internal:2] Gosub("PJSIP/108-000000b0", "sub-record-check,s,1(out,8005551212,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/108-000000b0", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/108-000000b0", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/108-000000b0", "NOW=1737468400") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/108-000000b0", "__DAY=21") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/108-000000b0", "__MONTH=01") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/108-000000b0", "__YEAR=2025") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/108-000000b0", "__TIMESTR=20250121-090640") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/108-000000b0", "__FROMEXTEN=108") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/108-000000b0", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/108-000000b0", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/108-000000b0", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/108-000000b0", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/108-000000b0", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/108-000000b0", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/108-000000b0", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/108-000000b0", "Outbound Recording Check from 108 to 8005551212") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/108-000000b0", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/108-000000b0", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/108-000000b0", "recordcheck,1(dontcare,out,8005551212)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/108-000000b0", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/108-000000b0", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [8005551212@from-internal:3] Set("PJSIP/108-000000b0", "_ROUTEID=9") in new stack
-- Executing [8005551212@from-internal:4] Set("PJSIP/108-000000b0", "_ROUTENAME=OutboundRoute2") in new stack
-- Executing [8005551212@from-internal:5] Set("PJSIP/108-000000b0", "MOHCLASS=default") in new stack
-- Executing [8005551212@from-internal:6] ExecIf("PJSIP/108-000000b0", "0?Set(TRUNKCIDOVERRIDE=1{mynum})") in new stack
-- Executing [8005551212@from-internal:7] Set("PJSIP/108-000000b0", "_CALLERIDNAMEINTERNAL=DeskPhone") in new stack
-- Executing [8005551212@from-internal:8] Set("PJSIP/108-000000b0", "_CALLERIDNUMINTERNAL=108") in new stack
-- Executing [8005551212@from-internal:9] Set("PJSIP/108-000000b0", "_EMAILNOTIFICATION=FALSE") in new stack
-- Executing [8005551212@from-internal:10] Set("PJSIP/108-000000b0", "_NODEST=") in new stack
-- Executing [8005551212@from-internal:11] Gosub("PJSIP/108-000000b0", "macro-dialout-trunk,s,1(3,8005551212,,off)") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/108-000000b0", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/108-000000b0", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(num)=108)") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/108-000000b0", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("PJSIP/108-000000b0", "DIAL_NUMBER=8005551212") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("PJSIP/108-000000b0", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("PJSIP/108-000000b0", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:11] Set("PJSIP/108-000000b0", "DIAL_TRUNK_OPTIONS=R") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_TRUNK_OPTIONS=R)") in new stack
-- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/108-000000b0", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:14] GotoIf("PJSIP/108-000000b0", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/108-000000b0", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:16] Gosub("PJSIP/108-000000b0", "macro-outbound-callerid,s,1(3)") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/108-000000b0", "108") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/108-000000b0", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/108-000000b0", "all") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("PJSIP/108-000000b0", "HOTDESCKCHAN=108-000000b0") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/108-000000b0", "HOTDESKEXTEN=108") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/108-000000b0", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/108-000000b0", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("PJSIP/108-000000b0", "ALLOWTHISROUTE=NO") in new stack
-- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/108-000000b0", "0?Set(ALLOWTHISROUTE=YES)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/108-000000b0", "0?Hangup()") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/108-000000b0", "0?Set(REALCALLERIDNUM=108)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/108-000000b0", "0?Set(AMPUSER=108)") in new stack
-- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/108-000000b0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,20)
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/108-000000b0", "USEROUTCID={mynum}") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/108-000000b0", "EMERGENCYCID={mynum}") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/108-000000b0", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:23] Set("PJSIP/108-000000b0", "TRUNKOUTCID={mynum}") in new stack
-- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/108-000000b0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,30)
-- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/108-000000b0", "1?Set(CALLERID(all)={mynum})") in new stack
-- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/108-000000b0", "1?Set(CALLERID(all)={mynum})") in new stack
-- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/108-000000b0", "1?Set(CALLERID(all)={mynum})") in new stack
-- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(all)=108)") in new stack
-- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(all)=108)") in new stack
-- Executing [s@macro-outbound-callerid:35] Set("PJSIP/108-000000b0", "TIOHIDE=no") in new stack
-- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/108-000000b0", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:40] Set("PJSIP/108-000000b0", "CDR(outbound_cnum)={mynum}") in new stack
-- Executing [s@macro-outbound-callerid:41] Set("PJSIP/108-000000b0", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-outbound-callerid:42] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/108-000000b0", "1?sub-flp-3,s,1()") in new stack
-- Executing [s@sub-flp-3:1] ExecIf("PJSIP/108-000000b0", "0?Return()") in new stack
-- Executing [s@sub-flp-3:2] ExecIf("PJSIP/108-000000b0", "0?Return()") in new stack
-- Executing [s@sub-flp-3:3] ExecIf("PJSIP/108-000000b0", "0?Return()") in new stack
-- Executing [s@sub-flp-3:4] ExecIf("PJSIP/108-000000b0", "0?Return()") in new stack
-- Executing [s@sub-flp-3:5] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [s@macro-dialout-trunk:18] Set("PJSIP/108-000000b0", "OUTNUM=8005551212") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("PJSIP/108-000000b0", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_TRUNK_MOH=default)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/108-000000b0", "0?Set(DIAL_TRUNK_OPTIONS=RU(macro-confirm))") in new stack
-- Executing [s@macro-dialout-trunk:22] Gosub("PJSIP/108-000000b0", "macro-dialout-trunk-predial-hook,s,1()") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] Return("PJSIP/108-000000b0", "") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("PJSIP/108-000000b0", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:24] ExecIf("PJSIP/108-000000b0", "1?Set(CONNECTEDLINE(num,i)=8005551212)") in new stack
-- Executing [s@macro-dialout-trunk:25] ExecIf("PJSIP/108-000000b0", "1?Set(CONNECTEDLINE(name,i)=CID:{mynum})") in new stack
-- Executing [s@macro-dialout-trunk:26] ExecIf("PJSIP/108-000000b0", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden){mynum})") in new stack
-- Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/108-000000b0", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,33)
-- Executing [s@macro-dialout-trunk:33] Set("PJSIP/108-000000b0", "pre_num=AMP:PJSIP/GVGateway2/sip:") in new stack
-- Executing [s@macro-dialout-trunk:34] Set("PJSIP/108-000000b0", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:35] Set("PJSIP/108-000000b0", "[email protected]:5063") in new stack
-- Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/108-000000b0", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,37)
-- Executing [s@macro-dialout-trunk:37] Set("PJSIP/108-000000b0", "the_num=8005551212") in new stack
-- Executing [s@macro-dialout-trunk:38] Dial("PJSIP/108-000000b0", "PJSIP/GVGateway2/sip:[email protected]:5063,300,R") in new stack
-- Called PJSIP/GVGateway2/sip:[email protected]:5063
<--- Transmitting SIP response (583 bytes) to UDP:192.168.50.196:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.50.196:5060;rport=5060;received=192.168.50.196;branch=z9hG4bK1352023758
Call-ID: [email protected]
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>;tag=fcc6d527-7067-40f5-a8ca-5d4e173a5ea7
CSeq: 2 INVITE
Server: FPBX-17.0.19.23(22.1.0)
Contact: <sip:192.168.50.202:5060>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, INFO, MESSAGE, REFER
P-Asserted-Identity: "CID:{mynum}" <sip:[email protected]>
Content-Length: 0
<--- Transmitting SIP request (937 bytes) to UDP:192.168.50.201:5063 --->
INVITE sip:[email protected]:5063 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.202:5060;rport;branch=z9hG4bKPja0bf4917-8110-4231-ba20-0be3279e6c8e
From: <sip:{mynum}@192.168.50.202>;tag=871d170c-16c0-4e22-b5b0-88263a256892
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 1ed6b9cb-3848-4362-9a94-c2f564caa82d
CSeq: 18513 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, INFO, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-17.0.19.23(22.1.0)
Content-Type: application/sdp
Content-Length: 239
v=0
o=- 635580807 635580807 IN IP4 192.168.50.202
s=Asterisk
c=IN IP4 192.168.50.202
t=0 0
m=audio 10784 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:140
a=sendrecv
<--- Received SIP response (409 bytes) from UDP:192.168.50.201:5063 --->
SIP/2.0 100 Trying
Call-ID: 1ed6b9cb-3848-4362-9a94-c2f564caa82d
CSeq: 18513 INVITE
Content-Length: 0
From: <sip:{mynum}@192.168.50.202>;tag=871d170c-16c0-4e22-b5b0-88263a256892
To: <sip:[email protected]>;tag=SP4fa7fcc90e7dff114
Via: SIP/2.0/UDP 192.168.50.202:5060;branch=z9hG4bKPja0bf4917-8110-4231-ba20-0be3279e6c8e;received=192.168.50.202;rport=5060
Server: OBIHAI/OBi202-3.2.2.8680
<--- Received SIP response (412 bytes) from UDP:192.168.50.201:5063 --->
SIP/2.0 486 Busy Here
Call-ID: 1ed6b9cb-3848-4362-9a94-c2f564caa82d
CSeq: 18513 INVITE
Content-Length: 0
From: <sip:{mynum}@192.168.50.202>;tag=871d170c-16c0-4e22-b5b0-88263a256892
To: <sip:[email protected]>;tag=SP4fa7fcc90e7dff114
Via: SIP/2.0/UDP 192.168.50.202:5060;branch=z9hG4bKPja0bf4917-8110-4231-ba20-0be3279e6c8e;received=192.168.50.202;rport=5060
Server: OBIHAI/OBi202-3.2.2.8680
<--- Transmitting SIP request (427 bytes) to UDP:192.168.50.201:5063 --->
ACK sip:[email protected]:5063 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.202:5060;rport;branch=z9hG4bKPja0bf4917-8110-4231-ba20-0be3279e6c8e
From: <sip:{mynum}@192.168.50.202>;tag=871d170c-16c0-4e22-b5b0-88263a256892
To: <sip:[email protected]>;tag=SP4fa7fcc90e7dff114
Call-ID: 1ed6b9cb-3848-4362-9a94-c2f564caa82d
CSeq: 18513 ACK
Max-Forwards: 70
User-Agent: FPBX-17.0.19.23(22.1.0)
Content-Length: 0
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [s@macro-dialout-trunk:39] NoOp("PJSIP/108-000000b0", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
-- Executing [s@macro-dialout-trunk:40] GotoIf("PJSIP/108-000000b0", "0?continue,1:s-BUSY,1") in new stack
-- Goto (macro-dialout-trunk,s-BUSY,1)
-- Executing [s-BUSY@macro-dialout-trunk:1] NoOp("PJSIP/108-000000b0", "Dial failed due to trunk reporting BUSY - giving up") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("PJSIP/108-000000b0", "busy") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:3] Busy("PJSIP/108-000000b0", "20") in new stack
<--- Transmitting SIP response (564 bytes) to UDP:192.168.50.196:5060 --->
SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP 192.168.50.196:5060;rport=5060;received=192.168.50.196;branch=z9hG4bK1352023758
Call-ID: [email protected]
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>;tag=fcc6d527-7067-40f5-a8ca-5d4e173a5ea7
CSeq: 2 INVITE
Server: FPBX-17.0.19.23(22.1.0)
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, INFO, MESSAGE, REFER
Reason: Q.850;cause=17
P-Asserted-Identity: "CID:{mynum}" <sip:[email protected]>
Content-Length: 0
== Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'PJSIP/108-000000b0'
-- Executing [h@macro-dialout-trunk:1] Gosub("PJSIP/108-000000b0", "macro-hangupcall,s,1()") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/108-000000b0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/108-000000b0", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/108-000000b0", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/108-000000b0'
<--- Received SIP request (314 bytes) from UDP:192.168.50.196:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.196:5060;branch=z9hG4bK1352023758
From: "108" <sip:[email protected]>;tag=1351910717
To: <sip:[email protected]>;tag=fcc6d527-7067-40f5-a8ca-5d4e173a5ea7
Call-ID: [email protected]
CSeq: 2 ACK
Content-Length: 0
<--- Transmitting SIP request (431 bytes) to UDP:192.168.50.201:5060 --->
OPTIONS sip:192.168.50.201 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.202:5060;rport;branch=z9hG4bKPj58d311e9-2007-4a69-bc95-ddf86fe12997
From: <sip:[email protected]>;tag=3b7f1c9c-a4cf-4312-b845-d59b226fbefc
To: <sip:192.168.50.201>
Contact: <sip:[email protected]:5060>
Call-ID: 473d67fb-273e-4e1a-b05f-26086f29f8cc
CSeq: 53472 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-17.0.19.23(22.1.0)
Content-Length: 0