[Asterisk-Users] Detecting a PRI failure from dialplan
afoc at interconnessioni.it
afoc at interconnessioni.it
Fri Jan 20 07:33:03 MST 2006
> On 20 Jan 2006, at 11:49, Alessio Focardi wrote:
>
> > Hi,
> >
> > I would like to know if there is a way to detect the status of a span
> > prior of sendig a call across it from the dialplan.
> I find the best way to check the status of a PRI is to look in
> /proc/zaptel/1 or /proc/zaptel/2 etc
>
> You'd have to do some work integrating this into the dialplan,
> but you could set a global variable or something.
Tnx, this is what I was fearing from the start ... :)
What about hangup codes ? I still have to understand if they can be parsed after dial or just by "h" extension ...
Regards!
More information about the asterisk-users
mailing list