Re: [Asterisk-java-devel] How to Cancel a Dial command
Brought to you by:
srt
From: Jeryes . <je...@vo...> - 2012-01-06 16:34:40
|
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...> > 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 > |