Re: [Asterisk-java-devel] How to Cancel a Dial command
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2012-01-06 20:55:55
|
Sure... but a listener would be more elegant, I think... yves Am 06.01.2012 17:34, schrieb Jeryes .: > Yves, > > " if your source channel is hung up, do not execute any commands on > this channel as it would end > up in an exception..." > > that worked... if the channel is alive no exception will be thrown, > and that is the characteristic of the FROM leg disconnection, or a > disconnection of an established call, otherwise it is a timeout or an > ignore sent from the TO leg. > > Thanks for your help!! > > []s > Jeryes > > > > > 2012/1/5 Yves A. <yv...@gm... <mailto:yv...@gm...>> > > I see. > Try to implement a listener that listens to the asterisk-events. > If you receive an unlink or hangup event, > check, if the corresponding channel is your agi-source channel and > if so, interrupt the outgoing dials, > that were originated from here.. > if your source channel is hung up, do not execute any commands on > this channel as it would end > up in an exception... > > regards, > yves > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |