< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Multiple SRV-records and failure on first one


With UDP, it will not try the next host. However, it will blacklist
the host that timed out so that next time you try it will use the
other one.

Jason


On 6/29/05, Fredrik Skoog <fs@xxxxxxxxxxx> wrote:
> 
> I looked a little bit deeper and with TCP it's actually working. I had a
> iptables-filter which make it unhappy but when I removed that it's
> working. UDP is not working but maybe it shouldn't? How many INVITES are
> sent before the other host is tried?
> 
> Here is some more details if you want to look at it:
> 
> I did a svn on the main branch, so it's version 0.5.0
> 
> Some more details:
> 
> The DNS config looks like:
> _sip._tcp.sipgw.xyz.se.     IN    SRV     0 0 5060 pstnproxy2.sipgw.xyz.se.
> _sip._tcp.sipgw.tdcsong.se.  IN    SRV     0 0 5060 pstnproxy1.sipgw.xyz.se.
> _sip._udp.sipgw.xyz.se.     IN    SRV     0 0 5060 pstnproxy2.sipgw.xyz.se.
> _sip._udp.sipgw.tdcsong.se.  IN    SRV     0 0 5060 pstnproxy1.sipgw.xyz.se.
> 
> I have created an INVITE-message with uri sip:+46123@xxxxxxxxxxxx and
> sending that with SipStack->send(msg)
> 
> If I send the message with UDP, doing a ngrep shows the stack sending the
> message to pstnproxy2.sipgw.xyz.se and repeat retransmitting to that host.
> pstnproxy1.sipgw.xyz.se is never tried.
> 
> Best regards,
> 
> Fredrik
> 
> On Wed, 29 Jun 2005, Fischl jason wrote:
> 
> > Can you give some more details on the specific configuration where you
> > are seeing the problem? resip should handle this correctly. What
> > version of resip are you using?
> >
> > On 6/29/05, Fredrik Skoog <fs@xxxxxxxxxxx> wrote:
> > > Hi!
> > >
> > > I have a domain returning two SRV-records. The first proxy is down,
> > > but resiprocate don't try the other one. If I choose TCP as transport, it
> > > just fails and makes no tries. Is this a correct behavior?
> > >
> > > I'm running the svn-main-version.
> > >
> > > Is resiprocate designed to handle this or should I take care of this in
> > > the App-layer?
> > >
> > > Best regards,
> > >
> > > Fredrik
> > > _______________________________________________
> > > resiprocate-devel mailing list
> > > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> > >
> >
> 
> --
> Fredrik Skoog
> Leissner Data AB
> fs@xxxxxxxxxxx
>