Hi Jayesh,

The prototype of the function was changed from:
    $var(x) = get_source_group();
to
    get_source_group("$var(x)");

couple of days ago the proto was changed because I had to fix a bug on that.

So, solutions are:
1) if you use old code, use the $var(x) = get_source_group();

2) update from SVN and use the new proto.

Regards,
Bogdan

Jayesh Nambiar wrote:
> Hi All,
> I am trying to use the get_source_group function from the permissions 
> module and it gives me "command not found missing loadmodule" error.
> I am trying to use it just as mentioned in the docs which is 
> get_source_group("var(group_id)");
>
> Can someone please guide me to exact number of arguments in this 
> function. Looks like I am missing something. I am using opensips 1.6.2
>
> Thanks for any help.
>
> --- Jayesh
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to