[asterisk-bugs] [JIRA] (ASTERISK-28496) PJSIP max_retries

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Aug 5 07:07:47 CDT 2019


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

Asterisk Team commented on ASTERISK-28496:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> PJSIP max_retries
> -----------------
>
>                 Key: ASTERISK-28496
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28496
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.5.0
>         Environment: any
>            Reporter: Sinisa
>            Severity: Minor
>              Labels: pjsip
>
> I have just experienced a “situation”. I have converted my SIP configuration to PJSIP months ago. Everything was working fine until a few days ago, when one of the providers experienced problems. Their system was reachable to “ping”, but registrations were not working, so after some time Asterisk gave up on it with Maximum retries reached when attempting outbound registration to ‘sip:10.x.x.x’ with client ‘sip:xxxx at domain.com’, stopping registration attempt", so after provider fixed its problems, Asterisk did not register to it until I reloaded the config.
> Default value of “max_retries” is 20, which is probably OK for testing, but should be much higher in production. I am not suggesting that you should change the default, but it might be good to add a bit more description here https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Configuration_res_pjsip_outbound_registration, and also in sample config file, like to set it to 1000000 (one million) (0 does NOT work as 'unlimited' but as NO retries, tested)
> Thank you and best regards
> Sinisa



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



More information about the asterisk-bugs mailing list