[asterisk-bugs] [Asterisk 0015852]: Hints/extension state random in 1.6.0.15

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 6 11:57:47 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15852 
====================================================================== 
Reported By:                amorsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15852
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.14 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-08 10:31 CDT
Last Modified:              2009-10-06 11:57 CDT
====================================================================== 
Summary:                    Hints/extension state random in 1.6.0.15
Description: 
I am getting lots of these:

  == Extension Changed 771[Hints] new state Ringing for Notify User
785-000413233e36-1 
  == Extension Changed 772[Hints] new state Idle for Notify User
792-00041327d17e-1 

The hint extension seems fairly random, and every time it obviously
notifies all watchers. The state also seems random. Nothing is happening on
the system to explain this behaviour.

The problem appears on the three different production systems temporarily
running 1.6.15. My test system with only 4 connected phones does not
exhibit the problem, unfortunately.

1.6.13 is fine; I have downgraded back to that for now. 1.6.1.6 is fine
too.

I tried reverting these two changes: r205414:r205415 r204753:r204754. No
improvement.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0015961 Core show hints report wrong state
====================================================================== 

---------------------------------------------------------------------- 
 (0111914) farisraouf (reporter) - 2009-10-06 11:57
 https://issues.asterisk.org/view.php?id=15852#c111914 
---------------------------------------------------------------------- 
I can confirm that I had the same sort of problem in 1.6.0.15, and that
adding ast_devstate_aggregate_init(&agg);
into function ast_extension_state2(struct ast_exten *e) in main/pbx.c:3207
as suggested by wliegel resolved the problem (and with no obvious side
effects).

But just to be clear, in my case I'd describe the problem as hints getting
"stuck": If I ring an extension and hang up before it gets answered, the
state was Ringing, and stuck there for some time.

If the extension is answered, the state is Ringing/InUse and again gets
stuck there for some time.

I can't quantify "some time" I'm afraid.

Anyway, the modification mentioned resolved the issue.

Faris. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-06 11:57 farisraouf     Note Added: 0111914                          
======================================================================




More information about the asterisk-bugs mailing list