[Home]

Summary:ASTERISK-09844: Sometimes my SIP extension gets on Hold
Reporter:Edgar Landivar (elandivar)Labels:
Date Opened:2007-07-10 02:00:30Date Closed:2007-07-18 10:25:11
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) scenario2.var.log.asterisk.full
( 1) var.log.asterisk.full
Description:My phone is an ATCOM AT530 but it happens in a CISCO and in my softphones too. All configured with SIP. The phone can place calls but it can not receive calls. I used asterisk 1.4.5 and updated the version to 1.4.6 but the problem persists.

I did a "core show hints" and the output shows me that my phone in on Hold state but it's hung and not in use. This problem happens every hour.

The problem gets solved when I type "restart when convenient".

I'll try to test with the 1.4.7 tonight and I'll try to get more information to track this problem.
Comments:By: Joshua C. Colp (jcolp) 2007-07-10 07:37:55

We definitely need more information including console output, configuration information, sip debug, etc.

By: Edgar Landivar (elandivar) 2007-07-10 12:43:23

Ok, i got more info.

I think i have found a reproducible scenario:

Phone A -> ATCOM-530 (SIP/212)
Phone B -> CISCO 7960 (SIP/202)
Phone B -> GENERIC (dont know the model) (SIP/215)

A calls B, then B transfers the call (attended transfer) to C.

After the call the phone A looks on "Hold" but is not in use. The status is wrong. So, i can not call A anymore. Please look the CLI output:

elastix*CLI> core show hints
   -= Registered Asterisk Dial Plan Hints =-
                   801@ext-local           : IAX2/801              State:Idle            Watchers  0
                   601@ext-local           : SIP/601               State:Idle            Watchers  0
                   510@ext-local           : IAX2/510              State:Idle            Watchers  0
                   507@ext-local           : SIP/507               State:Unavailable     Watchers  0
                   502@ext-local           : SIP/502               State:Idle            Watchers  0
                   501@ext-local           : SIP/501               State:Idle            Watchers  0
                   405@ext-local           : SIP/405               State:Idle            Watchers  0
                   404@ext-local           : SIP/404               State:Idle            Watchers  0
                   403@ext-local           : SIP/403               State:Idle            Watchers  0
                   402@ext-local           : IAX2/402              State:Idle            Watchers  0
                   218@ext-local           : SIP/218               State:Idle            Watchers  0
                   216@ext-local           : SIP/216               State:Idle            Watchers  0
                   215@ext-local           : SIP/215               State:Idle            Watchers  0
                   213@ext-local           : SIP/213               State:Idle            Watchers  0
                  212@ext-local           : SIP/212               State:Hold            Watchers  0
                   203@ext-local           : SIP/203               State:Idle            Watchers  0
                   202@ext-local           : SIP/202               State:Idle            Watchers  0
                   201@ext-local           : SIP/201               State:Idle            Watchers  0

I have attached the output of the log file with SIP debug enabled and verbosity level 9.



By: Edgar Landivar (elandivar) 2007-07-10 22:45:55

Please, let me know if you need anything else.

By: Edgar Landivar (elandivar) 2007-07-11 18:42:07

I have found another scenario where the State becomes on Hold forever.

When I use my ATCOM-530 (SIP/212) and place a call to another extension. If I press the HOLD button and hang up the call before releasing the HOLD, my extension gets on HOLD forever.

By: Edgar Landivar (elandivar) 2007-07-11 18:59:31

I have tested the second scenario against the last 1.4.7.1 and the bug is still here.

I forgot to say that i'm calling a extension and nobody answer my call. Then i'm pressing HOLD when the nobody-is-available voice message appears.

By: Edgar Landivar (elandivar) 2007-07-16 22:49:50

Any news?.

By: Brett Matthews (brett matthews) 2007-07-17 14:37:36

I am getting the same issue on 1.4.7.1. After doing holds then transfers, those particular extensions hints stay on hold forever. Trying to do further investigation, and will post more info. Using Snom 320's.

By: Digium Subversion (svnbot) 2007-07-18 10:24:07

Repository: asterisk
Revision: 75621

------------------------------------------------------------------------
r75621 | file | 2007-07-18 10:24:06 -0500 (Wed, 18 Jul 2007) | 5 lines

(closes issue ASTERISK-9844)
Reported by: elandivar

It is possible for hold status to exist without call limits set, so we need to ensure update_call_counter is executed regardless.

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-18 10:25:11

Repository: asterisk
Revision: 75622

------------------------------------------------------------------------
r75622 | file | 2007-07-18 10:25:11 -0500 (Wed, 18 Jul 2007) | 13 lines

Merged revisions 75621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r75621 | file | 2007-07-18 12:41:06 -0300 (Wed, 18 Jul 2007) | 5 lines

(closes issue ASTERISK-9844)
Reported by: elandivar

It is possible for hold status to exist without call limits set, so we need to ensure update_call_counter is executed regardless.

........

------------------------------------------------------------------------