[OpenSIPS-Users] SRV lookups with b2bua
Ryan Revels
ryan at revelous.net
Mon Nov 21 14:39:14 CET 2011
Ovidiu,
The DNS server replies with both SRV records & indicates they are of equal
priority and weight.
My question is why OpenSIPS would choose the same A record each and every
time?
Thanks,
Ryan
On Fri, Nov 18, 2011 at 3:44 PM, Ovidiu Sas <osas at voipembedded.com> wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111121/423ab1fd/attachment.htm>
More information about the Users
mailing list