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

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 15 10:53:31 CEST 2017


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 at 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

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


More information about the sr-users mailing list