[Asterisk-Users] ASTCC: How to reset periodically all "card in
use" flag back?
Ronald Wiplinger
ronald at elmit.com
Sun Jun 25 02:19:02 MST 2006
JP Carballo wrote:
> 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.
>
ok,
How do I check if a particular channel is up?
(Wasn't that what I asked above anyway????)
bye
Ronald Wiplinger
More information about the asterisk-users
mailing list