Hey Everyone, I had asterisk 1.4 setup with my vonage softphone, and it was working fine. I upgraded to 1.6 with a fresh set of sample config files and added the following:
sip.conf:
register => phone:pass@sphone.vopr.vonage.net:5061
[]
username=
type=friend
secret=
port=5061
nat=yes
externhost=cwilson.dynalias.net
insecure=very
host=sphone.vopr.vonage.net
fromuser=14174237796
fromdomain=sphone.vopr.vonage.net
dtmfmode=inband
context=from-pstn
canreinvite=no
auth=md5
allow=g729
allow=ulaw
allow=alaw
extensions.conf:
[from-ptsn]
exten => <phone#>,1,Goto(demo,s,1)
when I call, I get vonage voicemail, it used to connect me into the AA.
when I call in (On debug output) I get:
Asterisk Ready.
== Parsing ‘/etc/asterisk/cli.conf’: == Found
– ast_get_srv: SRV lookup for ‘_sip._UDP.sphone.vopr.vonage.net’ mapped to host sphone.vopr.vonage.net, port 5061
– ast_get_srv: SRV lookup for ‘_sip._UDP.sphone.vopr.vonage.net’ mapped to host sphone.vopr.vonage.net, port 5061
== Using SIP RTP CoS mark 5
– ast_get_srv: SRV lookup for ‘_sip._UDP.sphone.vopr.vonage.net’ mapped to host sphone.vopr.vonage.net, port 5061
and just transfered to vonage voicemail, anyone have any idea what is going on?
when i do a sip show registry i get:
Asterisk Ready.
*CLI> sip show registry
Host Username Refresh State Reg.Time
sphone.vopr.vonage.net:5061 15 Registered Sat, 16 Feb 2008 18:50:16
1 SIP registrations.
*CLI>
and sip show users:
*CLI> sip show users
Username Secret Accountcode Def.Context ACL NAT
<phone #> <#pass> from-pstn No Always
*CLI>
it seems to be registering but not working quite right, any idea’s? I might be missing something obvious, but any help would be apreciated
most of my config came from: voip-info.org/wiki/view/Asterisk+and+Vonage
thanks!
CW