Having an issue with sending a notify to an extension. PJSIP extension 119, sending the below command:
pjsip send notify polycom-check-cfg uri sip:[email protected]_WAN_IP:16594;x-ast-orig-host=PHONE_LAN_IP:5060
The response in the asterisk CLI that I get is:
Sending NOTIFY of type 'polycom-check-cfg' to 'sip:[email protected]_WAN_IP:16594;x-ast-orig-host=PHONE_LAN_IP:5060'
[2022-07-12 16:18:13] ERROR: res_pjsip_outbound_authenticator_digest.c:447 digest_create_request_with_auth: Host: 'PHONE_WAN_IP:16594': There were no auth ids available
The polycom-check-cfg context is in /etc/asterisk/sip_notify_custom.conf:
I get the same error message if I try to send the notify to an endpoint instead of a uri.
No, I meant the specific configuration in use doesn’t have authentication for outbound. If an endpoint is used instead, and outbound authentication is configured, then I believe it would authenticate. How that is done in FreePBX, and what credentials the phone wants (I assume the credentials we challenge it for) I don’t know.
I tried adding the below context to /etc/asterisk/pjsip.aor_custom.conf and I can see it added what I wanted when I run asterisk -x "pjsip show endpoint 119" but I still get the same error when sending the notify.
I’m not even sure if the extension secret is the right auth but I would have thought that at least with that parameter filled in I wouldn’t have received the same error message, right?