[SR-Users] Kamailio send TCP packets from random ports

Federico Cabiddu federico.cabiddu at gmail.com
Thu Sep 8 11:16:29 CEST 2016


Hi,
about this subject: linux kernel starting from 3.9 introduced SO_REUSEPORT
which allows reusing TCP sockets.
It could be interesting supporting this in Kamailio. I worked on a patch
for this, I can open a PR and start a discussion if you think it's worth.

Regards,

Federico

On Thu, Sep 8, 2016 at 11:12 AM, Daniel Tryba <d.tryba at pocos.nl> wrote:

> On Wed, Sep 07, 2016 at 08:35:30PM +0300, Yuriy Gorlichenko wrote:
> > Before to send to asteisk any packet i added
> > $fs=ip.add.re.ss:port
> >
> > Also discribed
> > listen=tcp:ip.add.re.ss:port
> >
> > But kamailio send outgoing packets from random prot throug TCP
> > Presume i configured 5060 port but it send from 35410 port.
>
> This is normal behavior, tcp port 5060 is already in use as a listener
> port.
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160908/90d2e129/attachment.html>


More information about the sr-users mailing list