<div dir="ltr"><div><div><div>Tom, please take a look to:<br></div>git_root/modules/app_java/kamailio_java_folder/java-untested<br></div>here you can see a part of code in Kamailio.java:<br>//          retval = KamExec("append_hf", "P-hint: VOICEMAIL\r\n");<br><br></div>so, you can execute kamailio command using KamExec(command, params)<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-12 0:03 GMT+04:00 Tom Johnson <span dir="ltr"><<a href="mailto:TJohnson@microautomation.com" target="_blank">TJohnson@microautomation.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="mailto:tjohnson@microautomation.com" target="_blank"><span style="color:blue">Tom Johnson</span></a> |  Senior Software Engineer<br>
O: 703-543-2118  |  F: 703-543-2099 <br>
5870 Trinity Parkway, Suite 600, Centreville, VA  20120<br>
</span><a href="http://www.microautomation.com/" target="_blank"><span style="color:windowtext;text-decoration:none"><img src="cid:image001.png@01CFCDD9.DF1ADA30" alt="cid:image001.png@01CE18AF.8F231EB0" border="0" height="49" width="319"></span></a><span style="font-size:8.0pt;color:white"><br>
<br>
</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>