[asterisk-bugs] [JIRA] (ASTERISK-30134) IAX2 hints always return Unavailable

N A (JIRA) noreply at issues.asterisk.org
Mon Aug 1 17:06:09 CDT 2022


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

N A commented on ASTERISK-30134:
--------------------------------

Hence why I am asking a question. It's not obvious from your question.
It's also not clear if you just want to be able to ring the endpoint or you care about the device state itself.

All my IAX2 endpoints ring phones too, but they are phones on other Asterisk systems, so the hint would only indicate the status of the trunk registration, not whether the remote endpoint being rung is actually available or not.

Given the way device state is done, I suggest ignoring the hint and always trying to ring the endpoint. I don't recall needing to do anything to work around this, it just tries to go in for a ring, but you could always set up a phony hint or use a local channel to work around.

> IAX2 hints always return Unavailable
> ------------------------------------
>
>                 Key: ASTERISK-30134
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30134
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 18.10.0
>         Environment: Centos 7 3.10.0-1160.53.1.el7.x86_64
>            Reporter: Jose Miguel Rivera
>            Assignee: Unassigned
>            Severity: Major
>
> The monitoring for IAX2 hints always return unavailable; this makes impossible using IAX2 devices on queues. Due to the hint always return Unavailable, the call will never reach or ring agents using IAX2 devices.
> Hints
> asterisk*CLI> core show hint 2511
> 2511 at extension-hints: IAX2/2511             State:Unavailable     Presence:not_set         Watchers  1
> 1 hint matching extension 2511
> Devices
> Name/Username    Host                                           Mask                                      Port           Status      Description                     
> 2501             (null)                                   (D)  (null)                                    (null)         UNKNOWN     IAX Reports                     
> 2511             192.168.0.5                              (D)  255.255.255.255                           53890          OK (1 ms)   IAX AND Queues 



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



More information about the asterisk-bugs mailing list