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

KEMI - Missing PVX functions in app_ruby #1987

Closed
WhiteyDude opened this issue Jun 21, 2019 · 1 comment
Closed

KEMI - Missing PVX functions in app_ruby #1987

WhiteyDude opened this issue Jun 21, 2019 · 1 comment

Comments

@WhiteyDude
Copy link
Contributor

Description

Only the following PVX methods are available on app_ruby:

:sbranch_set_ruri, :sbranch_append, :sbranch_reset, :pv_var_to_xavp, :pv_xavp_to_var, :pv_xavp_print, :xavp_params_explode, :xavp_params_implode, :evalx, :freeze

However pvx.xavp.get() etc are documented:

https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#ksrpvxxavp_get

Reproduction

KSR.info(KSR::PVX.methods.to_s)

Additional Information

kamailio 5.3.0-dev4 (x86_64/linux) 6d43ea

Can be potentially worked around by using :pv_xavp_to_var and KSR::PV.gete(), however this feels a bit messy

@miconda
Copy link
Member

miconda commented Jun 25, 2019

Those functions are in master branch only, the current version being 5.3.0-dev6, so -dev4 is a bit old. Can you upgrade to latest master branch and try again? If still not getting them, reopen.

@miconda miconda closed this as completed Jun 25, 2019
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

No branches or pull requests

2 participants