Good day all I want to tell asterisk that it should hangup a channel in a certain step For example: exten => s,5,Dial(SIP/302,25) exten => s,6,Hangup exten => s,7,Hangup(SIP/302) What happens is that if someone calls into the pbx and hangs up before it gets answered it still keeps on ringing on the internal side and if you pick up there is nothing Please Help
I as a similar problem with this: ignorepat => 9 exten => 9,1,Dial,Zap/g2 exten => 9,2,Congestion What if I pressed 9, called a number, and hanged up before someone replies.. It happened with me more than once that the line is left open, waiting for the other side to hangup (what if there is no other side) .. isn't there a timeout for Congestion ? On Monday 22 November 2004 10:47, Altus Snyman wrote:> Good day all > I want to tell asterisk that it should hangup a channel in a certain step > For example: > exten => s,5,Dial(SIP/302,25) > exten => s,6,Hangup > exten => s,7,Hangup(SIP/302) > > What happens is that if someone calls into the pbx and hangs up before > it gets answered it still keeps on ringing on the internal side and if > you pick up there is nothing > Please Help > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, this call is from? Zap channel, Capi channel or other channel? It is possible that you don't detect well hangup from incoming channel. Regards. -----Mensaje original----- De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] En nombre de Altus Snyman Enviado el: lunes, 22 de noviembre de 2004 9:48 Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: [Asterisk-Users] hangup()??? Good day all I want to tell asterisk that it should hangup a channel in a certain step For example: exten => s,5,Dial(SIP/302,25) exten => s,6,Hangup exten => s,7,Hangup(SIP/302) What happens is that if someone calls into the pbx and hangs up before it gets answered it still keeps on ringing on the internal side and if you pick up there is nothing Please Help _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004
Altus Snyman wrote:> Good day all > I want to tell asterisk that it should hangup a channel in a certain step > For example: > exten => s,5,Dial(SIP/302,25) > exten => s,6,Hangup > exten => s,7,Hangup(SIP/302) > > What happens is that if someone calls into the pbx and hangs up before > it gets answered it still keeps on ringing on the internal side and if > you pick up there is nothingThis is the way it works with analog ports. Asterisk should realize it's no longer getting ring voltage after about 5 seconds or so.