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 href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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 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 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 href="mailto:ryan@revelous.net">ryan@revelous.net</a>> wrote:<br>
>> > Bump<br>
>> ><br>
>> > On Nov 11, 2011 2:34 PM, "Ryan Revels" <<a 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 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 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 href="http://test2.notreal.net" target="_blank">test2.notreal.net</a> SRV 0 0 5060 <a 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 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 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 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 href="http://test2.notreal.net" target="_blank">test2.notreal.net</a> SRV 0 0 5060 <a 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 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 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 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 href="http://test2.notreal.net" target="_blank">test2.notreal.net</a> SRV 0 0 5060 <a 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 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 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 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 href="http://test2.notreal.net" target="_blank">test2.notreal.net</a> SRV 0 0 5060 <a 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 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> > <a 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a 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 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a 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>