On Wednesday 14 July 2010, Nicolas RĂ¼ger wrote:
Hi Henning,
no further warnings (see logs below). I increased the DEBUG-LEVEL to 4 in "kamailio.cfg" and added the follwing lines at the beginng of "routing logic" in "kamailio.cfg".
####### Routing Logic ######## # main request routing logic
route{
#mystuff BEGIN
if (is_method("INVITE")) { perl_exec("myprint"); exit; } #mystuff END
Didn't work out. [..]
Hi Nicolas,
the log file you've quoted only shows the startup of the server. But there are no traces that you actually recieved a message on the server which could then trigger the script command you want to execute. This would be probably a bit more interesting for debugging.
I'd also suggest that you add a xlog() statement just before the perl_exec, this should inform you in the logs if the perl method is reached.
Cheers,
Henning