[Asterisk-Users] AGI Python Clear or Channel Failure?

Steven Critchfield critch at basesys.com
Fri Sep 17 06:58:41 MST 2004


On Fri, 2004-09-17 at 09:01, Martyn Russell wrote:
> Is there any way to know if the return code (-1) is a clear or channel
> failure?

Does it matter. If you receive a -1 you know the line is no longer
available and no other commands will be accepted. So all that is left
for your app is to clean itself up and exit.

-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list