[OpenSIPS-Users] mhome asymmetric port issue

Răzvan Crainea razvan at opensips.org
Thu Mar 3 09:39:52 CET 2016


Hi, Satish!

By default, OpenSIPS uses the same interface to send the reply. However, 
when using mhomed=1, the operating system decides where the reply should 
be sent to. And in your case, the operating system simply chooses a 
different interface. So it seems this is the normal behavior, there's 
nothing wrong. If you really want to use the same interface for replies, 
you should use the force_send_socket() function to set the desired 
interface.

Best regards,
Răzvan

On 03/02/2016 11:10 PM, Satish Patel wrote:
> mhome=1
> listen=udp:10.0.0.1:6060 udp:10.0.0.1:5060 udp:192.168.100.1:6060
> udp:192.168.100.1:5060
>
>  From client when i send REGISTER to 5060 then server sending reply
> back using port 6060, it should send reply back client using 5060
> right???
>
> If i use mhome=0 everything works!
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com




More information about the Users mailing list