Hi all,
Been working with Trixbox for a while now, but only recently have we tried to make it work with outgoing IAX Trunk Calls. Before, it was always Zaptel based calls. Due to costs of multiple lines in the office, the company has opted to lose 3 of the 5 BT Lines, and replace those with the IAX portions of Trixbox.
Problem I have, is that the Trixbox can't seem to raise an outbound call through the trunk in question. Zap calls are still working, however the IAX ones won't. I have set up the routes to force mobile calls (07....) out of the Zaptel, with all others going out of the IAX.
The error I get, is the infamous "All circuits are busy now, please try your call again later".
Here's the log of a failing call, from CLI on Verbosity 3....
The phone number 0123456789 was edited after the call to hide the real number.
-- Executing [0123456789@from-internal:1] Macro("SIP/201-b76031b8", "user-callerid|SKIPTTL|") in new stack
*snip...*
== fixlocalprefix: Dialpattern 44+Z. matched. 123456789 -> 44123456789
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/201-b76031b8", "OUTNUM=44123456789") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/201-b76031b8", "custom=IAX2/VoIPTalk_SIP") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/201-b76031b8", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/201-b76031b8", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/201-b76031b8", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/201-b76031b8", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/201-b76031b8", "IAX2/VoIPTalk_SIP/44123456789|300|") in new stack
-- Called VoIPTalk_SIP/44123456789
-- Hungup 'IAX2/VoIPTalk_SIP-4893'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/201-b76031b8", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/201-b76031b8", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/201-b76031b8", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0123456789@from-internal:5] Macro("SIP/201-b76031b8", "outisbusy|") in new stack
*snip*
trixbox1*CLI>
Can anybody see anything obvious in there that points to the problem? In the PBX Status, I have 2 IAX2 Peers marked as OK (32ms), one called VoIPTalk/
Trunk Details for IAX to Voiptalk are as follows:
Outgoing..... called VoIPTalk_SIP
disallow=all
allow=ulaw&alaw
host=iax5.voiptalk.org
qualify=yes
secret=******
type=peer
username=********
Only dialling rule in there is 44+Z.
Any thoughts?
Cheers in advance,
Jay
Member Since:
2009-01-07