I sent this to the voip.ms support staff, but they couldn’t figure it out. We believe is has something to do with a port conflict. I currently only have 5060 open in my firewall (+RTP), but when I do SIP SHOW PEERS it will frequently show the service registered under a different port. When we changed the .ms register command port to 5080, it worked briefly and SIP SHOW PEERS said they were both registered as 5060.
I am suspecting some kind of NAT/port issue. Ultimately, I want everything working on 5060. Again, I’m running asterisk 1.8 outside the NAT and directly on the net.
I’m getting a lot of this stuff in my log file:
[May 6 18:14:27] ERROR netsock2.c: getaddrinfo(“callcentric.com”, “(null)”, …): Name or service not known
[May 6 18:14:27] WARNING acl.c: Unable to lookup ‘callcentric.com’
[May 6 18:14:27] NOTICE chan_sip.c: Peer ‘voipms’ is now Reachable. (41ms / 2000ms)
[May 6 18:16:18] NOTICE dnsmgr.c: Managed DNS entries will be refreshed every 3600 seconds.
[May 6 18:17:28] WARNING app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)
[May 6 18:22:41] ERROR netsock2.c: getaddrinfo(“tampa.voip.ms”, “(null)”, …): Name or service not known
[May 6 18:22:41] WARNING acl.c: Unable to lookup ‘tampa.voip.ms’
[May 6 18:22:42] NOTICE chan_sip.c: Peer ‘CCDennis’ is now Reachable. (65ms / 2000ms)
The “Unable to lookup ‘tampa.voip.ms’” makes it sound like a DNS issue, but when I changed it to a direct IP, I got the same ‘tampa…’ error.
From my SIP.CONF file:
rtpkeepalive = 30
disallow=all ; First disallow all codecs
allow=ulaw ; Allow codecs in order of preference
; register => 1777MYCCID:SUPERSECRET@callcentric.com/CCDennis
register => MYMSID:MYMSPASS@tampa.voip.ms:5080/voipms
[CCDennis] ; callcentric outgoing