Hi Paul, It sets a flag in routing for which socket to use. I am not aware of any restructions on functions you may call after that. g-)
---- Original Message ---- From: Java Rockx To: Greger V. Teigre Cc: serusers Sent: Friday, April 29, 2005 05:52 PM Subject: Re: [Serusers] Can I Force SER to Send On A Specific Network Interface?
Thanks Greger.
One more question - how would I use force_send_socket()?
Do I replace t_relay() or is this just to be called at the top of the main route block or something?
Regards, Paul
On 4/29/05, Greger V. Teigre greger@teigre.com wrote: Supported in >=0.9.0: force_send_socket([proto:]address[:port]) sends the message from the specified socket (it _must_ be one of the sockets ser listens on). If the protocol doesn't match (e.g. udp message "forced" to a tcp socket) the closest socket of the same protocol is used.
---- Original Message ---- From: Java Rockx To: serusers Sent: Friday, April 29, 2005 05:21 PM Subject: [Serusers] Can I Force SER to Send On A Specific Network Interface?
Hi All.
I have a multi-homed ser-0.9.1 proxy. Suppose my interfaces are as follows:
eth0: 10.3.0.221 eth1: 10.2.0.42
If SER recieves a SIP message on eth0, how can I force SER to send any replies out eth1?
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers