Hello,
Since I configured the realtime configuration I have an error. After registration, my endpoint is “Reachable” and a few seconds later, my endpoint is “Unreachable”.
Here’s the output of CLI:
Connected to Asterisk 17.7.0
– Added contact ‘sip:5430@X.X.X.X:56803;transport=TLS;ob’ to AOR ‘5430’ with expiration of 300 seconds
== Endpoint 5430 is now Reachable
ip-172-31-46-239*CLI> pjsip show endpointsEndpoint: 5430 Not in use 0 of inf
InAuth: 5430/login
Aor: 5430 1== Contact 5430/sip:5430@X.X.X.X:56803;transport=TLS;ob has been deleted
== Endpoint 5430 is now Unreachableip-172-31-46-239*CLI> pjsip show endpoints
Endpoint: 5430 Unavailable 0 of inf
InAuth: 5430/login
Aor: 5430 1
In the database, a record is inserted and deleted in ps_contacts table.
I’m using :
Asterisk 17.7.0
Debian 10.5
MySQL ODBC Connector 8.0.17
Here is my configuration :
sorcery.conf
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases
contact=realtime,ps_contacts[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips
extconfig.conf
ps_endpoints => odbc,asterisk
ps_auths => odbc,asterisk
ps_aors => odbc,asterisk
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
ps_contacts => odbc,asterisk
Do you know how to patch this?
Thank you in advance,