Thanks Daniel, 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 !
Best Regards, Sammy.
On Fri, Mar 13, 2015 at 4:27 AM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
Hello,
you can add:
listen=tcp:1.2.3.4:8080
and handle http requests on that port.
You can restrict to have only http traffic on that port adding in the event_route for xhttp:
if(dst_port!=8080) { # send forbidden reply }
Similar you can add in request_route for sip traffic to be on port 5060 only.
Cheers, Daniel
On 12/03/15 19:58, SamyGo wrote:
Hi All,
I am just trying xhttp_rpc module http://www.kamailio.org/docs/modules/4.2.x/modules/xhttp_rpc.html
Where can I set/change the port for this module ? currently its only 5060 !?
Thanks, Sammy.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users