The settings in that link are for a chan_sip trunk and I have that working.
I made the changes you suggested, set logger on and still get the “alll circuits are busy” message. Here’s what I get:
<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 96.9.90.28:7617;rport=7617;received=96.9.90.28;branch=z9hG4bK.bLHjfngy4
Call-ID: kC1YTOALn8
From: <sip:[email protected]>;tag=BaXtn3QHA
To: <sip:[email protected]>;tag=f8715603-2492-4654-8df8-be5f375ba936
CSeq: 21 INVITE
Server: FPBX-14.0.11(13.22.0)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Content-Length: 0
-- Executing [h@from-internal:1] Macro("PJSIP/601-0000006f", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/601-0000006f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/601-0000006f", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("PJSIP/601-0000006f", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/601-0000006f", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("PJSIP/601-0000006f", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/601-0000006f' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/601-0000006f'
<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 96.9.90.28:7617;rport=7617;received=96.9.90.28;branch=z9hG4bK.bLHjfngy4
Call-ID: kC1YTOALn8
From: <sip:[email protected]>;tag=BaXtn3QHA
To: <sip:[email protected]>;tag=f8715603-2492-4654-8df8-be5f375ba936
CSeq: 21 INVITE
Server: FPBX-14.0.11(13.22.0)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Content-Length: 0
-- Executing [h@from-internal:1] Macro("PJSIP/601-0000006f", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/601-0000006f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/601-0000006f", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("PJSIP/601-0000006f", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/601-0000006f", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("PJSIP/601-0000006f", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/601-0000006f' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/601-0000006f'
<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 96.9.90.28:7617;rport=7617;received=96.9.90.28;branch=z9hG4bK.bLHjfngy4
Call-ID: kC1YTOALn8
From: <sip:[email protected]>;tag=BaXtn3QHA
To: <sip:[email protected]>;tag=f8715603-2492-4654-8df8-be5f375ba936
CSeq: 21 INVITE
Server: FPBX-14.0.11(13.22.0)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Content-Length: 0
-- Executing [h@from-internal:1] Macro("PJSIP/601-0000006f", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/601-0000006f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/601-0000006f", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("PJSIP/601-0000006f", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/601-0000006f", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("PJSIP/601-0000006f", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/601-0000006f' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/601-0000006f'
<--- Transmitting SIP response (447 bytes) to UDP:96.9.90.28:7617 --->
SIP/2.0 487 Request Terminated