Calls getting forbidden while making outgoing calls

Hii everybody,

I am using goautodial 2.1 and eyebeam softphone. My voip provider is ringcentral.com. I can register my account but cannot make calls. It shows error forbidden but manually i can make calls. But from this box i cant make calls i am furnishing the settings.

Registration String: register =>13476622622:xxxxxx:authname@sip.ringcentral.com/13476622622

Account Entry:
[13476622622]
username=13476622622
secret=xxxxxxxx
authname=xxxxxx
type=friend
host=sip.ringcentral.com
fromuser=13476622622
fromdomain=sip.ringcentral.com
allow=all
allow=g729
allow=ulaw
allow=alaw
nat=yes
canreinvite=yes
insecure=very
dtmfmode=rfc2833
context=subscriber
trustrpid=yes
qualify=yes

Dialplan Entry:
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@13476622622,tTo)
exten => _91XXXXXXXXXX,3,Hangup

I cant understand where is the error, kindly me suggestion for this issue making clear… And am placing error code also

Executing [913033372500@default:1] AGI(“SIP/8001-00000000”, “agi://127.0.0.1:4577/call_log”) in new stack
[Oct 20 03:09:02] – AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 20 03:09:02] – Executing [913033372500@default:2] Dial(“SIP/8001-00000000”, “SIP/13033372500@13476622622||tTo”) in new stack
[Oct 20 03:09:04] == Manager ‘sendcron’ logged off from 127.0.0.1
[Oct 20 03:09:04] WARNING[9195]: chan_sip.c:3225 create_addr: No such host: 13476622622
[Oct 20 03:09:04] WARNING[9195]: app_dial.c:1310 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)
[Oct 20 03:09:04] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 20 03:09:04] – Executing [913033372500@default:3] Hangup(“SIP/8001-00000000”, “”) in new stack
[Oct 20 03:09:04] == Spawn extension (default, 913033372500, 3) exited non-zero on ‘SIP/8001-00000000’
[Oct 20 03:09:04] – Executing [h@default:1] DeadAGI(“SIP/8001-00000000”, “agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----20-----CHANUNAVAIL----------”) in new stack
[Oct 20 03:09:04] – AGI Script agi://127.0.0.1:4577/call_log–HVcauses … ---------- completed, returning 0

Thanks in Advance

i dont know about AGI

but fro mthe logs ,it seems :
[Oct 20 03:09:04] WARNING[9195]: chan_sip.c:3225 create_addr: No such host: 13476622622
[Oct 20 03:09:04] WARNING[9195]: app_dial.c:1310 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)

do the following:

  1. try to ping& nslookup sip.ringcentral.com from your server ,and check result
  2. if the above failed , try to get the IP of sip.ringcentral.com , and add it to the HOST in ur linux server

i hope this help,
Hussein

I don’t think this is because the address is wrong in sip.conf, but rather because it is interpreting the number as the address itself.

What I can’t remember is whether or not sip.conf section names are allowed after the @ as well as before a /. Also, it is conceivable that that part of sip.conf isn’t actually being processed.