Indeed, the function checks the validity of the signature, the rest is left (for now) for script operation, I thought is more flexibility on checking against different headers (e.g., From, P-Asserted-Identity, Remote-Party-ID, ...). Maybe in the future some of these checks will be done inside the C code with function parameters to control what to do ...

Did you tested Kamailio-to-Kamailio, or did you use also some other apps (e.g., Asterisk, FreeSwitch)?

Cheers,
Daniel

On 04.06.21 19:53, David Villasmil wrote:
Ah ok, i need to do the check myself via script config...

Regards,

David Villasmil
phone: +34669448337


On Fri, Jun 4, 2021 at 6:26 PM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,

So I'm testing secsipid with made up certificates, basically:

Untitled.png
The verification _always_ comes back OK, event if I create the Identity with different From numbers, should that fail?

Thanks all,


David Villasmil
phone: +34669448337

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/