Hi All,
I’m trying to configure pjsip in my asterisk server. and I am storing the pjsip configurations in a Postgres database.
Here are my configs:
pjsip.conf :
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
[transport-tls]
type=transport
protocol=tls
bind=0.0.0.0
sorcery.conf:
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases
[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips
extconfig.conf
ps_endpoints => odbc,asterisk,ps_endpoints
ps_auths => odbc,asterisk,ps_auths
ps_aors => odbc,asterisk,ps_aors
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
Heres my pjsip configs in the db,
also, Postgres ODBC configurations also seem fine, because it works with other modules.
The issue here is, after all of these configurations when I execute “pjsip show endpoints” command it says “No objects found”. and when I trying to register with my softphones, it saying " No matching endpoint found" and “Failed to authenticate”
what would be the reason for this ?