[asterisk-bugs] [JIRA] (ASTERISK-27399) ChanIsAvail returns PJSIP peer that is not working
Alan (JIRA)
noreply at issues.asterisk.org
Tue Nov 21 18:54: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 edited comment on ASTERISK-27399 at 11/21/17 6:53 PM:
-----------------------------------------------------------
I'm not using any option with ChanIsAvail, I call it like this:
ChanIsAvail(PJSIP/b&PJSIP/c);
Based on the documentation, it should check if PJSIP/b is available. If not, it should check if PJSIP/c is.
I know that the channel PJSIP/b is not available because the VPN between those servers is down.
Asterisk should know it too because it keeps track of the RTT of each endpoint.
was (Author: lameventanas):
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