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