Summary:ASTERISK-05254: [patch] When used with CVS-HEAD, ASTCC might leave the "inuse" flag for the card
Reporter:nicolasg (nicolasg)Labels:
Date Opened:2005-10-05 23:29:59Date Closed:2005-10-13 19:04:46
Versions:Frequency of
Environment:Attachments:( 0) astcc.patch.txt
Description:If the user hangs up the call after entering the pin and before entering the number, the "inuse" flag is not reset to zero, preventing that pin to be used again. As per the UPDATE file for CVS-HEAD, all agi scripts now get a HUP signal.


This patch adds a signal handler that just ignores the HUP, letting astcc do the proper cleanup instead of terminating. It seems to fix the problem. Further testing and feedback would be needed.
Comments:By: Ricardo Poppi (rpoppi77) 2005-10-06 12:14:39

It solved the problem. Good to be updated to CVS.

By: Darren Wiebe (darren) 2005-10-06 21:50:36

Thanks, this works great!  Good to be put into cvs IMHO.

By: Darren Wiebe (darren) 2005-10-10 20:33:28

2 more clients of mine have had their problems solved by this patch!

By: Kevin P. Fleming (kpfleming) 2005-10-13 19:04:03

Committed to CVS HEAD, thanks!