[OpenSIPS-Users] get_source_group not working

Wesley Volcov wesleyvolcov at gmail.com
Mon Jul 19 16:09:27 CEST 2010


Hey Bogdan,

I have this error too.
I updated my opensips from
https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6, and
after this update the opensips -c seems ok, but after some seconds opensips
started it die:
Jul 19 11:00:46 opensips /usr/local/sbin/opensips[32027]:
INFO:core:handle_sigs: child process 32029 exited by a signal 11
Jul 19 11:00:46 opensips /usr/local/sbin/opensips[32027]:
INFO:core:handle_sigs: core was generated
Jul 19 11:00:46 opensips /usr/local/sbin/opensips[32027]:
INFO:core:handle_sigs: terminating due to SIGCHLD
Jul 19 11:00:46 opensips /usr/local/sbin/opensips[32032]: INFO:core:sig_usr:
signal 15 received
Jul 19 11:00:46 opensips /usr/local/sbin/opensips[32034]: INFO:core:sig_usr:
signal 15 received

Am I missing something?

Cheers!

On 16 July 2010 09:59, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:

> 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 at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100719/b1063eb3/attachment.htm 


More information about the Users mailing list