Hi - I've the following problem. I'm required to deliver calls to a particular URI - e.g. 1234@sip.wherever.com - 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 <action application="set" data="sip_h_Route=<sip:+$1@1.2.3.4>" /> 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 http://www.3c.co.uk
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:
Hi -
I've the following problem. I'm required to deliver calls to a particular URI - e.g. 1234@sip.wherever.com - 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 <action application="set" data="sip_h_Route=<sip:+$1@1.2.3.4>" /> 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 http://www.3c.co.uk
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Got it - the required addition to the dialplan is: <action application="set" data="sip_h_Route=<sip:10.11.12.13;lr>" /> - the lr parameter is required. --Dave
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:
Hi -
I've the following problem. I'm required to deliver calls to a particular URI - e.g. 1234@sip.wherever.com - 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 <action application="set" data="sip_h_Route=<sip:+$1@1.2.3.4>" /> 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 http://www.3c.co.uk
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- David Knell, Director, 3C Limited T: 020 8114 8901 F: 020 8692 0677 M: 07773 800623 http://www.3c.co.uk
participants (2)
-
Brian West
-
David Knell