Hi everyone,

I believe I've run into a problem when using dlg_end_dlg (with mi_datagram ) called from an external perl script with perl_exec() .
Kamailio just locks after a while (few seconds) after disconnecting a call.
Some parts of my debug log can be found here:
http://pastebin.com/ANaTEifC

The problem was observed while performing a stress test.
Is it a good idea to call dlg_end_dlg() like that or I can kill an established dialog from the routing script in some other way ? 

Regards,
Dragos