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

Daniel Tryba d.tryba at pocos.nl
Thu Sep 8 14:43:06 CEST 2016


On Thu, Sep 08, 2016 at 02:43:03PM +0300, Yuriy Gorlichenko wrote:
> Like User sends registration, kamailio just Transcoding this request to TCP
> and then resend this registration packet to Asterisk.
> With this example asteisk must originate all PACKETS to TCP port of
> kamailio but it tries to send it to port from wich request arrived and if
> use TCP it will not equal port that kamailio listening for TCP.

Apparently this solved in a new enough Asterisk that supports Path (13.x
appears to support Path in both PJSIP and chan_sip, still running 11.x
in production myself so you have to test yourself).
See https://blog.irontec.com/integracion-kamailio-y-asterisk-con-path/
Even if you don't read Portugese, it is understandable enough :)

If this indeed works, Olle (among others) has saved the day again ;)




More information about the sr-users mailing list