[Serusers] DNS SRV support ?

samuel samu60 at gmail.com
Tue Sep 26 13:13:04 CEST 2006


SER's CVS HEAD version has this fetaure...I guess you would have to
use t_on_failure and such...

Samuel

2006/9/25, Kostas Marneris <K.Marneris at otenet.gr>:
> thanks. This works Ok.
>
> I have one more question :
> My DNS SRV config is something like that :
>
> $ORIGIN pstngw.foo.com.
> _sip._udp       SRV 1 1 5060 pstn1.foo.com.
>                 SRV 1 1 5060 pstn2.foo.com.
>
> I can load balance (50-50) with the above.
>
> But if one of the GWs is down, then SER keeps on doing "load balancing 50-50" ,
> so the ~50% of the calls are routed to GW that is down .
>
>
> Is there a way to have a redundancy setup with DNS SRV only (with 50-50 load balancing) ?
> Does this supported by SER's DNS SRV implementation (t_relay() ) ?
>
> Or do I have to handle this issue with the t_on_failure() mechanism ?
>
>
> thanx.
> Kostas
>
> Greger V. Teigre wrote:
> > Use rewritehost("pstngw.foo.com");
> > (If port is specified, DNS SRV is not used, ref. the RFC)
> > g-)
> >
> > Kostas Marneris wrote:
> >
> >> Hello,
> >>
> >> I run ser.0.9.6 and I can use
> >> either
> >>     rewritehostport("1.2.3.4:5060");
> >> or
> >>     rewritehostport("pstngw.foo.com:5060");
> >>
> >> with t_relay() command on INVITE/PSTN handler in order
> >> to route calls to a Cisco PSTN GW.
> >> This works fine.
> >>
> >>
> >> Is "DNS SRV queries" supported on ser.0.9.6 and is there a specific
> >> conf ?
> >>
> >>
> >> thanx
> >> Kostas
> >> _______________________________________________
> >> Serusers mailing list
> >> Serusers at lists.iptel.org
> >> http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >>
> >>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>



More information about the sr-users mailing list