# Calls getting forbidden while making outgoing calls

**URL:** <https://community.asterisk.org/t/calls-getting-forbidden-while-making-outgoing-calls/37090>\
**Category:** Asterisk Support\
**Created:** [October 20, 2011, 7:55am UTC](https://community.asterisk.org/t/calls-getting-forbidden-while-making-outgoing-calls/37090 "2011-10-20T07:55:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [October 20, 2011, 7:55am UTC](https://community.asterisk.org/t/calls-getting-forbidden-while-making-outgoing-calls/37090/1 "2011-10-20T07:55:48Z")

</div>

Hii everybody,

I am using goautodial 2.1 and eyebeam softphone. My voip provider is [ringcentral.com](http://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](mailto:13476622622:xxxxxx:authname@sip.ringcentral.com)/13476622622

Account Entry:   
[13476622622]  
username=13476622622  
secret=xxxxxxxx  
authname=xxxxxx  
type=friend  
[host=sip.ringcentral.com](http://host=sip.ringcentral.com)  
fromuser=13476622622  
[fromdomain=sip.ringcentral.com](http://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

---

<div class="post-metadata">

**Author:** ![HusseinK](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@HusseinK](https://community.asterisk.org/u/HusseinK)\
**Post date:** [October 21, 2011, 3:17am UTC](https://community.asterisk.org/t/calls-getting-forbidden-while-making-outgoing-calls/37090/2 "2011-10-21T03:17:24Z")

</div>

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](http://sip.ringcentral.com) from your server ,and check result
2. if the above failed , try to get the IP of [sip.ringcentral.com](http://sip.ringcentral.com) , and add it to the HOST in ur linux server

i hope this help,  
Hussein

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [October 21, 2011, 6:55am UTC](https://community.asterisk.org/t/calls-getting-forbidden-while-making-outgoing-calls/37090/3 "2011-10-21T06:55:16Z")

</div>

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.
