bilal ghayyad
2008-May-30 16:45 UTC
[asterisk-users] Dial() and the timeout to jump for next priority
Hi List;
I am facing a problem that the Zap channel does not
hangup when destination does not answer.
What shall I do if the Dial function does not jump to
the next priority if rings the configured time? This
happens when Dial function use Zap channel as
following:
exten => _9X.,1,Dial(Zap/1/${EXTEN:1},40)
exten => _9X.,2,Playback(vm-nobodyavail)
exten => _9X.,3,Hangup()
exten => _9X.,102,Congestion()
exten => _9X.,103,Hangup()
Actually it stays ringing for long time (not related
for the 40 sec) and it does not jump for the next
priority (2) at all, in the end the telephone return
busy tone (from the provider) and then no tone, but
channel is not Hanged up (because provider does not
hangup it), and the Dial does not jump to next
priority to hangup.
Any one faced this problem? I beleive it might be
related to one of the following:
1) Or the provider send connect signal during the
ringing, so when we are hearing the ring back tone,
actually we are hearing it with connect status, but I
am not sure if that is happening.
2) Might be because the I am using Zap channel, but I
do not know why?!
So any one has idea how can I guarantee the channel to
be hanged up if destination did not answer?
Regards
Bilal
Eric Wieling
2008-May-30 20:53 UTC
[asterisk-users] Dial() and the timeout to jump for next priority
Switch to a non-digital interface to the PSTN. bilal ghayyad wrote:> Hi List; > > I am facing a problem that the Zap channel does not > hangup when destination does not answer. > > What shall I do if the Dial function does not jump to > the next priority if rings the configured time? This > happens when Dial function use Zap channel as > following: > > exten => _9X.,1,Dial(Zap/1/${EXTEN:1},40) > exten => _9X.,2,Playback(vm-nobodyavail) > exten => _9X.,3,Hangup() > exten => _9X.,102,Congestion() > exten => _9X.,103,Hangup() > > Actually it stays ringing for long time (not related > for the 40 sec) and it does not jump for the next > priority (2) at all, in the end the telephone return > busy tone (from the provider) and then no tone, but > channel is not Hanged up (because provider does not > hangup it), and the Dial does not jump to next > priority to hangup.-- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide.
Eric Wieling
2008-May-30 20:55 UTC
[asterisk-users] Dial() and the timeout to jump for next priority
Maybe I should read my post before hitting SEND. Switch to an interface to the PSTN that is not FXO (E&M, PRI, etc) FXO ports are considered answered as soon as dialing is finished. bilal ghayyad wrote:> Hi List; > > I am facing a problem that the Zap channel does not > hangup when destination does not answer. > > What shall I do if the Dial function does not jump to > the next priority if rings the configured time? This > happens when Dial function use Zap channel as > following: > > exten => _9X.,1,Dial(Zap/1/${EXTEN:1},40) > exten => _9X.,2,Playback(vm-nobodyavail) > exten => _9X.,3,Hangup() > exten => _9X.,102,Congestion() > exten => _9X.,103,Hangup() > > Actually it stays ringing for long time (not related > for the 40 sec) and it does not jump for the next > priority (2) at all, in the end the telephone return > busy tone (from the provider) and then no tone, but > channel is not Hanged up (because provider does not > hangup it), and the Dial does not jump to next > priority to hangup.