indeed -- that's currently an unsupported feature being worked on.
-jiri
At 17:46 05/06/2006, Paul Antinori (pantinor) wrote:
Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C688B7.3390EF42"
I am using DNS SRV query for stateful routing of calls like in my script below. I see the SRV query is going through from SER.
My problem is that when the call times out to priority 1 A record, SER does not send it to priority 2.
Thanks for help.
vxml-1 IN A 10.86.xxx.1 vxml-2 IN A 10.86.xxx.2 vxml-3 IN A 10.86.xxx.3
; Priority Weight Port Target _sip._tcp.vxml.pats.cisco.com. SRV 1 1 5060 vxml-1.pats.cisco.com. SRV 2 1 5060 vxml-2.pats.cisco.com. SRV 3 1 5060 vxml-3.pats.cisco.com. _sip._udp.vxml.pats.cisco.com. SRV 1 1 5060 vxml-1.pats.cisco.com. SRV 2 1 5060 vxml-2.pats.cisco.com. SRV 3 1 5060 vxml-3.pats.cisco.com.
route{
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if (uri=~"^sip:7") { log(1, "Found 7*\n"); rewritehostport("vxml.pats.cisco.com"); route(1); break; } if (uri=~"^sip:9") { log(1, "Found 9*\n"); rewritehostport("ringtone.pats.cisco.com"); route(1); break; } log(1,"Could Not Match DN to a Route\n"); route(1);
}
route[1] {
#use "t_relay" for STATEFUL forwarding #for STATELESS forwarding use this syntax: forward(10.86.xx.xx,5060); if (!t_relay()) { sl_reply_error(); };
} _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/