[Serusers] Can I Force SER to Send On A Specific Network Interface?

Java Rockx javarockx at gmail.com
Fri Apr 29 17:52:57 CEST 2005


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 at 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 <http://10.3.0.221>
> > eth1: 10.2.0.42 <http://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 at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050429/5bb09b5e/attachment.htm>


More information about the sr-users mailing list