Open Source Training Seminar


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


three trunks, one failure causes all to fail

edwardlobo's picture

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 callci2i@sip.lowratevoip.com, 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


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I even tried creating a

edwardlobo's picture

I even tried creating a trunk to my own server so the server will see atleast one trunk available and not go down !! No change.

Please someone help if you know


Why can't I see zap as a

edwardlobo's picture

Why can't I see zap as a trunk in freepbx admin page. It displays other trunks but not zap although I can use zap trunk to receive and make calls.


I believe I've had this

jdaustin's picture

I believe I've had this issue before, setting up a local caching name server like dnsmasq seemed to help.