<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ryan,<br>
<br>
Could you post the domain and the SRV records you have populated?
OpenSIPS DNS engine is able to handle priorities and weights between
records, so .....either records are not right, either there is a bug
somewhere...<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 11/21/2011 03:39 PM, Ryan Revels wrote:
<blockquote
cite="mid:CAKFmOsH7=a+EhoA6=YYOkfSSXZLJ8sjXiCFU67i9yX7pSTQwOQ@mail.gmail.com"
type="cite">Ovidiu,<br>
<br>
The DNS server replies with both SRV records & indicates they
are of equal priority and weight.<br>
My question is why OpenSIPS would choose the same A record each
and every time?<br>
<br>
Thanks,<br>
Ryan<br>
<br>
<div class="gmail_quote">On Fri, Nov 18, 2011 at 3:44 PM, Ovidiu
Sas <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Probably your DNS server doesn't do round robin on your
records.<br>
<div class="HOEnZb">
<div class="h5"><br>
On Fri, Nov 18, 2011 at 4:32 PM, Ryan Revels <<a
moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>>
wrote:<br>
> Ovidiu,<br>
><br>
> I am seeing the same behavior when in proxy mode. Can
you help me understand<br>
> where the problem may be occurring?<br>
><br>
> Thanks,<br>
> Ryan<br>
><br>
> On Fri, Nov 18, 2011 at 12:37 PM, Ovidiu Sas <<a
moz-do-not-send="true"
href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>>
wrote:<br>
>><br>
>> The B2B modules are using the tm API to construct
requests and<br>
>> therefore the handling of SRV records should not
be influenced by how<br>
>> INVITE requests are handled: proxy or b2b.<br>
>> Try to handle the INVITE in proxy mode and check
if you have the same<br>
>> behaviour.<br>
>><br>
>> Regards,<br>
>> Ovidiu Sas<br>
>><br>
>> On Fri, Nov 18, 2011 at 1:12 PM, Ryan Revels <<a
moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>>
wrote:<br>
>> > Bump<br>
>> ><br>
>> > On Nov 11, 2011 2:34 PM, "Ryan Revels" <<a
moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>>
wrote:<br>
>> >><br>
>> >> Do the b2bua modules fully support
resolving SRV records?<br>
>> >> I have 2 records with equal priority and
weight, but the b2bua always<br>
>> >> chooses the same one:<br>
>> >><br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query NAPTR <a moz-do-not-send="true"
href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response NAPTR 10 10 S<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query SRV _sip._<a moz-do-not-send="true"
href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response SRV 0 0 5060<br>
>> >> <a moz-do-not-send="true"
href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
SRV 0 0 5060 <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query A <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response A 1.2.3.4<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query NAPTR <a moz-do-not-send="true"
href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response NAPTR 10 10 S<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query SRV _sip._<a moz-do-not-send="true"
href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response SRV 0 0 5060<br>
>> >> <a moz-do-not-send="true"
href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
SRV 0 0 5060 <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query A <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response A 1.2.3.4<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query NAPTR <a moz-do-not-send="true"
href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response NAPTR 10 10 S<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query SRV _sip._<a moz-do-not-send="true"
href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response SRV 0 0 5060<br>
>> >> <a moz-do-not-send="true"
href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
SRV 0 0 5060 <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query A <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response A 1.2.3.4<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query NAPTR <a moz-do-not-send="true"
href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response NAPTR 10 10 S<br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query SRV _sip._<a moz-do-not-send="true"
href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response SRV 0 0 5060<br>
>> >> <a moz-do-not-send="true"
href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
SRV 0 0 5060 <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard
query A <a moz-do-not-send="true"
href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard
query response A 1.2.3.4<br>
>> >><br>
>> >> Any help would be much appreciated.<br>
>> >> Thanks.<br>
>> ><br>
>> >
_______________________________________________<br>
>> > Users mailing list<br>
>> > <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> > <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
<br>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">--<br>
VoIP Embedded, Inc.<br>
<a moz-do-not-send="true"
href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
</font></span>
<div class="HOEnZb">
<div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
</body>
</html>