[OpenSIPS-Users] Access "Identity" header after calling stir_shaken_auth() on 3.2.x
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jun 13 06:45:20 UTC 2023
Daniel,
The auth function has the option to return you into a variable the
identity value . See the `out` param here:
https://opensips.org/docs/modules/3.3.x/stir_shaken.html#func_stir_shaken_auth
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 5/15/23 12:08 AM, Daniel Zanutti wrote:
> Hi Brett
>
> Just to respond, no it doesn't. This field is only visible when we are
> authenticating headers, not generating.
>
> At the end, I copied the module from the 3.3.x version, to my 3.2.11
> version. It worked flawlessly.
>
> Thanks
>
> On Fri, Apr 28, 2023 at 12:10 PM Brett Nemeroff <brett at nemeroff.com
> <mailto:brett at nemeroff.com>> wrote:
>
> Hello Daniel,
> See if the $identity peudovariable offered by that module suits
> your need:
>
> https://opensips.org/docs/modules/3.2.x/stir_shaken.html#pv_identity
> <https://opensips.org/docs/modules/3.2.x/stir_shaken.html#pv_identity>
>
> -Brett
>
>
> On Fri, Apr 28, 2023 at 9:03 AM Daniel Zanutti
> <daniel.zanutti at gmail.com <mailto:daniel.zanutti at gmail.com>> wrote:
>
> Hi
>
> How can I access the generated Identity header, after calling
> function stir_shaken_auth(), on opensips 3.2.x? On 3.3.x there
> is a new "out" parameter, is there a way on 3.2.x?
>
> It's just to store on DB.
>
> Thanks
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230613/de6817bf/attachment.html>
More information about the Users
mailing list