<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>SRV failover question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regarding the SRV query addition in (ser-0.9.7-pre7), when the call fails on the first priority destination, it never seems to attempt to send the INVITE to the second priority destination in the SRV response list.&nbsp; Is there anything else to script in the ser.cfg file to get this to work?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks for help,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Paul</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[root@iptel-sip-proxy /]# /usr/sbin/tethereal | grep SIP</FONT>

<BR><FONT SIZE=2 FACE="Arial">Capturing on eth0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;10.100556 10.86.142.144 -&gt; 10.86.129.17 SIP Request: INVITE sip:77710107773365@10.86.129.17:5060;transport=udp</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;10.101774 10.86.129.17 -&gt; 10.86.142.144 SIP Status: 100 trying -- your call is important to us</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;14.233596 10.86.129.17 -&gt; 10.86.142.144 SIP Status: 408 Request Timeout</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;14.235930 10.86.142.144 -&gt; 10.86.129.17 SIP Request: ACK sip:77710107773365@10.86.129.17:5060;transport=udp</FONT>

<BR><FONT SIZE=2 FACE="Arial">2139 packets captured</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[root@iptel-sip-proxy /]# /usr/sbin/tethereal | grep DNS</FONT>

<BR><FONT SIZE=2 FACE="Arial">Capturing on eth0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; 4.279486 10.86.129.17 -&gt; 10.86.129.16 DNS Standard query SRV _sip._udp.vxml.pats.cisco.com</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; 4.279897 10.86.129.16 -&gt; 10.86.129.17 DNS Standard query response 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</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; 4.280045 10.86.129.17 -&gt; 10.86.129.16 DNS Standard query A vxml-1.pats.cisco.com</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; 4.280231 10.86.129.16 -&gt; 10.86.129.17 DNS Standard query response A 10.86.129.2&nbsp;&nbsp; &lt;--this is unplugged from the network</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">debug=3</FONT>

<BR><FONT SIZE=2 FACE="Arial">fork=yes</FONT>

<BR><FONT SIZE=2 FACE="Arial">log_stderror=yes</FONT>

<BR><FONT SIZE=2 FACE="Arial">rev_dns=no</FONT>

<BR><FONT SIZE=2 FACE="Arial">port=5060</FONT>

<BR><FONT SIZE=2 FACE="Arial">children=4</FONT>

<BR><FONT SIZE=2 FACE="Arial">check_via=no</FONT>

<BR><FONT SIZE=2 FACE="Arial">sip_warning=yes</FONT>

<BR><FONT SIZE=2 FACE="Arial">fifo=&quot;/tmp/ser_fifo&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">uid=&quot;nobody&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">gid=&quot;nobody&quot;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">#aliases for this proxy server</FONT>

<BR><FONT SIZE=2 FACE="Arial">#ie hostnames/domains that it routes for</FONT>

<BR><FONT SIZE=2 FACE="Arial">alias=sox.cisco.com</FONT>

<BR><FONT SIZE=2 FACE="Arial">alias=pats.cisco.com</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/sl.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/tm.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/rr.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/maxfwd.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/usrloc.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/registrar.so&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">loadmodule &quot;/usr/local/lib/ser/modules/textops.so&quot;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,&nbsp;&nbsp; 0)</FONT>

<BR><FONT SIZE=2 FACE="Arial">modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)</FONT>

<BR><FONT SIZE=2 FACE="Arial">modparam(&quot;tm&quot;,&quot;fr_timer&quot;,5)</FONT>

<BR><FONT SIZE=2 FACE="Arial">modparam(&quot;tm&quot;,&quot;fr_inv_timer&quot;,5)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">route{</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header(&quot;10&quot;)) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~&quot;^sip:1&quot;) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, &quot;SER found 1*\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport(&quot;ccm.pats.cisco.com&quot;);route(1);break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~&quot;^sip:2&quot;) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, &quot;SER Found 2*\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport(&quot;ccm.pats.cisco.com&quot;);route(1);break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~&quot;^sip:7&quot;) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, &quot;SER Found 7*\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport(&quot;vxml.pats.cisco.com&quot;);route(1);break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~&quot;^sip:8&quot;) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, &quot;SER Found 8*\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport(&quot;SER.pats.cisco.com&quot;);route(1);break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~&quot;^sip:9&quot;) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, &quot;SER Found 9*\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport(&quot;ringtone.pats.cisco.com&quot;);route(1);break;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1,&quot;Could Not Match DN to Route\n&quot;);</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);</FONT>

<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">route[1] </FONT>

<BR><FONT SIZE=2 FACE="Arial">{</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) {</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</FONT>

<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>

</BODY>
</HTML>