[asterisk-bugs] [Asterisk 0016472]: hints : DEVSTATE UNAVAIABLE not interpreted correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 22 17:36:05 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16472 
====================================================================== 
Reported By:                tolmino
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16472
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1.12 
JIRA:                       SWP-581 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-19 11:00 CST
Last Modified:              2009-12-22 17:36 CST
====================================================================== 
Summary:                    hints : DEVSTATE UNAVAIABLE not interpreted
correctly
Description: 
I have noticed that problem when asterisk notify to Grandstram phone
devstate Unavaiable (using hints) led is green and not red.

with grandstream we have noticed that:
In the Asterisk test, you can see the NOTIFY response shows that the
subscription state is active on the offline number. (should be terminated
state if you do not want to see GREEN). Our phones do not support the RED
state!

In our Grandstream PBX test, you can see the the NOTIFY response shows
that the subscription state is terminated on the offline number. In the
offline, terminated state, our phones will not light up the LED.

Therefore the LEDs support only thes three states as I had mentioned, idle
(green), busy (red), ringing (blinking red). Offline will be just blank.

It is up to Asterisk if they want to use "terminated" state for offline
instead of "active".



Thanks.... Tolmino from Italy
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016035 Status of dahdi/zap channels incorrectl...
has duplicate       0016140 hint not updated correctly on outgoing ...
====================================================================== 

---------------------------------------------------------------------- 
 (0115694) tolmino (reporter) - 2009-12-22 17:36
 https://issues.asterisk.org/view.php?id=16472#c115694 
---------------------------------------------------------------------- 
Yes, take a look here.....

http://esupport.grandstream.com/support/customerportal/Nologin/Tickets/TicketDetail.php?ticketid=20091215091422

there are two files attached....

i have tested with Grandstream.....  and maybe that 
chan_sip.c (case AST_EXTENSION_UNAVAILABLE) must change from:
statestring = "terminated";
to
statestring = "confirmed"; 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-22 17:36 tolmino        Note Added: 0115694                          
======================================================================




More information about the asterisk-bugs mailing list