<br><br><div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Juha Heinanen</b> <<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>> 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> > I'm trying to implement failover using the load_contacts/next_contacts from<br> > the lcr module. The problem I have is the INVITE message is sent<br> > simultaneously to both contact's instead of trying the first and then the
<br> > second. I keep getting 'load_contacts(): DEBUG: Nothing to do - all same<br> > q!' when I'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. How do you get lookup("location") to recognize the q value stored in the db?<br><br> 0(20824) Lookup done, Contact: <
sip:3125551234@xxx.xxx.129.144:5060>;q=0, <sip:3125551234@xxx.xxx.129.180:5060>;q=0 <br> 0(20824) load_contacts(): DEBUG: Nothing to do - all same q!<br> 0(20824) Contacts loaded Contact: <sip:3125551234@xxx.xxx.129.144
:5060>;q=0, <sip:3125551234@xxx.xxx.129.180:5060>;q=0 <br> 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>