[asterisk-bugs] [JIRA] (ASTERISK-14181) hints : DEVSTATE UNAVAILABLE presence state of "terminated" not interpreted correctly on Grandstream devices

Benjamin Renard (JIRA) noreply at issues.asterisk.org
Thu Aug 30 11:37:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-14181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244663#comment-244663 ] 

Benjamin Renard commented on ASTERISK-14181:
--------------------------------------------

This problem still exists today : I tried again to ask Grandstream support for a solution and this is their answer :

Asterisk is associating the "terminated" state which is normally indication to BLF that the extension is "available" and "not in use" to the event: "unavailable", and as I explained for end devices with BLF support, the "terminated" state is equivalent to available ( LED will light up).

The work-arround to change "statestring" to "confirmed" in chan_sip.c (case AST_EXTENSION_UNAVAILABLE) is still work, but when using distribution package (to take benefit of security updates), we have to recompile package on each release.

Even if the current behavior is correct, it is possible to add a parameter to permit to turn on this other behavior.

> hints : DEVSTATE UNAVAILABLE presence state of "terminated" not interpreted correctly on Grandstream devices
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-14181
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-14181
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/General
>            Reporter: Tolmino Muccitelli
>            Severity: Minor
>
> 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
> ****** ADDITIONAL INFORMATION ******
> there is a open ticket with grandstream and they have made some dumps avaiable there:
> http://esupport.grandstream.com/support/customerportal/Nologin/Tickets/TicketDetail.php?ticketid=20091215091422



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list