[SR-Users] KEMI Python and msg.call_function()

Daniel-Constantin Mierla miconda at gmail.com
Fri May 5 08:27:06 CEST 2017


Hello,


these messages are printed by debugger module because you enabled
cfgtrace and the log level for them is ERROR. But they are not real
execution errors. If you set cfgtrace to 0 for debugger module, then you
will not see them.


Cheers,
Daniel


On 04.05.17 21:29, Samuel F. wrote:
>
> Hi,
>
>
> Using KEMI Python and doing serial forking via:
>
>
> msg.call_function("t_load_contacts")
>
> msg.call_function("t_next_contacts")
>
>
> * I couldn't see that the functions are exported to KEMI yet. I'm not
> great with C so I haven't tried exporting them myself.
>
>
> I get the following in the log files:
>
> PYT {INVITE}:  5(11963) ERROR: *** cfgtrace:request_route=[] c=[] l=0
> a=26 n=t_load_contacts
> PYT {INVITE}:  5(11963) ERROR: *** cfgtrace:request_route=[] c=[] l=0
> a=26 n=t_next_contacts
>
> However, it seems to be working anyway. Is the ERROR because I use the
> msg.call_function() ? Is there any better way to do serial
> forking using KEMI?
>
>
> Thank you,
>
> Samuel F
>
>
>
> _______________________________________________
> 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 - 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/20170505/385d5d3b/attachment.html>


More information about the sr-users mailing list