On Tue, Apr 29, 2014 at 12:06 AM, aawaise <owaisulhaq(a)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