What is the difference between setting "mhomed=1" and using the force_send_socket() function, beside providing more control.

mhomed=1 seems to properly set the source IP for SIP signalling in a multi-homed situation (two IPs).


-ovi

On 6/2/06, Bogdan-Andrei Iancu <bogdan@voice-system.ro> wrote:
Hi Simon,

to force sending from a different interface (to switch across the
interfaces), use the force_send_socket() function. See:

http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook#force_send_socket_protoaddress_port

the double Record-Route will automatically be inserted to reflect the
interface change.

regards,
bogdan