We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all!
It looks like in #2051 record_route_preset was exposed to KEMI, which is awesome (thank you @aalba6675 !). However the second parameter in this function should be optional (see https://kamailio.org/docs/modules/devel/modules/rr.html#rr.f.record_route_preset).
record_route_preset
When using with a single parameter, the following error is thrown:
Dec 9 13:24:13 ip-10-0-0-1 /usr/local/sbin/kamailio[15828]: ERROR: app_ruby [app_ruby_api.c:499]: sr_kemi_ruby_exec_func_ex(): invalid str parameter type 2 (1)
(ruby Kemi)
# Failure KSR::RR.record_route_preset('1.2.3.4:5060') # Success KSR::RR.record_route_preset('1.2.3.4:5060', '') # Success KSR::RR.record_route_preset('1.2.3.4:5060', '1.2.3.4:5060')
kamailio -v
version: kamailio 5.4.0-dev2 (x86_64/linux) 283e46-dirty
The text was updated successfully, but these errors were encountered:
rr: exported to kemi record_route_preset_one()
b05b089
- the variant for record_route_preset() with one parameter - GH #2171
Just exported in master branch the variant with one parameter:
KSR::RR.record_route_preset_one('1.2.3.4:5060')
Test and see if ok. It will be backported.
Sorry, something went wrong.
72e0eb8
- the variant for record_route_preset() with one parameter - GH #2171 (cherry picked from commit b05b089)
No branches or pull requests
Description
Hi all!
It looks like in #2051
record_route_preset
was exposed to KEMI, which is awesome (thank you @aalba6675 !). However the second parameter in this function should be optional (see https://kamailio.org/docs/modules/devel/modules/rr.html#rr.f.record_route_preset).Troubleshooting
When using with a single parameter, the following error is thrown:
Dec 9 13:24:13 ip-10-0-0-1 /usr/local/sbin/kamailio[15828]: ERROR: app_ruby [app_ruby_api.c:499]: sr_kemi_ruby_exec_func_ex(): invalid str parameter type 2 (1)
Reproduction
(ruby Kemi)
Additional Information
kamailio -v
The text was updated successfully, but these errors were encountered: