[asterisk-users] Congestion/Forbidden issue with new carrier

Paul Hales pdhales at optusnet.com.au
Fri Jan 11 00:11:53 CST 2008


Are they expecting numbers in a 61XXXXXXXX format?

PaulH


On Fri, 2008-01-11 at 16:27 +1100, Kev S wrote:
> Hi everyone,
> 
> having a issue with asterisk and my new Voip providers service.
> Iv set up many asterisk systems before but never seen this and have 
> tried to fix this with no luck..
> I have used this exact same sort of setup for 5 other providers and 
> never had this issue, If i replace the trunk login details with my works 
> voip account and set it to IAX then it works perfect, Just not the new 
> provider,
> I have also tried this on our work asterisk server, our development box 
> and my home box all with the same bad result .
> When i make a call, Straight away it just says Congested and i get a 
> forbidden error.. Although Incoming calls work fine, and my provider 
> confirms that i am authenticated.
> Here is what happens when i make a call, i have put xx on the numbers 
> and passwords. The dialplan strips the 0 in front of the number.
> 
> --------------------------------------------------------
> -- Executing [0043401xxxx at numberplan-custom-2:1­ ] 
> Macro("SIP/400-08280ae0", "trunkdial|SIP/trunk_1/043401xxxx"­ ) in new stack
> 
> -- Executing [s at macro-trunkdial:1] Dial("SIP/400-08280ae0", 
> "SIP/trunk_1/043401xxxx") in new stack
> 
> -- Called trunk_1/043401xxxx
> 
> [Jan 11 14:33:16] WARNING[2439]: chan_sip.c:11918 
> handle_response_invite: Received response: "Forbidden" from '"400" 
> <sip:028012xxxx at iinetphone.iinet.net.au 
> <mailto:028012xxxx at iinetphone.iinet.net.au>>;tag=as0767eb78'
> 
> -- SIP/trunk_1-08284e38 is circuit-busy
> 
> == Everyone is busy/congested at this time (1:0/1/0)
> 
> -- Executing [s at macro-trunkdial:2] Goto("SIP/400-08280ae0", 
> "s-CONGESTION|1") in new stack
> -- Goto (macro-trunkdial,s-CONGESTION,1)
> -- Executing [s-CONGESTION at macro-trunkdial:1] NoOp("SIP/400-08280ae0", 
> "") in new stack
> 
> == Auto fallthrough, channel 'SIP/400-08280ae0' status is 'CONGESTION'
> 
> --------------------------------------------------------
> 
> I cant work out what in the world this is, Why is the phone saying 
> forbidden?
> --------------------------------------------------------
> [Jan 11 14:33:16] WARNING[2439]: chan_sip.c:11918 
> handle_response_invite: Received response: "Forbidden" from '"400" 
> <sip:028012xxxx at iinetphone.iinet.net.au 
> <mailto:028012xxxx at iinetphone.iinet.net.au>>;tag=as0767eb78
> --------------------------------------------------------
> 
> 
> I can receive incoming call fine, Here is a copy of relevant parts of 
> the configs and other info
> 
> Trunk Info
> 
> [trunk_1]
> disallow =
> allow = all
> callerid = 028012xxxx
> contact =
> context = DID_trunk_1
> dialformat = ${EXTEN:1}
> fromdomain = iinetphone.iinet.net.au
> fromuser = 028012xxxx
> group =
> hasexten = no
> hasiax = no
> hassip = yes
> host = sip.nsw.iinet.net.au
> insecure = very
> port = 5060
> provider =
> registeriax = no
> registersip = yes
> secret = xxxxxxxx
> trunkname = Custom - iinet
> trunkstyle = customvoip
> username = 028012xxxx
> 
> 
> The dialplan, Just dial 0, then number, then strip the first 0 and dial
> 
> [numberplan-custom-2]
> include = default
> plancomment = home
> exten = _0X!,1,Macro(trunkdial,${trunk_1}/­ ${EXTEN:1})
> comment = _0X!,1,All Numbers,standard
> 
> 
> The trunks context, Wich is all incoming calls go to exten 400 (office)
> 
> [DID_trunk_1]
> include = default
> exten = _X.,1,Goto(default|400|1)
> exten = s,1,Goto(default|400|1)
> 
> 
> sip show registry
> 
> asdev*CLI> sip show registry
> Host Username Refresh State Reg.Time
> sip.nsw.iinet.net.au:5060 028012xxxx 105 Registered Fri, 11 Jan 2008 
> 14:43:01
> asdev*CLI>
> 
> 
> sip show peers
> 
> asdev*CLI> sip show peers
> Name/username Host Dyn Nat ACL Port Status
> 400/400 172.17.16.66 D 5060 Unmonitored
> trunk_1/0280125553 203.59.xx.xx 5060 Unmonitored
> 2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 
> offline]
> asdev*CLI>
> 
> 
> Any help would be appreciated, Thanks in advance
> 
> Kevin S
> 




More information about the asterisk-users mailing list