<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Got it - the required addition to the dialplan is:<br>
&lt;action application="set"
data="sip_h_Route=<a class="moz-txt-link-rfc2396E" href="sip:10.11.12.13;lr">&lt;sip:10.11.12.13;lr&gt;</a>" /&gt;<br>
- the lr parameter is required.<br>
<br>
--Dave<br>
<blockquote cite="mid:B259BB49-AF2F-4E97-9DE8-7951D16AF52B@mac.com"
 type="cite">
  <pre wrap="">Actually you have a couple of options... You can setup DNS SRV records  
with equal weights and that should work.  Or you setup one profile on  
sip.domain.com... then setup profiles on sip1.domain.com and  
sip2.domain.com then on sip.domain.com you issue 302 redirects.

/b

On Feb 3, 2008, at 10:10 PM, David Knell wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi -

I've the following problem.  I'm required to deliver calls to a
particular URI -
e.g. <a class="moz-txt-link-abbreviated" href="mailto:1234@sip.wherever.com">1234@sip.wherever.com</a> - but there are two gateways to which I can
send the traffic.  Sofia appears just to do a DNS lookup on  
sip.wherever.com
and send the call there, which doesn't quite let me do what I want.

Is there a mechanism for telling Sofia to send the call to a  
particular
IP address,
independent of the URI?  The documentation suggests that adding a  
Route:
header will help; a quick attempt by adding
&lt;action application="set" data="sip_h_Route=<a class="moz-txt-link-rfc2396E" href="sip:+$1@1.2.3.4">&lt;sip:+$1@1.2.3.4&gt;</a>" /&gt;
doesn't give me what I'm after.

Cheers --

Dave

-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 8692 0677  M: 07773 800623
<a class="moz-txt-link-freetext" href="http://www.3c.co.uk">http://www.3c.co.uk</a>


_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 8692 0677  M: 07773 800623
<a class="moz-txt-link-freetext" href="http://www.3c.co.uk">http://www.3c.co.uk</a> </pre>
</body>
</html>