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

Alan (JIRA) noreply at issues.asterisk.org
Tue Nov 21 18:52:07 CST 2017


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

Alan commented on ASTERISK-27399:
---------------------------------

I'm not using any option with ChanIsAvail, I call it like this:


> 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: Unassigned
>
> 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