ARI response does not return endpoint

Hi,

When I launch a petition through ari,
http://192.168.1.56:8088/endpoints/PJSIP/10013?api_key=admin:admin
return me
“message”: “Endpoint not found”

but if I do it through AMI, it returns the endpoint that is created

http://192.168.1.56:8088/mxml?Action=PJSIPShowEndpoints

“<generic event=“EndpointList” objecttype=“endpoint” objectname=“10013” transport=“transport-wss” aor=“10013” auths=“10013” outboundauths=”" contacts="" devicestate=“Unavailable” activechannels=""
"

for it to be fine, I have to launch “service asterisk restart”

The same goes for with the endpoints removed. Through AMI does not appear but in ari appearing.

Are you using realtime or something? .conf files?

yes, I am using ARA and this is my sorcery and extconfig configuration
;--------------------------------------------
sorcery.conf
;--------------------------------------------
[res_pjsip]
contact=realtime,ps_contacts
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases

[res_pjsip_outbound_registration]
registration=realtime,ps_registrations

[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips

;-------------------------------------------
extconfig.conf
;-------------------------------------------
[settings]
iaxusers => odbc,asterisk
iaxpeers => odbc,asterisk
ps_endpoints => odbc,asterisk
ps_auths => odbc,asterisk
ps_aors => odbc,asterisk
ps_registrations => odbc,asterisk
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
ps_outbound_publishes => odbc,asterisk
ps_contacts => odbc,asterisk
ps_inbound_publications = odbc,asterisk
ps_asterisk_publications = odbc,asterisk
extensions => odbc,asterisk,extensions
voicemail => odbc,asterisk,voicemails
realtime_extensions => odbc,asterisk,extensions
realtime_ivr => odbc,asterisk,numivr
meetme => mysql,general
queues => odbc,asterisk
queue_members => odbc,asterisk
queue_rules => odbc,asterisk
musiconhold => odbc,asterisk,musiconholds
queue_log => odbc,asterisk
http => odbc,asterisk
manager.conf => odbc,asterisk,managers
ari.conf => odbc,asterisk,aris
acls => odbc,asterisk,acl_pbx
agent => odbc,asterisk
extensions_ivr_ara.conf => odbc,asterisk,contexto_ivr
extensions_did_ara.conf => odbc,asterisk,contexto_did
extensions_companys_ara.conf => odbc,asterisk,contexto_company
extensions_queues_ara.conf => odbc,asterisk,contexto_queue
extensions_ext_ara.conf => odbc,asterisk,contexto_ext
extensions_action_ara.conf => odbc,asterisk,contexto_acc

If you switch to a .conf file does that alter the result?

the same problem happens, if I do it through .conf files or through ARA

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