[SR-Users] listening on multiple port
Daniel Tryba
d.tryba at pocos.nl
Mon Nov 2 15:25:04 CET 2015
On Monday 02 November 2015 15:08:16 Thibault Gueslin wrote:
> Thank you for your answer.
>
> However in my case (4.3.3 with tcp enabled), the 2 lines with port neither
> lines with 0.0.0.0 are working.
Well, if you want tcp you need to add that as listen proto. Making my answer
that listen... is equivalent to port untrue, since you have to add a lister
per protocol you need.
I have the following in a config (4.2.6):
# grep -e ^listen -e ^port kamailio.cfg
listen=udp:0.0.0.0:5060
listen=udp:0.0.0.0:5062
listen=tcp:0.0.0.0:5060
listen=tcp:0.0.0.0:5062
Starting this kamailio shows:
# kamailio
loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules/
Listening on
udp: 0.0.0.0:5060
udp: 0.0.0.0:5062
tcp: 0.0.0.0:5060
tcp: 0.0.0.0:5062
netstat/lsof tell me kamailio is listening on al specified ports.
More information about the sr-users
mailing list