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 <br...@nemeroff.com <mailto:br...@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.zanu...@gmail.com <mailto:daniel.zanu...@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@lists.opensips.org <mailto:Users@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@lists.opensips.org <mailto:Users@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to