OK, now that you have it working put it into the WIKI!!
Mark
Brian Deep wrote:
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=####:[EMAIL PROTECTED]: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:[EMAIL PROTECTED])
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:[EMAIL PROTECTED])
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/[EMAIL PROTECTED])
exten => 201,1,Dial(SIP/201)
exten => 202,1,Dial(SIP/202)
Thanks,
-- Brian
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Mark, G7LTT/KC2ENI
Randolph, NJ
http://www.g7ltt.com
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users