[SR-Users] New functionality LCR + force_send_socket() - sanity check

Geoffrey Mina geoffreymina at gmail.com
Fri Jun 25 22:28:53 CEST 2010


OK, but since this is 1.5, I would still use the GW Group ID, correct?

On Fri, Jun 25, 2010 at 4:14 PM, Juha Heinanen <jh at tutpro.com> wrote:

> Juha Heinanen writes:
>
> > >   if(to_gw("1")){
> > >       force_send_socket($shv(gw_one));
> > >    }else if(to_gw("2")){
> > >       force_send_socket($shv(gw_two));
> > >   }
>
> also, in 3.0 and later, to_gw takes lcr_id as argument, not gw group.
>
> -- juha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100625/583ec5de/attachment.htm>


More information about the sr-users mailing list