[SR-Users] KSR.pv.get("$(hdr(P-Asserted-Identity){uri.user})") returns unable to get pv value

Muhammad Zaka muhammad.zaka at cloudcall.com
Tue Aug 15 10:43:33 CEST 2017


Hi

We are experiencing issue with python script KSR.pv.get using branch 5.0.2 as it fails "unable to get pv value"

Example Code:
if KSR.pv.get("$ai"):
                              fromid = KSR.pv.get("$(hdr(P-Asserted-Identity){uri.user})")

Error:
Aug 14 18:38:23 sbc99-kam-dev /usr/sbin/kamailio[30459]: PYT {INVITE}: ERROR: app_python [apy_kemi.c:637]: sr_apy_kemi_f_pv_get(): unable to get pv value for [$(hdr(P-Asserted-Identity){uri.user})]

Is anybody have any idea how to workaround?

Many Thanks

Regards

Muhammad Zaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170815/cdc63db1/attachment.html>


More information about the sr-users mailing list