I have set up three trunks
a) Zap
b) SIP Voip
c) SIP Voip
When I have internet connection all works fine but when the internet is down trunk 2 & 3 fail but then asterisk just refuses everything else. The Zap channel does not work and next the extensions fail. I can’t even make an internal extension to extension call. Asterisk even unregisters my extension. This is really weird and I am sure I am missing some small but important detail
My settings for the sip trunk are as follows
disallow=all
allow=ulaw
canreinvite=no
dtmfmode=inband
fromdomain=lowratevoip.com
fromuser=username
host=sip.lowratevoip.com
insecure=very
progressinband=yes
qualify=yes
secret=password
type=friend
username=username
My Zapata.conf settings are as follows
[channels]
language=en
context=from-pstn
signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master
switchtype=euroisdn
rxwink=300 ; Atlas seems to use long (250ms) winks
;usedistinctiveringdetection=yes
callerid=asreceived
pridialplan=unknown
nationalprefix=70
internationalprefix=700
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
;Include AMP configs
#include zapata_additional.conf
channel => 1-15,17-31
asterisk log does not show many errors. The only error it shows is the following:
[May 6 20:04:39] WARNING[3423] chan_sip.c: No such host: sip.lowratevoip.com
[May 6 20:04:39] WARNING[3423] chan_sip.c: Probably a DNS error for registration to [email protected], trying REGISTER again (after 20 seconds)
[May 6 20:04:39] DEBUG[3423] sched.c: Request to schedule in the past?!?!
As my extensions are not On I cannot make calls to see any more logs