The trunk registers fine… CLI shows Registered status. However, dialing any number, I get a recording saying “all circuits are busy now”… CLI shows the following excerpt:
Called SIP/Keku/0033123123123
[2014-08-31 15:20:09] WARNING[32542][C-00000001]: chan_sip.c:23031 handle_response_invite: Received response: “Forbidden” from ‘“701” sip:[email protected];tag=as15c3a45d’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:21] NoOp(“SIP/701-00000000”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack
If I configure a softphone SIP client, the trunk works fine. Any ideas what I’m doing wrong?.
701 is a working extension in my system, and it works fine with a variety of other trunks (Google Voice, CallWithUs among others) - thanks for the suggestion.
Alan, yes, I have a g729 license - so that not a problem.
Sky King: you are absolutely correct… I have taken a couple of my working trunks (CallWithUs, VoipTalk etc), and first just changed parameters like username, domain and password… That didnt work, then I tried merging … Trial n error… Eventually, the trunk details I posted in my second post actually started working!!.
I have a feeling that the “fromuser=317XXXXXX” did your trick, as an override on the outbound route or trunk would have also done. Your SIP carrier is not authorizing you to send calls from an unknown outbound CID.