<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi Paul,</DIV>
<DIV>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.</DIV>
<DIV>g-)</DIV>
<DIV> </DIV>
<DIV>---- Original Message ----<BR>From: Java Rockx<BR>To: Greger V.
Teigre<BR>Cc: serusers<BR>Sent: Friday, April 29, 2005 05:52 PM<BR>Subject: Re:
[Serusers] Can I Force SER to Send On A Specific Network<BR>Interface?
<BR><BR>> Thanks Greger.<BR>> <BR>> One more question - how would I use
force_send_socket()?<BR>> <BR>> Do I replace t_relay() or is this just to
be called at the top of the<BR>> main route block or something? <BR>>
<BR>> Regards,<BR>> Paul<BR>> <BR>> <BR>> On 4/29/05, Greger V.
Teigre <greger@teigre.com> wrote:<BR>> Supported in
>=0.9.0:<BR>>
force_send_socket([proto:]address[:port])<BR>>
sends the message from the specified socket (it _must_ be one<BR>> of the
<BR>> sockets ser listens on). If
the protocol doesn't match (e.g.<BR>> udp
<BR>> message "forced" to a tcp
socket) the closest socket of the<BR>> same
<BR>> protocol is used.<BR>>
<BR>> ---- Original Message ----<BR>> From: Java Rockx<BR>> To:
serusers<BR>> Sent: Friday, April 29, 2005 05:21 PM<BR>> Subject:
[Serusers] Can I Force SER to Send On A Specific Network<BR>>
Interface?<BR>> <BR>>> Hi All.<BR>>> <BR>>> I have a
multi-homed ser-0.9.1 proxy. Suppose my interfaces are as<BR>>>
follows:<BR>>> <BR>>> eth0: 10.3.0.221<BR>>> eth1:
10.2.0.42<BR>>> <BR>>> If SER recieves a SIP message on eth0, how
can I force SER to send<BR>>> any replies out eth1?<BR>>>
<BR>>> Regards,<BR>>> Paul<BR>>> <BR>>> <BR>>>
<BR>>> <BR>> <BR>>>
_______________________________________________<BR>>> Serusers mailing
list<BR>>> serusers@lists.iptel.org<BR>>>
http://lists.iptel.org/mailman/listinfo/serusers</DIV></BODY></HTML>