Pjsip show endpoints do not see ahy andpoint

My telephones often work good, but sometimes pjsip endpoints disappears.
this is my config.
Have you any idea why disappear my endpoints
Freepbx 14 Asterisk 13

[general] 
tcpenable=yes 
transport=tcp 
context=default 
allowguest=no 
bindport=5060 
bindaddr=0.0.0.0 
srvlookup=no 
tos=0xb8 
[507]
type=endpoint
context=default
disallow=all
allow=alaw
allow=ulaw
allow=g729
force_rport=no
identify_by=username
outbound_auth=auth507
aors=507
[507]
type=aor
qualify_frequency=60
contact=sip:[email protected]
max_contacts=10
[auth507]
auth_type=userpass
password='password'
username='507'
[507]
type=identify
endpoint=507
match=10.5.0.11
[502]
type=endpoint
context=default
disallow=all
allow=alaw
allow=ulaw
allow=g729
force_rport=no
identify_by=username
outbound_auth=auth502
aors=502
[502]
type=aor
qualify_frequency=60
contact=sip:[email protected]
max_contacts=10
[auth502]
auth_type=userpass
password='password'
username='502'
[502]
type=identify
endpoint=502
match=10.5.0.12
[505]
type=endpoint
context=default
disallow=all
allow=alaw
allow=ulaw
allow=g729
force_rport=no
identify_by=username
outbound_auth=auth505
aors=505
[505]
type=aor
qualify_frequency=60
contact=sip:[email protected]
max_contacts=10
[auth505]
auth_type=userpass
password='password'
username='505'
[505]
type=identify
endpoint=505
match=10.5.0.13

if i delete extensions, my endpiont work correctly


I need extensions for writing calls.
What can i do?

Well that’s the [general] section for Chan_SIP not PJSIP so none of those work and if you tried putting those settings in the [general] settings of PJSIP it could stop PJSIP from loading right.

As well it would seem you are editing/adding PJSIP extensions outside of the GUI as the AOR section is no where near how FreePBX writes out the AOR section for extensions.

So is there a reason you’re trying to do this outside of the FreePBX GUI with these extensions because none of this setup matches out FreePBX generates those files.

if i use files what generate freepbx
i have this

[2008-01-05 22:13:54] NOTICE[6152]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request 'REGISTER' from '<sip:[email protected]>' failed for '10.5.0.13:5060' (callid: [email protected]) - Failed to authenticate
[2008-01-05 22:13:54] NOTICE[22980]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request 'REGISTER' from '<sip:[email protected]>' failed for '10.5.0.13:5060' (callid: [email protected]) - Failed to authenticate
[2008-01-05 22:13:54] NOTICE[27571]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request 'REGISTER' from '<sip:[email protected]>' failed for '10.5.0.13:5060' (callid: [email protected]) - Failed to authenticate

OK so that could be due to not having things setup right in the device or on the PBX. You reset the password to something simple and tried using that on the device instead of the generated password?

it works, thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.