<div dir="ltr">Thanks Daniel,<div>Thats really simple solution, the other thing I was wondering was Authentication since the interface was all open. Maybe I should put in similiar kind on configurations checks to verify users from DB etc !</div><div><br></div><div>Best Regards,</div><div>Sammy.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 4:27 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you can add:<br>
    <br>
    listen=tcp:<a href="http://1.2.3.4:8080" target="_blank">1.2.3.4:8080</a><br>
    <br>
    and handle http requests on that port.<br>
    <br>
    You can restrict to have only http traffic on that port adding in
    the event_route for xhttp:<br>
    <br>
    if(dst_port!=8080) {<br>
       # send forbidden reply<br>
    }<br>
    <br>
    Similar you can add in request_route for sip traffic to be on port
    5060 only.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 12/03/15 19:58, SamyGo wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I am just trying xhttp_rpc module<br>
          <a href="http://www.kamailio.org/docs/modules/4.2.x/modules/xhttp_rpc.html" target="_blank">http://www.kamailio.org/docs/modules/4.2.x/modules/xhttp_rpc.html</a><br>
          <br>
          Where can I set/change the port for this module ? currently
          its only 5060 !?<br>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Sammy.</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<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><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
  </font></span></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>