[SR-Users] Kamailio in TLS and Non-TLS mode

Corey Edwards tensai at zmonkey.org
Thu May 1 06:28:02 CEST 2014


On Tue, Apr 29, 2014 at 12:06 AM, aawaise <owaisulhaq at hotmail.com> wrote:

> All certificates and keys have been made and updated.
> Can we make kamailio server to listen to two ports, i.e 5061 and 5062
> simultaneously ??
> Like in a scenario where some users connect to 5061 and some at 5062.
>

Yes. Simply add multiple listen statements:

listen=tls:192.0.2.1:5061
listen=tls:192.0.2.1:5062

The Kamailio daemon will treat all received packets the same, though,
unless you do something explicit. You can use the variable $Rp to look at
which port the request came in on.

Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140430/fad5c72f/attachment.html>


More information about the sr-users mailing list