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

2023-06-13 Thread Daniel Zanutti
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 
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 
> 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 
>> 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
>>> 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 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2023-06-13 Thread Bogdan-Andrei Iancu

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 > 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
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 
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


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


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

2023-05-14 Thread Daniel Zanutti
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  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 
> 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
>> 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


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

2023-04-28 Thread Brett Nemeroff
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 
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
> 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


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

2023-04-28 Thread Daniel Zanutti
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
http://lists.opensips.org/cgi-bin/mailman/listinfo/users