SIP Trunk issues
Posted: 05/18/2014
I was happily using freephoneline with asterisk last year and now something has changed that I can't nail down.
I can place calls but not receive any - they go straight to voicemail. Here's the call log.
Duration Connect time Disconnect time Disconnect reason City Cost
0:04 2014-05-18 15:45 2014-05-18 15:45 Normal call clearing $0.00
0:04 2014-05-18 15:45 2014-05-18 15:45 Unallocated (unassigned) number
Freephoneline said they're not responsible for the problem and refuse support obviously on unsupported devices or software. However, I know this worked perfectly well last year with this same configuration I tried today. They've obviously made some type of change like incoming calls made from different or varying IP's, or some difference in authentication but they wouldn't tell me.
If anyone can help direct me on how to troubleshoot this it would be appreciated. The installation is on the router itself (openwrt) which historically bypassed any issues with ports or NAT with the firewall.
{sip.conf}
[general]
context=default-incoming-call-context
allowoverlap=yes
allowtransfer=yes
realm=asterisk
bindaddr=0.0.0.0
srvlookup=yes
maxexpiry=600
minexpiry=60
defaultexpiry=300
qualifyfreq=55
disallow=all
allow=ulaw
allow=alaw
dtmfmode = inband
alwaysauthreject = yes
t1min=100
timert1=500
timerb=16000
rtptimeout=600
rtpkeepalive=30
useragent=PBX
localnet=192.168.0.0/16
localnet=10.0.0.0/8
localnet=172.16.0.0/12
nat=yes
directmedia=no
sipdebug=no
#include sip_registrations.conf
register => 1604*******:secret@peer-1604*******_voip_freephoneline_ca
[authentication]
#include sip_peers.conf
[peer-1604*******_voip_freephoneline_ca]
type = peer
defaultuser = 1604*******
fromuser = 1604*******
secret = secret
host = voip.freephoneline.ca
fromdomain = voip.freephoneline.ca
context = context-incoming-1604*******_voip_freephoneline_ca
insecure = port,invite
qualify = 2000
#include sip_users.conf[1000]
fullname = V|FULLNAME|L
defaultuser = 1000
secret = secret
hassip = yes
hasvoicemail = no
host = dynamic
type = friend
context = context-user-1000
qualify = no
Again - the pbx registers with freephoneline and makes outgoing calls just fine (so my extension is working fine as well). I've tried different things but don't know what to do from here.
I can place calls but not receive any - they go straight to voicemail. Here's the call log.
Duration Connect time Disconnect time Disconnect reason City Cost
0:04 2014-05-18 15:45 2014-05-18 15:45 Normal call clearing $0.00
0:04 2014-05-18 15:45 2014-05-18 15:45 Unallocated (unassigned) number
Freephoneline said they're not responsible for the problem and refuse support obviously on unsupported devices or software. However, I know this worked perfectly well last year with this same configuration I tried today. They've obviously made some type of change like incoming calls made from different or varying IP's, or some difference in authentication but they wouldn't tell me.
If anyone can help direct me on how to troubleshoot this it would be appreciated. The installation is on the router itself (openwrt) which historically bypassed any issues with ports or NAT with the firewall.
{sip.conf}
[general]
context=default-incoming-call-context
allowoverlap=yes
allowtransfer=yes
realm=asterisk
bindaddr=0.0.0.0
srvlookup=yes
maxexpiry=600
minexpiry=60
defaultexpiry=300
qualifyfreq=55
disallow=all
allow=ulaw
allow=alaw
dtmfmode = inband
alwaysauthreject = yes
t1min=100
timert1=500
timerb=16000
rtptimeout=600
rtpkeepalive=30
useragent=PBX
localnet=192.168.0.0/16
localnet=10.0.0.0/8
localnet=172.16.0.0/12
nat=yes
directmedia=no
sipdebug=no
#include sip_registrations.conf
register => 1604*******:secret@peer-1604*******_voip_freephoneline_ca
[authentication]
#include sip_peers.conf
[peer-1604*******_voip_freephoneline_ca]
type = peer
defaultuser = 1604*******
fromuser = 1604*******
secret = secret
host = voip.freephoneline.ca
fromdomain = voip.freephoneline.ca
context = context-incoming-1604*******_voip_freephoneline_ca
insecure = port,invite
qualify = 2000
#include sip_users.conf[1000]
fullname = V|FULLNAME|L
defaultuser = 1000
secret = secret
hassip = yes
hasvoicemail = no
host = dynamic
type = friend
context = context-user-1000
qualify = no
Again - the pbx registers with freephoneline and makes outgoing calls just fine (so my extension is working fine as well). I've tried different things but don't know what to do from here.