[OpenSIPS-Users] Question about source port on t_relay
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Aug 18 16:53:29 CEST 2010
Hi Daniel,
the param of t_relay() is the destination where to send, not the source.
In UDP, the source will be all the time one of the defined interfaces,
but for TPC/TLS, when firing a new connection, the kernel allocates a
new random port for that - I guess this is the case for you, right ?
Regards,
Bogdan
Daniel Goepp wrote:
> We are using:
>
> t_relay("tcp:<ip_address>:5060")
>
> However this causes the source port to be someone unpredictable. But
> if we use UDP, it always comes from 5060 (as we would expect).
>
> I'm just looking for some comments on this behavior, and if it is
> expected or a bug.
>
> Thanks
>
> -dg
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro
More information about the Users
mailing list