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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Nov 7 07:35:28 CST 2017


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

Richard Mudgett commented on ASTERISK-27399:
--------------------------------------------

The ChanIsAvail application looks at the endpoint's device state if the 's' or 't' options are used and checks to see if it can create a channel to say if a channel is available.

I think your definition of whether a channel is available is different than what ChanIsAvail considers available.
How do you know the network connection between the servers is down?
How could ChanIsAvail know?


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