problem with outbound call after passing iax trunk

Discussion in 'General' started by harif, Jul 6, 2010.

  1. harif

    Dec 11, 2009
    Likes Received:

    I got 2 Servers..Server A and server B.Both servers are behind a dyndns...I am able to make outbound calls from server B through dahdi..I uses pattern matching as its a 7 digit number..Both servers are connected through an IAX trunk..Now i need to make calls from server A through the dahdi channel of server B..I used pattern 5|XXXXXXX in the outbound route and gave the trunk as the Iax trunk..when i tried to make call i get "ALL CIRCUITS ARE BUSY NOW"

    Cli>Dial("SIP/30-b7d081a8", "IAX2/iaxtrunk/XXXXXXX|300|").

    and after that
    cli>goto("SIP/30-b7d081a8", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/30-b7d081a8", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/30-b7d081a8", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 3) - failing through to other trunks")..

    i got the same result when i tried to add a 2 before both the servers..Server A 5|2XXXXXXX and server B 2|XXXXXXX...

    Please help me..Thanking you in advance


Share This Page