Hi.
I have been having this issue for days and searched all over the internet but can’t seem to find any solution for it, so we have a asterisk running with odbc realtime and i already have “endpoint”, “auth” and “aor” in realtime and they are working perfectly fine but for some reasons registration never works, whenever i run this command pjsip show registrations
i always get this message no objects found.
Here is my contents of /etc/asterisk/sorcery.conf
[test_sorcery_section]
test=memory
[test_sorcery_cache]
test/cache=test
test=memory
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips
[res_pjsip_outbound_registration]
registration=realtime,ps_registrations
here is my contents of /etc/asterisk/extconfig.conf
[settings]
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
ps_registrations => odbc,asterisk
This is the command i ran to create registration on PostgreSQL.
insert into ps_registrations (
id, outbound_auth, server_uri, client_uri
) values ('telnyx', 'telnyx', 'sip:sip.telnyx.com', 'sip:username123@sip.telnyx.com');
I can’t see any error messages or logs related to registration not working, I’m pretty new to asterisk so not sure if I’m doing something wrong in the configurations.
Asterisk version: 20.1.0
Running on docker debian with odbc and postgres
Your help would be highly appreciated.
Thank you.