<br><br><div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Juha Heinanen</b> &lt;<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SMP writes:<br><br> &gt; I&#39;m trying to implement failover using the load_contacts/next_contacts from<br> &gt; the lcr module.&nbsp;&nbsp;The problem I have is the INVITE message is sent<br> &gt; simultaneously to both contact&#39;s instead of trying the first and then the
<br> &gt; second.&nbsp;&nbsp;I keep getting &#39;load_contacts(): DEBUG: Nothing to do - all same<br> &gt; q!&#39; when I&#39;ve set them up with separate q values??<br><br>check what the value of your destination set ($ds) is before you call
<br>load_contacts().</blockquote><div><br>Sure enough, lookup() is pulling them as the same q value.&nbsp; How do you get lookup(&quot;location&quot;) to recognize the q value stored in the db?<br><br>&nbsp;0(20824)&nbsp; Lookup done, Contact: &lt;
sip:3125551234@xxx.xxx.129.144:5060&gt;;q=0, &lt;sip:3125551234@xxx.xxx.129.180:5060&gt;;q=0 <br>&nbsp;0(20824) load_contacts(): DEBUG: Nothing to do - all same q!<br>&nbsp;0(20824)&nbsp;&nbsp; Contacts loaded Contact: &lt;sip:3125551234@xxx.xxx.129.144
:5060&gt;;q=0, &lt;sip:3125551234@xxx.xxx.129.180:5060&gt;;q=0 <br>&nbsp;0(20824) next_contacts(): DEBUG: No AVPs -- we are done!<br><br>Thanks,<br>Shannon<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-- juha<br></blockquote></div><br><br clear="all"><br>