PJSIP does not qualify contacts after restarting Asterisk


#1

Hi all,

Im running asterisk 14.6 with PJSIP and realtime endpoints

I’ve defined several endpoints in the tables ps_aors, ps_auth and ps_endpoints.
After that endpoints can register to my server and they have got status “Not in use”.
But after asterisk process restart there status become Unavailable and won`t change till endpoints reregister.

My sorcery.conf:
[res_pjsip] ; Realtime PJSIP configuration wizard
endpoint=realtime,ps_endpoints
endpoint=config,pjsip.conf,criteria=type=endpoint
auth=realtime,ps_auths
aor=realtime,ps_aors
contact=realtime,ps_contacts

[res_pjsip_endpoint_identifier_ip]
identify=config,pjsip.conf,criteria=type=identify
identify=realtime,ps_endpoint_id_ips

My pjsip.conf:
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

Any idea why PJSIP does not qualify contacts after restarting Asterisk ?