In my case the proxy is not able to resolve the DNS name at all and sends back a 500. I would want it to go to a different IP each new transaction. Brocha -----Original Message----- From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Pierre-Luc Bacon Sent: Sunday, July 19, 2009 5:35 PM To: pjsip list Subject: Re: DNS SRV lookup not working properly This might not be your problem, but I suggest you take a look at this thread: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/008132.html On Sun, 2009-07-19 at 14:32 +0300, Brocha Strous wrote: > Hello, > > I am trying to test the DNS SRV capability of pjsip. I have a domain > name that load-balances between a number of IPs using DNS SRV. My > configuration works with another proxy but not with PJSIP. Can you > please send me a sample DNS SRV configuration that does work with > PJSIP? > > > > My configuration looks like this: the request is being sent to > foo.bar.com > > > > foo_dnssrv1 IN A 111.111.111.111 > > foo_dnssrv2 IN A 222.222.222.222 > > foo_dnssrv3 IN A 333.333.333.333 > > foo_dnssrv4 IN A 444.444.444.444 > > _sip._udp.foo IN SRV 0 1 5060 > foo_dnssrv1.bar.com. > > _sip._udp.foo IN SRV 0 1 5060 > foo_dnssrv2.bar.com. > > _sip._udp.foo IN SRV 0 1 5060 > foo_dnssrv3.bar.com. > > _sip._udp.foo IN SRV 0 1 5060 > foo_dnssrv4.bar.com. > > > > Thanks, > > Brocha > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org