<div dir="ltr"><div>Hi lads and ladies,</div><div>I'm working on a python script called via python_exec, but I can't see any function to do debug logs, except LM_ERR.</div><div><br></div><div>I tried</div><div>msg.call_function('log', str("test"))</div><div>or</div><div>msg.call_function('xlog', str("test"))</div><div><br></div><div>but I always get this error:</div><div>ERROR:python:opensips_LM_ERR: 37, SystemError, <method 'call_function' of 'OpenSIPS.msg' objects> returned a result with an error set</div><div><br></div><div>How should this be done?</div><div><br></div><div>Thanks<br></div></div>