Hello,

can you run with debug=3 in kamailio.cfg and send all log messages?

Cheers,
Daniel


On 15.08.17 10:43, Muhammad Zaka wrote:

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



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com