Skip to content

Fix syntax in ul_get_key example#3642

Merged
liviuchircu merged 1 commit into
OpenSIPS:masterfrom
NormB:usrloc-doc-update
May 12, 2025
Merged

Fix syntax in ul_get_key example#3642
liviuchircu merged 1 commit into
OpenSIPS:masterfrom
NormB:usrloc-doc-update

Conversation

@NormB
Copy link
Copy Markdown
Member

@NormB NormB commented May 9, 2025

Summary

usrloc module: ul_get_key() example syntax is fixed.

Details

If the documented example is used in an OpenSIPS config a syntax error is generated.

Solution

The last parameter of the ul_get_key() call should be a variable, not a string. Quotes were removed from this parameter in the example.

Compatibility

Closing issues

@liviuchircu liviuchircu self-assigned this May 12, 2025
@liviuchircu liviuchircu merged commit dded7c7 into OpenSIPS:master May 12, 2025
63 of 64 checks passed
@NormB NormB deleted the usrloc-doc-update branch May 21, 2025 02:17
NormB pushed a commit to NormB/opensips that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants