Here is the log when the dialer dials it using the freepbx as trunk
[Oct 25 08:12:31] -- Called 2032541100@freepbx
[Oct 25 08:12:31] -- SIP/freepbx-0000005a answered Local/912032541100@default-09a3,2
[Oct 25 08:12:31] > Channel Local/912032541100@default-09a3,1 was answered.
[Oct 25 08:12:31] -- Executing [8366@default:1] Playback("Local/912032541100@default-09a3,1", "sip-silence") in new stack
[Oct 25 08:12:31] -- <Local/912032541100@default-09a3,1> Playing 'sip-silence' (language 'en')
[Oct 25 08:12:31] WARNING[3840]: file.c:1292 waitstream_core: Unexpected control subclass '-1'
[Oct 25 08:12:31] -- Executing [8366@default:2] AGI("Local/912032541100@default-09a3,1", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 25 08:12:31] -- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 25 08:12:31] -- Executing [8366@default:3] AGI("Local/912032541100@default-09a3,1", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
[Oct 25 08:12:31] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct 25 08:12:32] -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct 25 08:12:32] -- Executing [8366@default:4] AGI("Local/912032541100@default-09a3,1", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
[Oct 25 08:12:32] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct 25 08:12:33] -- Executing [h@default:1] DeadAGI("Local/912032541100@default-09a3,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----2-----2") in new stack
[Oct 25 08:12:33] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 25 08:12:33] -- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---2-----2 completed, returning 0
[Oct 25 08:12:33] == Spawn extension (default, 912032541100, 2) exited non-zero on 'Local/912032541100@default-09a3,2'
[Oct 25 08:12:33] -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct 25 08:12:33] -- Executing [8366@default:5] Hangup("SIP/freepbx-0000005a", "") in new stack
[Oct 25 08:12:33] == Spawn extension (default, 8366, 5) exited non-zero on 'SIP/freepbx-0000005a'
[Oct 25 08:12:33] -- Executing [h@default:1] DeadAGI("SIP/freepbx-0000005a", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
And here is the output when dialing directly from the carrier which is also the carrier that is being used by the freepbx.
[Oct 25 09:06:50] -- Executing [912032541100@default:1] AGI("SIP/6453-000000db", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 25 09:06:50] -- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 25 09:06:50] -- Executing [912032541100@default:2] Dial("SIP/6453-000000db", "SIP/2032541100@lataone||tTor") in new stack
[Oct 25 09:06:50] -- Called 2032541100@lataone
[Oct 25 09:06:51] -- SIP/lataone-000000dc is making progress passing it to SIP/6453-000000db
[Oct 25 09:07:22] -- Got SIP response 503 "Service Unavailable" back from 216.89.76.6
[Oct 25 09:07:22] -- SIP/lataone-000000dc is circuit-busy
[Oct 25 09:07:22] == Everyone is busy/congested at this time (1:0/1/0)
[Oct 25 09:07:22] -- Executing [912032541100@default:4] Hangup("SIP/6453-000000db", "") in new stack
[Oct 25 09:07:22] == Spawn extension (default, 912032541100, 4) exited non-zero on 'SIP/6453-000000db'
[Oct 25 09:07:22] -- Executing [h@default:1] DeadAGI("SIP/6453-000000db", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION----------") in new stack
[Oct 25 09:07:22] -- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
Vicibox | Vicidial 2.4-272 Build 100811-0827 | Asterisk 1.4.27.1-vici | Database+WebServer / Two telephony server | No Digium/Sangoma Hardware | No Extra Software After Installation