[Asterisk-Users] ASTCC: How to reset periodically all "card in
use" flag back?
JP Carballo
lists at netfone2x.com
Sat Jun 24 13:37:50 MST 2006
Ronald Wiplinger wrote:
> If a user calls and hangs up before the destination party rings, than
> the in-use flag remains set! This is one case, but maybe there are
> many other cases.
> I have created a number the user can dial to reset this flag. However,
> that is written in the manual!!! Who reads a manual anyway!!!!
>
> I want to make to reset all in use flag with a program. Has anybody
> done it, or has a better idea?
> My idea is to check every 5 minutes, the database, which cards are set
> in use and check if this is true, if not reset it.
>
> Q: How do I know if a card is in use?
Still banging your head over this one?
Get the card's uniqueid and use it to check if that particular channel
is up.
--
JP Carballo
http://www.netfone2x.com
Bringing the world closer.
It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.
More information about the asterisk-users
mailing list