No Authority Found.. Outgoing!

Jaysellas
Posts: 3
Member Since:
2009-01-07

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/ and another called /

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



Jaysellas
Posts: 3
Member Since:
2009-01-07
After some more testing,

After some more testing, here's the IAX Debug result.... it's a No Authority Found error.... Error 50. I've been through all that google can provide me with, however still haven't got anywhere.

Any help greatly appreciated!

Cheers

Jay



mentalsolutions
Posts: 13
Member Since:
2008-03-05
Obvious Question

Sorry if this is an obvious question but have you got the username and password correct? I have an IAX trunk with Voiptalk working fine and I can't see anything in your config which looks wrong

Have you definitely got credit on your voiptalk account?

Can you ping iax5.voiptalk.org from the trixbox?

Mark



Jaysellas
Posts: 3
Member Since:
2009-01-07
Can ping...

Hiya,

Yes, I have the username and password correct. I can also ping iax5.voiptalk.org from the trixbox, and there is credit in the account.

We now have 2 trunks showing in the IAX2 Peers, one with VoIPTalk_IAX/username and one with my incoming voip/my incoming voip

IAX2 Registry not registering though - register string we have is:

username:secret@iax5.voiptalk.org/username

Cheers Mark



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.