Hello Asterisk Users, After Brain storming for couple of hours, days, and weeks, finally got Asterisk to work with Vonage for Inbound and Outbound calls.
Requirement: - 1) Vonage Softphone account 2) Asterisk 3) Couple of SIP Phones Here is my sip.conf [general] port = 5060 ; Port to bind to (SIP is 5060) bindaddr = <<Local IP>> ; Address to bind to (all addresses on machine) context=incoming disallow=all allow=ulaw allow=alaw allow=g729 allow=g723 externip=<<External IP>> localnet=<<Local IP>> localmask=<<Local mask>> nat=yes register=<<VonageDID>>:[EMAIL PROTECTED]:5061/202 [vonage-out] username=<<VonageDID>> type=friend secret=<<password>> port=5061 nat=yes host=sphone.vopr.vonage.net fromuser=<<VonageDID>> fromdomain=sphone.vopr.vonage.net dtmfmode=rfc2833 auth=md5 [vonage202] username=<<VonageDID>> type=friend secret=<<password>> port=5061 nat=yes insecure=very host=sphone.vopr.vonage.net fromuser=<<VonageDID>> fromdomain=sphone.vopr.vonage.net dtmfmode=inband context=from-pstn canreinvite=no auth=md5 Here is my extension.conf [ext-did] exten => <<VonageDID>,1,Goto(ext-local,202,1) or exten => <<VonageDID>>,1,Goto(aa_1,s,1) If you are sending the call to IVR. For some this configuration might vary as my Asterisk is behind NAT. Asterisk Rocks!!! Enjoy Many thanks to Jay & Dean Neel _______________________________________________ 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
