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

Martyn Russell martyn.russell at bt.com
Fri Sep 17 08:22:16 MST 2004


On Fri, 2004-09-17 at 15:31, Steven Critchfield wrote:
> > If, for example, the channel fails because the PRI has been pulled out
> > of the back of the card, that is serious.  We need to know if it is
> > serious or expected, and the user clearing in the middle of the call is
> > expected.
> 
> This isn't something for the AGI to take care of. The AGI just needs to
> know the call is gone. If you want notification that the PRI is down,
> there are better solutions. If you are doing it in the AGI, you need to
> have a call in progress when it fails to be notified. Proper
> notification would be sitting outside of asterisk watching the driver
> like the zttool does and watching for alarms. 

Ah, OK :) 

Thanks for that, I will look into it.

I guess we will have to assume the -1 is a clear and look for alarms to
know if the channel has had a problem.

Thanks again,

-- 
Regards,
Martyn



More information about the asterisk-users mailing list