Digest Auth Challenge for Incoming Calls / Messages

FM
flix.mesh@gmail.com
Mon, Aug 22, 2022 12:45 PM

For my project I’d like to implement an auth mechanism for authorizing incoming calls/SIP messages.
I found some building blocks for implementing digest auth via
pjsip_auth_srv_init / pjsip_auth_srv_challenge / pjsip_auth_srv_verify
and corresponding methods - which looks like it needs quite some code to get it working.

Is there any implementation or example available using those framework methods?
For now I only found it used inside the Asterisk framework.
Especially interesting would be some PjSua / higher level API.

Thanks and best regards,
Flix

For my project I’d like to implement an auth mechanism for authorizing incoming calls/SIP messages.\ I found some building blocks for implementing digest auth via\ `pjsip_auth_srv_init `/` pjsip_auth_srv_challenge` /` pjsip_auth_srv_verify`\ and corresponding methods - which looks like it needs quite some code to get it working. Is there any implementation or example available using those framework methods?\ For now I only found it used inside the Asterisk framework.\ Especially interesting would be some PjSua / higher level API.\ \ Thanks and best regards,\ Flix