[asterisk-bugs] [JIRA] (ASTERISK-14447) [patch] [regression] iaxclient (tested with Zoiper) registered to asterisk shows devicestate Unavailable instead Not-InUse

David Brillert (JIRA) noreply at issues.asterisk.org
Thu Apr 21 11:06:56 CDT 2016


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

David Brillert commented on ASTERISK-14447:
-------------------------------------------

Just ran into this problem in Asterisk 11.16
Will someone update the patch and put it into gerrit for review?

> [patch] [regression] iaxclient (tested with Zoiper) registered to asterisk shows devicestate Unavailable instead Not-InUse
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-14447
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-14447
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/General
>            Reporter: nenadr
>            Severity: Minor
>         Attachments: devicestate.c.diff
>
>
> Testing some queue configurations showed that IAX client which is correctly registered and reachable by asterisk, and "hinted" with exten => 123,hint,IAX2/123 is incorrectly shown as Unavailable (instead Idle) with 'core chow hints' when it is not in a call (rest of states are shown correctly (Ringing, InUse)). 
> ****** ADDITIONAL INFORMATION ******
> Looking at ast_device_state() it calls channels devicestate handler iax2_devicestate() and it returns decision weather peer is in use, to ast_parse_device_state() which determins that iax peer is not in a active channels list, but still returns status of Unavailable, which is IMHO wrong. Small patch provided to fix this issue. Tested with Zoiper and works fine.



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



More information about the asterisk-bugs mailing list