[asterisk-bugs] [JIRA] (ASTERISK-27399) ChanIsAvail returns PJSIP peer that is not working

Max Norba (JIRA) noreply at issues.asterisk.org
Tue Nov 7 09:16:28 CST 2017


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

Max Norba edited comment on ASTERISK-27399 at 11/7/17 9:14 AM:
---------------------------------------------------------------

I have same bug or misconfiguration with one installation where availability of peer relies on ChanIsAvail. This installation uses chan_sip and if peer isn't available AVAILCHAN variable isn't set to any value. With pjsip it works as it was written above by Alan.


was (Author: miralin):
I have same bug or misconfiguration with one installation where availability of peer relies on ChanIsAvail. This installation uses chan_sip and if peer isn't available AVAILCHAN variable isn't set to any value. 

> ChanIsAvail returns PJSIP peer that is not working
> --------------------------------------------------
>
>                 Key: ASTERISK-27399
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27399
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_chanisavail
>    Affects Versions: 13.16.0
>         Environment: Linux x86
>            Reporter: Alan
>            Assignee: Alan
>
> I have a few Asterisk servers with PJSIP trunks between them.
> Server A should make the call via server B if the trunk between them is available.  Otherwise it should send it to server C.
> So server A calls:
> ChanIsAvail(PJSIP/b&PJSIP/c);
> This always returns PJSIP/b in AVAILCHAN, even though that channel is not working (for example, when the network connection between those servers is down).



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



More information about the asterisk-bugs mailing list