QUESTION PJSIP Trunk Registration Failure

AntonVP

New Member
Joined
Jan 28, 2016
Messages
16
Reaction score
2
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


<Registration/ServerURI..............................> <Auth..........> <Status.......>
=============================================================================

PjSipVoIPmsCG/sip:vancouver.voip.ms:5060 PjSipVoIPmsCG Rejected
=============================================================================


After reading and looking into this I found the following:


PBX*CLI> pjsip show registration PjSipVoIPmsCG

<Registration/ServerURI..............................> <Auth..........> <Status.......>
=============================================================================

PjSipVoIPmsCG/sip:vancouver.voip.ms:5060 PjSipVoIPmsCG Registered

ParameterName : ParameterValue
============================================================
auth_rejection_permanent : false
client_uri : sip:[email protected]: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...

1. I tried Grep to find the string - no luck
2. Edited: pjsip.registration.conf ( obviously got overwritten )
3. Added below lines to pjsip.registration_custom.conf ( no avail )
[PjSipVoIPmsCG]
max_retries=1000
forbidden_retry_interval=30
fatal_retry_interval=30




Here 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:[email protected]:5060


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

http://lists.digium.com/pipermail/asterisk-code-review/2015-October/009807.html

http://lists.digium.com/pipermail/asterisk-commits/2015-October/074078.html
 
Last edited:

AntonVP

New Member
Joined
Jan 28, 2016
Messages
16
Reaction score
2
It has happened a few times again.

Ward, I would really appreciate if you could comment on it or point me in a right direction when you get a chance.

-A
 

Members online

Forum statistics

Threads
25,815
Messages
167,787
Members
19,245
Latest member
rahee
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top