IAX2 outgoing problem having changed to 2.8.0.4

motorbikes
Posts: 175
Member Since:
2006-12-19

I have set my new trixbox exactly the same as my old one was with regards to the settings for the IAX2 trunk.

when I try to make a call I get the all circuits are busy now message. I recalled reading about a requirement to add "requirecalltoken=no" to the peer details and also adding he following to iax_general_custom.conf

calltokenoptional = 0.0.0.0/0.0.0.0
maxcallnumbers = 16382

I tried this but still get the same result.

I thought the next step would be to look at the iax debugging output but there wasn't any, (there is for incoming calls). I suspect that the problem occures before the call gets that far.

I then looked at the asterisk cli log

== fixlocalprefix: Dialpattern 44+0|z. matched. 0152******* -> 44152*******
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/113-00000005", "OUTNUM=44152******") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/113-00000005", "custom=IAX2/Voiptalk") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/113-00000005", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/113-00000005", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/113-00000005", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/113-00000005", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/113-00000005", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/113-00000005", "IAX2/Voiptalk/44152*******,300,") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/113-00000005", "s-CHANUNAVAIL,1") in new stack

To me it all looks to be going well until its time to dial and then it's as if the trunk is engaged or not there.

I am lost now as to how to go any further, I am sure that I have done nothing differently.

could someone sugest the next step please

Dave



motorbikes
Posts: 175
Member Since:
2006-12-19
Resolved

Ok stupid me . I hadn't set the DNS settings. it works now.



Comment viewing options

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