Getting a message everyone is busy

I’m using Sonetel provider and number 0111222333 is routed to my asterisk server.

I have installed X-lite in my Windows PC and I’m trying to get the calls 0111222333 routed to X-lite.

I have following configuratio in sip.conf

[code]register => xxxx@yyyy.com:zzzzzz@sip.sonetel.com
outboundproxy=sip.sonetel.com

[paul]
type=friend
dtmfmode=rfc2833
context=mercury
host=sip.sonetel.com
username=paul
secret=zzzzzzzz
nat=yes
fromdomain=mercuryh.com
outboundproxy=sip.sonetel.com
insecure=invite
disallow=All
allow=alaw
allow=ulaw
allow=gsm

[101]
type=peer
secret=secret
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
context=mercury[/code]

I have following configuration in extensions.conf

[code][mercury]
exten => paul,1,Answer
exten => paul,n,Playback(Enterprise-Welcome-message);
exten => paul,n, Hangup

exten => _00X.,1, Answer
exten => _00X.,n, Set(CALLERID(num)=paul)
exten => _00X.,n, Dial(SIP/${EXTEN}@paul)
exten => _00X.,n, Hangup

exten => s,1,Answer
exten => s,2,Dial(SIP/101)
[/code]
When I make the call, this is what I get in asterisk console,

== Using SIP RTP CoS mark 5 -- Executing [s@mercury:1] Answer("SIP/paul-00000017", "") in new stack -- Executing [s@mercury:2] Dial("SIP/paul-00000017", "SIP/101,30") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/101 [Nov 21 01:32:42] WARNING[1824]: chan_sip.c:20245 handle_response_invite: Received response: "Forbidden" from '"+54" <sip:+54@xx.yyy.zzz.107>;tag=as4fe8e1ae' == Everyone is busy/congested at this time (1:0/1/0) -- Auto fallthrough, channel 'SIP/paul-00000017' status is 'CONGESTION' asterisk*CLI>

What is going wrong? Please help.

“Forbidden”

The ITSP is not prepared to talk to you. Probably because you sent the wrong authentication details, but could be any other policy reason of theirs.

Perhaps you are sending the wrong user part in the From: and Contact: headers. Check with your provider if they can help in checking what is wrong in the SIP signaling, so they refuse your calls.

This issue is due to a misconfiguration of the Sonetel SIP Trunk. This is my config. It work like a charm

host=ip
secret=…
remotesecret=…
insecure=invite

is not a useful combination, as the insecure=invite prevents the use of secret in any context where it is not overridden by remotesecret.

It looks like the actual problem is that it expects fromuser to match the account name, rather than containing outgoing caller ID.

This is the key for get Sonetel working.

[quote=“david55”]

It looks like the actual problem is that it expects fromuser to match the account name, rather than containing outgoing caller ID.[/quote]

Thank you!

I’m not sure what exactly gone wrong. With a complete reconfiguration it is now working.