[asterisk-bugs] [JIRA] (ASTERISK-26281) chan_pjsip would send INVITE to 'Unreachable' endpoints

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Apr 25 15:19:58 CDT 2017


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

Rusty Newton commented on ASTERISK-26281:
-----------------------------------------

Dialplan. I'd say check the status of an endpoint before you dial it. Don't dial it if the status is unreachable or unavailable. There are a variety of functions and applications you could use in concert.

Lots of people on https://community.asterisk.org/ or the asterisk-users mailing lists can help you out with that sort of scenario. In fact if you search you'll probably find examples or conversations about this sort of configuration.

> chan_pjsip would send INVITE to 'Unreachable' endpoints
> -------------------------------------------------------
>
>                 Key: ASTERISK-26281
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26281
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.10.0, 13.11.0
>            Reporter: Jacek Konieczny
>
> chan_sip would not send INVITE requests to peers known to be unreachable (via the qualify 'pings'). I would expect the same from chan_pjsip, but it doesn't work this way.
> Even if an endpoint is considered 'Unreachable' (as shown in 'pjsip list endpoints'), but a contact is available (preconfigured or REGISTERed), Asterisk would send INVITE and report 'channel unavailable' error only after the request times out (32s by default). This is way too long for a good user experience.



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



More information about the asterisk-bugs mailing list