[SR-Users] send_reply in app_java or app_mono?

Konstantin M. evilzluk at gmail.com
Fri Sep 12 00:45:29 CEST 2014

Tom, please take a look to:
here you can see a part of code in Kamailio.java:
//          retval = KamExec("append_hf", "P-hint: VOICEMAIL\r\n");

so, you can execute kamailio command using KamExec(command, params)

2014-09-12 0:03 GMT+04:00 Tom Johnson <TJohnson at microautomation.com>:

>  Is there a way to call the send_reply method of the route from either
> Java or csharp?   As I have been having issues with the app_java, I have
> been looking at app_mono and it seems to have better access to the
> variables, etc.   However, the SR.core.ModF only seems to take methods that
> do not take parameters.
> Or for that matter, is there a way to return something back to the route
> in the config file which it can use to call send_reply?  I have a strange
> requirement to return 202 rather than 200 from subscription requests and a
> 603 if it fails.
> Tom Johnson <tjohnson at microautomation.com> |  Senior Software Engineer
> O: 703-543-2118  |  F: 703-543-2099
> 5870 Trinity Parkway, Suite 600, Centreville, VA  20120
> [image: cid:image001.png at 01CE18AF.8F231EB0]
> <http://www.microautomation.com/>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140912/8953cca7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15291 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140912/8953cca7/attachment.png>

More information about the sr-users mailing list