<div dir="ltr"><div><div>This took like 2 hours to figure out. Another dev had already defined the modparams close to bottom of the file :(<br></div>Sorry for the false issue raised. Serious carelessness !!<br><br></div>--- Jayesh<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 7:20 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Probably you are loading a wrong config file (wrong location perhaps).</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jul 22, 2014 9:46 AM, "Jayesh Nambiar" <<a href="mailto:jayesh1017@gmail.com" target="_blank">jayesh1017@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi Ovidiu,<br></div>Thanks for the response. In opensipsctl ps following shows up for HTTPD:<br>Process:: ID=1 PID=1932 Type=HTTPD <a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a><br>
<br>
</div>Whereas, I have set the httpd parameter as follows:<br>modparam("httpd", "ip", "203.XXX.53.XXX")<br>modparam("httpd", "port", 8000)<br><br></div><div>It is not listening to the IP I've mentioned as well as it runs on 8080 port by default. It doesn't obey the modparams defined :(<br>
</div>My http client is sitting remote and wants to send MI Commands to control it over mi_json. Dont know what I'm doing wrong here !!<br><br></div><div>Thanks for any response !!<br></div><div><br></div>--- Jayesh<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 6:04 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">There are no limitations in terms of IP binding. If you run 'opensipsctl ps' you will see the httpd process listed with the listening IP and port.</p>
<p dir="ltr">Regards,<br>
Ovidiu Sas</p>
<div class="gmail_quote"><div><div>On Jul 22, 2014 7:03 AM, "Jayesh Nambiar" <<a href="mailto:jayesh1017@gmail.com" target="_blank">jayesh1017@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div><div><div><div><div>Hello,<br></div>I am trying to load the httpd module and trying to execute some commands from a remote server towards opensips http server. But the problem is, opensips by default only listens on localhost. I tried setting the following parameter:<br>
modparam("httpd", "ip", "1.2.3.4")<br>modparam("httpd", "port", "8000")<br><br></div>But when starting up it still shows that its only listening on localhost !! netstat also confirms that port 8000 is only being used by localhost.<br>
<br></div>Am i missing something here or is something wrong with the module parameter.<br><br></div>Thanks for pointers,<br><br></div>--- Jayesh<br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>