Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] stir_shaken: populate $identity variable after calling stir_shaken_auth() function #2440

Closed
ccppprogrammer opened this issue Mar 18, 2021 · 2 comments

Comments

@ccppprogrammer
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It is not possible to access the newly created Identity structure after calling stir_shaken_auth() function as only only lump is added.
So, for example, I can't add the generated Identity value to reply message when OSIPS is acts as a redirect server and replies with 302 Moved Temporarily instead of relaying INVITE.

Describe the solution you'd like

It would be great if $identity variable was populated after a successful call of stir_shaken_auth() function.
Then it will be possible to access all subnames of the $identity variable for further processing.
For example, add the content of $identity variable to t_reply_with_body() or with append_to_reply() and reply with 302 Moved Temporarily message.

@ccppprogrammer
Copy link
Contributor Author

Hello @rvlad-patrascu !
Any news on this?
I can't use STIR/SHAKEN module without this feature as I need access to the generated Identity structure.

@rvlad-patrascu
Copy link
Member

Hi @ccppprogrammer ,

Check out the new parameter to the stir_shaken_auth() function that allows you to specify the Identity header to be appended to replies or even return it via an output variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants