Hi,

I have a use case where I need to send a statefull (or stateless) reply to non-INVITE SIP transaction from PERL script using app_perl module's "moduleFunction" method,


It fails with error "function not found, missing load module?", even though the documentation says that at least "sl_send_reply" method should work.

As an alternative, I tried to use JSONRPCS module to call RPC methods "tm.reply" and "tm.reply_callid" from PERL script (using libcurl),


However, they only seems to work for INVITE transactions. If I try to use them for e.g. MESSAGE request I get "Request Timeout" on libcurl and "500 I am terribly sorry" on SIP client.

Are these bugs or suppose to work this way? If so, then, is there any way i can send a SIP reply to non-INVITE SIP transaction from outside of the kamailio.cfg script?

Please help.

P.S. I am using Kamailio 5.0.x on debian wheezy 32bit virtual machine.

Thank you.