[OpenSIPS-Users] SRV lookups with b2bua

Ovidiu Sas osas at voipembedded.com
Fri Nov 18 22:44:30 CET 2011


Probably your DNS server doesn't do round robin on your records.

On Fri, Nov 18, 2011 at 4:32 PM, Ryan Revels <ryan at revelous.net> wrote:
> Ovidiu,
>
> I am seeing the same behavior when in proxy mode. Can you help me understand
> where the problem may be occurring?
>
> Thanks,
> Ryan
>
> On Fri, Nov 18, 2011 at 12:37 PM, Ovidiu Sas <osas at voipembedded.com> wrote:
>>
>> The B2B modules are using the tm API to construct requests and
>> therefore the handling of SRV records should not be influenced by how
>> INVITE requests are handled: proxy or b2b.
>> Try to handle the INVITE in proxy mode and check if you have the same
>> behaviour.
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Fri, Nov 18, 2011 at 1:12 PM, Ryan Revels <ryan at revelous.net> wrote:
>> > Bump
>> >
>> > On Nov 11, 2011 2:34 PM, "Ryan Revels" <ryan at revelous.net> wrote:
>> >>
>> >> Do the b2bua modules fully support resolving SRV records?
>> >> I have 2 records with equal priority and weight, but the b2bua always
>> >> chooses the same one:
>> >>
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query NAPTR sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response NAPTR 10 10 S
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query SRV _sip._udp.sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response SRV 0 0 5060
>> >> test2.notreal.net SRV 0 0 5060 test1.notreal.net
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query A test1.notreal.net
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response A 1.2.3.4
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query NAPTR sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response NAPTR 10 10 S
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query SRV _sip._udp.sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response SRV 0 0 5060
>> >> test2.notreal.net SRV 0 0 5060 test1.notreal.net
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query A test1.notreal.net
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response A 1.2.3.4
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query NAPTR sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response NAPTR 10 10 S
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query SRV _sip._udp.sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response SRV 0 0 5060
>> >> test2.notreal.net SRV 0 0 5060 test1.notreal.net
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query A test1.notreal.net
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response A 1.2.3.4
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query NAPTR sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response NAPTR 10 10 S
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query SRV _sip._udp.sip.notreal.com
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response SRV 0 0 5060
>> >> test2.notreal.net SRV 0 0 5060 test1.notreal.net
>> >> 10.10.10.1 -> 8.8.8.8 DNS Standard query A test1.notreal.net
>> >> 8.8.8.8 -> 10.10.10.1 DNS Standard query response A 1.2.3.4
>> >>
>> >> Any help would be much appreciated.
>> >> Thanks.
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list