Asterisk Responds with 501 to Keep-Alive

Hello,

We have a Kamailio server as an edge proxy and mid-registrar behind NAT on the same LAN as the PBX. The phones are remote (behind NAT as well).
When the phone sends a NOTIFY with Event: keep-alive Asterisk responds with a 501 Not Implemented.

See full SIP trace, taken on Kamailio: https://pastebin.com/kZADnGpm

I am probably missing something simple…

Thanks

If you are referring to PJSIP being used, there’s no module which currently implements that functionality so it responds with a 501.

Yes, using PJSIP. So I guess you can only use SIP OPTIONS?

That depends on what exactly is required. Asterisk is still responding to the NOTIFY, so it depends if the remote side cares about the response or not. Otherwise OPTIONS will respond with a response, depending on circumstances. (Authentication required, etc)

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