Summary: | ASTERISK-08692: inUse counter not decremented after hanging up a call which is on hold | ||
Reporter: | mdu113 (mdu113) | Labels: | |
Date Opened: | 2007-01-30 13:56:21.000-0600 | Date Closed: | 2007-06-30 09:20:05 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) scenario1.txt ( 1) scenario1-r53246.txt ( 2) scenario2.txt ( 3) scenario2-r53246.txt | |
Description: | This is related to the issue 8909. Unfortunately I couldn't find a way to reopen that issue so I open a new one. Sorry. The inUse counter is still not decremented under particular circumstances. The problem exists in peer part. User part seems to be decrementing just fine. Scenario 1 (both A and B are SIP channels): A calls B. A places B on hold. B hangs up. In this case everything works fine. Scenario 2: A calls B B places A on hold. A hangs up. In this case inUse counter is not decremented and as soon as it reaches configured call-limit all subsequent calls are rejected. 'reload chan_sip.so' doesn't reset inUse counter to 0, so the only way to get the extension back in service is to restart asterisk. ****** ADDITIONAL INFORMATION ****** Files scenario1.txt and scenario2.txt are debugging output for each scenario. Please let me know if you need any more info. | ||
Comments: | By: Olle Johansson (oej) 2007-02-01 15:23:06.000-0600 Please try with latest 1.4. Thanks. By: Joshua C. Colp (jcolp) 2007-02-02 12:25:23.000-0600 Ditto - I have been unable to reproduce this with latest 1.4/trunk so give it a go. By: mdu113 (mdu113) 2007-02-02 16:00:36.000-0600 Just tested it with revision 53120. The behavior I see is exactly the same. I see no changes. Do you want me to recollect debugs? Also I noticed that if I set limitonpeers to yes then the issue is gone and everything works fine. Hope this helps. By: Olle Johansson (oej) 2007-02-02 22:03:14.000-0600 You need to wait a while after the last call until the counter is reset. Check that you have no channels with "sip show channels", then check "sip show inuse" By: mdu113 (mdu113) 2007-02-04 00:08:36.000-0600 No, doesn't work for me. Waited over 5 minutes, even unplugged the phone and let registration expire. "sip show channels" shows only registration channels, no active calls, but inuse counter does not reset. By: Serge Vecher (serge-v) 2007-02-05 16:37:51.000-0600 let's see the debugs from the latest 1.4 branch (specify which one you've checked out). By: mdu113 (mdu113) 2007-02-06 13:14:35.000-0600 scenario1-r53246.txt and scenario2-r53246.txt are debugs for the same scenarios for svn revision 53246. After scenario 2 sip friend "12128121207010001" has inuse counter 1 which is not decremented. limitonpeers is set to 'no' By: Joshua C. Colp (jcolp) 2007-02-21 11:24:14.000-0600 Fixed in 1.4 as of revision 55914 and trunk as of revision 55915. Don't hurt me oej! |