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