[Serusers] DNS SRV problem

Ezequiel Colombo ecolombo at arcotel.net
Tue Jul 13 16:40:58 CEST 2004


If you use forward() you are sending statically the call to some gateway, if
you want to use DNS recors try with t_relay() instead of forward.

----- Original Message -----
From: "Mark Cerrajetto" <mark at pyme.net>
To: <serusers at lists.iptel.org>
Sent: Tuesday, July 13, 2004 11:34 AM
Subject: [Serusers] DNS SRV problem


> Hello:
>
> I have a SER proxy server, and 2 SIP-to-pstn gateways (GW1, GW2). I would
> like to provide redundancy with SER using DNS SRV entries.
>
> The scenario is: every call must be directed to GW1, and **only** if GW1
> fails, these calls must be directed to GW2.
>
> I've created these dns entries in Bind:
>
>    _sip._udp.my.service.com.  IN  SRV  10  0  5060  gw1.service.com.
>    _sip._udp.my.service.com.  IN  SRV  20  0  5060  gw2.service.com.
>
>    gw1.service.com.  IN  A  192.168.1.1
>    gw2.service.com.  IN  A  192.168.1.2
>    service.com.  IN  A  192.168.1.10
>
>
> SER receives calls to "user1 at service.com", and after a dns srv lookup it
> sends the call to gw1.service.com correcly. SER configuration is:
>
>    if (uri=~"user1"){
>      rewritehost("my.service.com");
>      forward(uri:host, uri:port);
>      break;
>    };
>
> But, if gw1.service.com is down, SER never tries to send the calls to
> gw2.service.com.
>
> SER never send INVITEs to the server with priority 20.
>
> Is it a SER limitation, or is it a configuration problem?
>
> Thank you,
> Mark
>
>
>
>
>
> I would like to provide failover redundancy with SER
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list