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


[OpenSIPS-Users] Parallel branches and failure route

2023-05-14 Thread Yury Kirsanov
Hi,
I'm adding multiple branches to the initial request and then use t_relay()
to fire them all up to multiple destinations. But it seems that I can only
set up only one t_on_failure route. How do I distinguish between branches
in that failure route? Part of the branches can respond with 4xx, part -
with 5xx and so on and only one would respond with 200 OK. I need to
process all FAILED branches, not caring too much about the successful one.
What would be the best way to do this? Thanks.

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