Beginning in 5.6 new {val.*} transformations are documented as being exported
by the pv module, however if I try using it Kamailio fails to start. Wondering
if maybe it's actually imported by another module and the documentation is
wrong or something like that?
This configuration in 5.6.3 on Alpine Linux installed from packages:
#!KAMAILIO
loadmodule "pv"
loadmodule "xlog"
request_route {
xlog("Null val: $(avp(nothing){val.ne})\n");
exit;
}
Fails to start with the following:
0(114) INFO: <core> [main.c:3055]: main(): processes (at least): 29 - shm size:
67108864 - pkg size: 8388608
0(114) ERROR: <core> [core/pvapi.c:1774]: tr_lookup(): unknown transformation:
[val] in [{val.ne}]
0(114) ERROR: <core> [core/pvapi.c:1799]: tr_lookup(): error parsing [{val.ne}]
0(114) ERROR: <core> [core/pvapi.c:1106]: pv_parse_spec2(): bad tr in pvar name
"avp"
0(114) ERROR: <core> [core/pvapi.c:1131]: pv_parse_spec2(): invalid parsing in
[$(avp(nothing){val.ne})] at (4)
0(114) ERROR: xlog [xlog.c:551]: xdbg_fixup_helper(): wrong format[Null val:
$(avp(nothing){val.ne})]
0(114) ERROR: <core> [core/route.c:1169]: fix_actions(): fixing failed
(code=-1) at cfg:/etc/kamailio/kamailio.cfg:7
Kaufman
Sr. VoIP Engineer - BCM One
+1.612.735.9309
[email protected]<mailto:[email protected]>
24 hour client support: +1.855.639.6300
[https://www.bcmone.com/files/bcmone-logo.png]<https://www.bcmone.com/>
[https://www.bcmone.com/files/twitter-icon-circle.png]
<https://www.facebook.com/bcmonenyc/>
[https://www.bcmone.com/files/twitter-icon-circle.png]
<https://twitter.com/bcm_one/>
[https://www.bcmone.com/files/linkedin-icon-circle.png]
<https://www.linkedin.com/company/business-communications-management/>
NOTE: This e-mail and any attachments are from BCM One, Inc. and are intended
solely for the use and review of the individual(s) to whom it is addressed.
If you believe you received this e-mail in error, please notify the sender
immediately, delete the e-mail (and any attachments) from your computer and do
not copy or disclose it to anyone else.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: