[asterisk-bugs] [Asterisk 0013238]: False state in core show hints

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 10 17:23:21 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13238 
====================================================================== 
Reported By:                kowalma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13238
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-08-05 07:45 CDT
Last Modified:              2009-02-10 17:23 CST
====================================================================== 
Summary:                    False state in core show hints
Description: 
core show hint shows false value of dev state:

asterisk-IBM*CLI> core show hint 1231
                   1231 at hints               : SIP/1231             
State:InUse           Watchers  0
1 hint matching extension 1231


asterisk-IBM:/usr/src# rasterisk -x "core show channels" | grep 1231
asterisk-IBM:/usr/src#

asterisk-IBM:/usr/src# rasterisk -x "sip show channels" | grep 1231

SIP/1231 is asterisk 1.4.19, asterisk IBM (where I do core show hints) is
1.6.beta9

Restarting asterisk on 1231 does not solve the problem. 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013935 Calls are not beeing disconnected
====================================================================== 

---------------------------------------------------------------------- 
 (0099862) alecdavis (reporter) - 2009-02-10 17:23
 http://bugs.digium.com/view.php?id=13238#c99862 
---------------------------------------------------------------------- 
I hadn't applied 20090121__bug13238.diff.txt, which fixes the hints issue.
This was required as well as the changes made to trunk chan_sip.c today.

I made about 50 calls, and every time the BLF on the grandstream was
correct. 

The console output was correct, GXP0001 never went to Idle.

Some console output below, with some debug.

[Feb 11 12:15:53] NOTICE[14606]: chan_sip.c:5294 update_call_counter:
INC_CALL_RINGING name=GXP0001 inringing=1
[Feb 11 12:15:53] NOTICE[14606]: chan_sip.c:5305 update_call_counter:
INC_CALL_RINGING name=GXP0001 inuse=2
    -- Called GXP0001
  == Extension Changed 8512[BLF_Group_1] new state InUse&Ringing for
Notify User GXP0003
  == Extension Changed 8512[BLF_Group_1] new state InUse&Ringing for
Notify User GXP0002
  == Extension Changed 8512[BLF_Group_1] new state InUse&Ringing for
Notify User GXP0004
  == Extension Changed 8512[BLF_Group_1] new state InUse&Ringing for
Notify User GXP0001
  == Extension Changed 8512[BLF_Group_1] new state InUse&Ringing for
Notify User GXP0005
    -- SIP/GXP0001-088e90a0 is ringing
[Feb 11 12:15:55] NOTICE[14512]: chan_sip.c:5236 update_call_counter:
DEC_CALL_LIMIT name=8512 inuse=0
[Feb 11 12:15:55] NOTICE[14606]: chan_sip.c:5236 update_call_counter:
DEC_CALL_LIMIT name=GXP0001 inuse=1
[Feb 11 12:15:55] NOTICE[14606]: chan_sip.c:5253 update_call_counter:
DEC_CALL_LIMIT name=GXP0001 inringing=0
  == Spawn extension (macro-procexten, s, 24) exited non-zero on
'SIP/8512-b6d8af30' in macro 'procexten'
  == Spawn extension (trusted, 8512, 1) exited non-zero on
'SIP/8512-b6d8af30'
  == Extension Changed 8512[BLF_Group_1] new state InUse for Notify User
GXP0003
  == Extension Changed 8512[BLF_Group_1] new state InUse for Notify User
GXP0002
  == Extension Changed 8512[BLF_Group_1] new state InUse for Notify User
GXP0004
  == Extension Changed 8512[BLF_Group_1] new state InUse for Notify User
GXP0001
  == Extension Changed 8512[BLF_Group_1] new state InUse for Notify User
GXP0005 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-10 17:23 alecdavis      Note Added: 0099862                          
======================================================================




More information about the asterisk-bugs mailing list