Ovidiu,

mhomed enables auto detection of the the outgoing interface based on the destination address. Is less complicated to used from script, but as all auto-system is not so performant (additional temporary sockets are opened to probe what will be the interface allocated by the system).

overall, you may say that it the same functionality - it;s just manual versus auto control ;)

regards,
bogdan

Ovidiu Sas wrote:

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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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





_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to