three trunks, voip & zaptel. If voip fails asterisk hangs

edwardlobo

New Member
Joined
Apr 23, 2008
Messages
1
Reaction score
0
I have set up 3 trunks
zaptel
voip1
voip2


When the internet works everything works nicely. I can call using zaptel or voip & recieve calls from both.

When the internet goes down voip1 and voip2 rightfully fail. But asterisk doesn't keep zaptel alive. All extensions are disconnected and I cannot make or receive any calls on zaptel.

If I remove both the sip trunks and then if internet goes down zaptel works alright. some extensions are outside the office and they work fine.

I am really confused by this behaviour. In freepbx admin I can see only 2 trunks not three. I think this is normal and zaptel does not appear as a trunk. Is it that asterisk thinks all trunks are down and decides to close all ports. Even the web from the inside network stops working until the sip lines are up. If sip lines are not configured then there is no problem even if internet is down.

I cannot even dial extensions. The calls from the phone does not even reach asterisk when I do asterisk -rv

my sip trunk settings 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 is as follows
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?!?!


***
I tried adding a trunk to itself hoping it will find one trunk on and hence keep zaptel open. I have an spa3102. I can try adding that as a trunk so asterisk sees one sip trunk available and does not start closing ports and connections.

please help if you can direct me in the right path
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top