[Asterisk-Users] Asterisk and Vonage - Can't call out but can receive calls

Brian Deep bdeep at cc-sw.com
Fri Aug 19 13:28:22 MST 2005


Mark,

Thank you very much!!! That was exactly it.  My config files now look like the
following and I can send and receive calls using Vonage.

sip.conf:
[general]
externip=X.X.X.X
port=5060
bindaddr=X.X.X.X
context=vonage-out
disallow=all
allow=ulaw
allow=alaw
nat=yes
register=####:PASSWORD at atlas-east.vonage.net:5060/201

[vonage]
username=####
type=peer
secret=PASSWORD
port=5060
nat=yes
host=atlas-east.vonage.net
fromdomain=vonage.net
canreinvite=no
fromuser=####
dtmfmode=rfc2833
context=vonage-out

[201]
type=friend
username=201
secret=PASSWORD
host=dynamic
dtmfmode=rfc2833
defaultip=X.X.X.X
mailbox=201
callerid=NAME
progressinband=no
context=from-sip


extension.conf:
[vonage-out]
exten => ####,1,Goto(from-sip,201,1)

[from-sip]
exten => _9.,1,Dial(SIP/${EXTEN:1}@vonage)


Thanks,
-- Brian

Friday, August 19, 2005, 3:50:12 PM, you wrote:
> You are calling a sip host that you do not have defined in sip.conf.

> I think the line should look like this

exten =>> _9.,1,Dial(SIP/${EXTEN:1}@vonage)

> This will force * to look in its sip.conf file for a stanza called 
> [vonage] which you have rather than [atlas-east.vonage.net] which you 
> don't have.

>>
>> extensions.conf (relevant part)
>> [vonage-out]
>> exten => ####,1,Goto(from-sip,201,1)
>> 
>> [from-sip]
>> exten => _9.,1,Dial(SIP/${EXTEN-1}@atlas-east.vonage.net)
>> exten => 201,1,Dial(SIP/201)
>> exten => 202,1,Dial(SIP/202)
>> 
>> 
>> 
>> Thanks,
>> -- Brian
>> 
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>> 





More information about the asterisk-users mailing list