@antonvp wrote:
Good Day Everyone!
Shaw network in our area is doing upgrades hence internet is not very stable lately and as a consequence in a past 2 weeks I woke up 4 times to a Rejected Trunk! :((
Running:
Asterisk 13.7.2
PJPROJECT version currently running against: 2.2.1
PjSipVoIPmsCG/sip:vancouver.voip.ms:5060 PjSipVoIPmsCG Rejected
After reading and looking into this I found the following:
PBX*CLI> pjsip show registration PjSipVoIPmsCG
PjSipVoIPmsCG/sip:vancouver.voip.ms:5060 PjSipVoIPmsCG Registered
ParameterName : ParameterValue
auth_rejection_permanent : false
client_uri : sip:XXXXXX@vancouver.voip.ms:5060
contact_user :
endpoint :
expiration : 180
fatal_retry_interval : 0
forbidden_retry_interval : 0
line : false
max_retries : 10
outbound_auth : PjSipVoIPmsCG
outbound_proxy :
retry_interval : 30
server_uri : sip:vancouver.voip.ms:5060
support_path : false
transport : 0.0.0.0-udp
=============================================================================I would like to change the following settings:
max_retries : 10 (To 1000)
fatal_retry_interval : 0 (30)
forbidden_retry_interval : 0 (30)Unfortunately all my attempt have failed...
- I tried Grep to find the string - no luck
- Edited: pjsip.registration.conf ( obviously got overwritten )
- Added below lines to pjsip.registration_custom.conf ( no avail )
[PjSipVoIPmsCG]
max_retries=1000
forbidden_retry_interval=30
fatal_retry_interval=30Here is my pjsip.registration.conf
[PjSipVoIPmsCG]
type=registration
transport=0.0.0.0-udp
outbound_auth=PjSipVoIPmsCG
retry_interval=30
expiration=180
auth_rejection_permanent=no
server_uri=sip:vancouver.voip.ms:5060
client_uri=sip:XXXXXX@vancouver.voip.ms:5060It seems that max_retries and fatal_retry_interval values from web interface are being ignored... I have them setup higher but according to "pjsip show registration PjSipVoIPmsCG" they are at their defaults for some reason.
Thanks!
-A
P.S.
Links:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip_outbound_registrationhttp://lists.digium.com/pipermail/asterisk-code-review/2015-October/009807.html
http://lists.digium.com/pipermail/asterisk-commits/2015-October/074078.html
Posts: 1
Participants: 1