[OpenSIPS-Users] Access "Identity" header after calling stir_shaken_auth() on 3.2.x

Daniel Zanutti daniel.zanutti at gmail.com
Tue Jun 13 14:38:47 UTC 2023


Hi Bogdan

Yes, that's exactly how I ended. The original problem is I was using 3.2.x
version and this version hasn't out param. I updated just the module to
3.3.x and it worked.

On Tue, Jun 13, 2023 at 3:45 AM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> 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>
> 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
>>
>> -Brett
>>
>>
>> On Fri, Apr 28, 2023 at 9:03 AM Daniel Zanutti <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
>>> 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
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230613/0bfc7187/attachment.html>


More information about the Users mailing list