Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-26 Thread JP Carballo
Ronald Wiplinger wrote: Nicolás Gudiño wrote: You should install php-pcntl (or compile php to add support for process control functions). The inuse problem will be fixed then. Regards, Can you please give us more info about that? What is php-pcntl? What should it do? How can it be used to

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-26 Thread Ronald Wiplinger
Nicolás Gudiño wrote: Hi Ronald, 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. You should install php-pcntl (or compile php to add support for process control functions). The inuse prob

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread Nicolás Gudiño
Replying to myself... I was thinking on a2billing, not astcc, so php-pcntl will make no difference. The problem might be the same anyways. Asterisk now sends a HUP signal to every agi script when it detects a hangup. If the script exits when receiving the signal, it will not handle the clean up r

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread Nicolás Gudiño
Hi Ronald, 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. You should install php-pcntl (or compile php to add support for process control functions). The inuse problem will be fixed then.

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread JP Carballo
Maxim Vexler wrote: I would be interesed in your the applications you use in your dialplan to reset this flag. Could you please post here the relevent part of your extensions.conf ? http://lists.digium.com/pipermail/asterisk-users/2006-April/146947.html -- JP Carballo http://www.netfone2x.co

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread JP Carballo
Ronald Wiplinger wrote: ok, How do I check if a particular channel is up? (Wasn't that what I asked above anyway) Try this. Using "show channels concise", retrieve the channel names, then loop through each channel using "show channel channel_name". Get the channel's UniqueID then compar

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread Maxim Vexler
On 6/24/06, Ronald Wiplinger <[EMAIL PROTECTED]> 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

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-25 Thread Ronald Wiplinger
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 m

Re: [Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-24 Thread JP Carballo
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

[Asterisk-Users] ASTCC: How to reset periodically all "card in use" flag back?

2006-06-24 Thread Ronald Wiplinger
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 wan