[SR-Users] Kamailio KEMI / Python and the usage of KSR.pv.get("$rm") vs msg.Method

Daniel-Constantin Mierla miconda at gmail.com
Thu May 4 08:12:04 CEST 2017


Hello,


On 03.05.17 21:40, Samuel F. wrote:
>
> Hi,
>
> I see in the examples that KSR.pv.get("$rm") is frequently used rather
> than the more simple msg.Method.
>
> Why is this preferred?
KSR is exported by the kemi framework.

msg is from the initial implementation of app_python for usage inside
native kamailio.cfg routing blocks. But it is still available, so you
can use it if you prefer that way.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

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


More information about the sr-users mailing list