[OpenSIPS-Users] load_balance to variable group

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Sep 3 15:41:39 CEST 2009


Hi Russell,

This is possible only in 1.6 (current devel version) :
    see:     
http://www.opensips.org/html/docs/modules/1.6.x/load_balancer.html#id228302

In 1.5 you cannot pass a variable for the group param :(

Regards,
Bogdan

Russell Bierschbach wrote:
>
> Is it possible to load balance to a variable group id.
>
>  
>
> For example, this works:
>
>  
>
> load_balance("10","pstn");
>
>  
>
> However these do not:
>
>  
>
> $avp(i:112) = "10";
>
> load_balance("$avp(i:112)","pstn");
>
> load_balance($avp(i:112),"pstn");
>
>  
>
> Thanks for any help.
>
>  
>
> I'm running off the 1.5 svn tree.
>
>  
>
> svn info
>
> Path: .
>
> URL: https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.5
>
> Repository Root: https://opensips.svn.sourceforge.net/svnroot/opensips
>
> Repository UUID: 689a6050-402a-0410-94f2-e92a70836424
>
> Revision: 6017
>
> Node Kind: directory
>
> Schedule: normal
>
> Last Changed Author: bogdan_iancu
>
> Last Changed Rev: 6010
>
> Last Changed Date: 2009-08-21 15:16:53 +0000 (Fri, 21 Aug 2009)
>
>  
>
> Russ
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list