OpenWrt Forum Archive

Topic: Asterisk trunk issues

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was happily using freephoneline with asterisk last year on Backfire 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 freephoneline call log.
Duration    Connect time            Disconnect time            Disconnect reason                
0:04            2014-05-18 15:45    2014-05-18 15:45    Normal call clearing (to voicemail)                      
0:04            2014-05-18 15:45    2014-05-18 15:45    Unallocated (unassigned) number       

Freephoneline said they're not responsible and refuse support obviously on unsupported devices or software. However, I know this worked perfectly well a few months ago with this same configuration I tried today. They've obviously made some type of change like incoming coming from different 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. I've tried both Asterisk 1.8 and 11 but the result is the same.

{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 (and so my extension is working fine as well). I've tried different things but don't know what to do from here.

(Last edited by silicone on 18 May 2014, 21:35)

Hello Sir
Good day , i am having same issue regarding the iax2 trunk . if you add me harryctg@gmail.com i will happy .
cause my iax2 trunk is ok but its not passing any calls

The discussion might have continued from here.