<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
you can add:<br>
<br>
listen=tcp:1.2.3.4:8080<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<br>
<br>
<div class="moz-cite-prefix">On 12/03/15 19:58, SamyGo wrote:<br>
</div>
<blockquote
cite="mid:CAJUJwthgsPt9b6kUAieXwNBTom8aEwSixs9iOQQB6z57szn28A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I am just trying xhttp_rpc module<br>
<a moz-do-not-send="true"
href="http://www.kamailio.org/docs/modules/4.2.x/modules/xhttp_rpc.html">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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>