Re: [OpenSIPS-Users] get_source_group not working

2010-07-20 Thread Wesley Volcov
Hi Bogdan,

The has more than 1GB size.
Follow the backtrace you asked me.:
*[r...@opensips /]# gdb opensips core.24758*
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.1)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/sbin/opensips...done.

warning: exec file is newer than core file.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m
1024 -u root -g root'.
Program terminated with signal 11, Segmentation fault.
#0  0x080a2b10 in check_ip_address (ip=0xbfd63268, name=0x0, port=0,
proto=135, resolver=0) at resolve.c:100
100 if ((ip->af==AF_INET6) &&
*
(gdb) bt full*
#0  0x080a2b10 in check_ip_address (ip=0xbfd63268, name=0x0, port=0,
proto=135, resolver=0) at resolve.c:100
he = 
__FUNCTION__ = "check_ip_address"
#1  0x00ef961e in ?? ()
No symbol table info available.
#2  0xbfd63268 in ?? ()
No symbol table info available.
#3  0x in ?? ()
No symbol table info available.

Cheers,

On 20 July 2010 12:04, Bogdan-Andrei Iancu  wrote:

> Hi Wesley,
>
> But as the log says, the crashing process is 24758, not the one logging the
> route accounting (24759).
>
> But I see a core file is generated -> could you use GDB to extract the
> backtrace ?
>
>
> Regards,
> Bogdan
>
> Wesley Volcov wrote:
>
>> Hey Bogdan,
>>
>> See my log file:
>>
>> Jul 19 13:04:45 opensips /usr/local/sbin/opensips[24759]: RouteAccounting:
>> route accounting
>> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
>> INFO:core:handle_sigs: child process 24758 exited by a signal 11
>> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
>> INFO:core:handle_sigs: core was generated
>> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
>> INFO:core:handle_sigs: terminating due to SIGCHLD
>>
>> In my main route script, the next step after route accounting is the
>> route_authenticate. that contains the check_source_address function.
>>
>> Follow my route_authenticate:
>> route[ROUTE_AUTHENTICATE] {
>>  if (check_source_address("0","$avp(i:9)")) {
>>xlog("$avp(i:9)");
>>}
>>
>> Regards,
>>
>> On 20 July 2010 08:33, Bogdan-Andrei Iancu > bog...@voice-system.ro>> wrote:
>>
>>Hi Wesley,
>>
>>The first frames of the core are bogus ... :(...the crash happens
>>in the "check_ip_address" function because the name param is
>>empty, but I cannot see where it is called from , to identify the bug.
>>
>>Are you sure the crash is triggered by "check_source_address"
>>function ?
>>
>>Regards,
>>Bogdan
>>
>>Wesley Volcov wrote:
>>
>>Andrew,
>>
>>I'he downgrade my opensips to 1.6.2 version and the error
>>gone! It just occur with the svn version.
>>Follow my coredump:
>>warning: exec file is newer than core file.
>>Reading symbols from /lib/ld-linux.so.2...(no debugging
>>symbols found)...done.
>>Loaded symbols for /lib/ld-linux.so.2
>>Core was generated by `/usr/local/sbin/opensips -P
>>/var/run/opensips.pid -m 1024 -u root -g root'.
>>Program terminated with signal 11, Segmentation fault.
>>#0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0,
>>port=0, proto=0, resolver=0) at resolve.c:100
>>100 if ((ip->af==AF_INET6) &&
>>
>>#0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0,
>>port=0, proto=0, resolver=0) at resolve.c:100
>>   he = 
>>   __FUNCTION__ = "check_ip_address"
>>#1  0x004a461e in ?? ()
>>No symbol table info available.
>>#2  0xbfb5fc78 in ?? ()
>>No symbol table info available.
>>#3  0x in ?? ()
>>No symbol table info available.
>>
>>In this core, I had deleted the get_source_group function, but
>>it crashed with check_source_address function. When I
>>downgraded my opensips this error did not happen again.
>>
>>Cheers
>>
>>On 19 July 2010 11:49, Andrew Pogrebennyk
>>>
>>>>> wrote:
>>
>>   Wesley,
>>
>>   May be. I can suggest three things here:
>>
>>   1) try to run svn update again, recompile opensips and see
>>if the
>>   problem goes away
>>   2) set debug=6 

Re: [OpenSIPS-Users] get_source_group not working

2010-07-20 Thread Bogdan-Andrei Iancu
Hi Wesley,

But as the log says, the crashing process is 24758, not the one logging 
the route accounting (24759).

But I see a core file is generated -> could you use GDB to extract the 
backtrace ?

Regards,
Bogdan

Wesley Volcov wrote:
> Hey Bogdan,
>
> See my log file:
>
> Jul 19 13:04:45 opensips /usr/local/sbin/opensips[24759]: 
> RouteAccounting: route accounting
> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]: 
> INFO:core:handle_sigs: child process 24758 exited by a signal 11
> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]: 
> INFO:core:handle_sigs: core was generated
> Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]: 
> INFO:core:handle_sigs: terminating due to SIGCHLD
>
> In my main route script, the next step after route accounting is the 
> route_authenticate. that contains the check_source_address function.
>
> Follow my route_authenticate:
> route[ROUTE_AUTHENTICATE] {
>   if (check_source_address("0","$avp(i:9)")) {
> xlog("$avp(i:9)");
> }
>
> Regards,
>
> On 20 July 2010 08:33, Bogdan-Andrei Iancu  > wrote:
>
> Hi Wesley,
>
> The first frames of the core are bogus ... :(...the crash happens
> in the "check_ip_address" function because the name param is
> empty, but I cannot see where it is called from , to identify the bug.
>
> Are you sure the crash is triggered by "check_source_address"
> function ?
>
> Regards,
> Bogdan
>
> Wesley Volcov wrote:
>
> Andrew,
>
> I'he downgrade my opensips to 1.6.2 version and the error
> gone! It just occur with the svn version.
> Follow my coredump:
> warning: exec file is newer than core file.
> Reading symbols from /lib/ld-linux.so.2...(no debugging
> symbols found)...done.
> Loaded symbols for /lib/ld-linux.so.2
> Core was generated by `/usr/local/sbin/opensips -P
> /var/run/opensips.pid -m 1024 -u root -g root'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0,
> port=0, proto=0, resolver=0) at resolve.c:100
> 100 if ((ip->af==AF_INET6) &&
>
> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0,
> port=0, proto=0, resolver=0) at resolve.c:100
>he = 
>__FUNCTION__ = "check_ip_address"
> #1  0x004a461e in ?? ()
> No symbol table info available.
> #2  0xbfb5fc78 in ?? ()
> No symbol table info available.
> #3  0x in ?? ()
> No symbol table info available.
>
> In this core, I had deleted the get_source_group function, but
> it crashed with check_source_address function. When I
> downgraded my opensips this error did not happen again.
>
> Cheers
>
> On 19 July 2010 11:49, Andrew Pogrebennyk
>  
>  >> wrote:
>
>Wesley,
>
>May be. I can suggest three things here:
>
>1) try to run svn update again, recompile opensips and see
> if the
>problem goes away
>2) set debug=6 and send us the log before moment of crash
>3) if you get a coredump file, get a bracktrace from it and
> post
>it here
>
>Hope this helps.
>
>
>On 19.07.2010 17:43, Wesley Volcov wrote:
>
>Andrew,
>
>I'm using like the documentations says:
>
>if ( get_source_group("$var(group)") ) {
># do something with $var(group)
>xlog("group is $var(group)\n");
>};
>
>I have deleted this lines and the error continue... Can
> it be
>a bug
>version ?
>
>
>-- Sincerely,
>Andrew Pogrebennyk
>
>
>
>
> -- 
> Wesley Volcov
> Email: wesleyvol...@gmail.com 
> >
> Messenger: vol...@live.com 
> >
>
> Mobile: +55 11 9989-5348
> Website: http://volcov.blogspot.com
> 
> 
>
> ___
> 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 
>
>

Re: [OpenSIPS-Users] get_source_group not working

2010-07-20 Thread Wesley Volcov
Hey Bogdan,

See my log file:

Jul 19 13:04:45 opensips /usr/local/sbin/opensips[24759]: RouteAccounting:
route accounting
Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
INFO:core:handle_sigs: child process 24758 exited by a signal 11
Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
INFO:core:handle_sigs: core was generated
Jul 19 13:04:46 opensips /usr/local/sbin/opensips[24756]:
INFO:core:handle_sigs: terminating due to SIGCHLD

In my main route script, the next step after route accounting is the
route_authenticate. that contains the check_source_address function.

Follow my route_authenticate:
route[ROUTE_AUTHENTICATE] {
  if (check_source_address("0","$avp(i:9)")) {
xlog("$avp(i:9)");
}

Regards,

On 20 July 2010 08:33, Bogdan-Andrei Iancu  wrote:

> Hi Wesley,
>
> The first frames of the core are bogus ... :(...the crash happens in the
> "check_ip_address" function because the name param is empty, but I cannot
> see where it is called from , to identify the bug.
>
> Are you sure the crash is triggered by "check_source_address" function ?
>
> Regards,
> Bogdan
>
> Wesley Volcov wrote:
>
>> Andrew,
>>
>> I'he downgrade my opensips to 1.6.2 version and the error gone! It just
>> occur with the svn version.
>> Follow my coredump:
>> warning: exec file is newer than core file.
>> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
>> found)...done.
>> Loaded symbols for /lib/ld-linux.so.2
>> Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid
>> -m 1024 -u root -g root'.
>> Program terminated with signal 11, Segmentation fault.
>> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
>> proto=0, resolver=0) at resolve.c:100
>> 100 if ((ip->af==AF_INET6) &&
>>
>> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
>> proto=0, resolver=0) at resolve.c:100
>>he = 
>>__FUNCTION__ = "check_ip_address"
>> #1  0x004a461e in ?? ()
>> No symbol table info available.
>> #2  0xbfb5fc78 in ?? ()
>> No symbol table info available.
>> #3  0x in ?? ()
>> No symbol table info available.
>>
>> In this core, I had deleted the get_source_group function, but it crashed
>> with check_source_address function. When I downgraded my opensips this error
>> did not happen again.
>>
>> Cheers
>>
>> On 19 July 2010 11:49, Andrew Pogrebennyk <
>> andrew.pogreben...@portaone.com >
>> wrote:
>>
>>Wesley,
>>
>>May be. I can suggest three things here:
>>
>>1) try to run svn update again, recompile opensips and see if the
>>problem goes away
>>2) set debug=6 and send us the log before moment of crash
>>3) if you get a coredump file, get a bracktrace from it and post
>>it here
>>
>>Hope this helps.
>>
>>
>>On 19.07.2010 17:43, Wesley Volcov wrote:
>>
>>Andrew,
>>
>>I'm using like the documentations says:
>>
>>if ( get_source_group("$var(group)") ) {
>># do something with $var(group)
>>xlog("group is $var(group)\n");
>>};
>>
>>I have deleted this lines and the error continue... Can it be
>>a bug
>>version ?
>>
>>
>>-- Sincerely,
>>Andrew Pogrebennyk
>>
>>
>>
>>
>> --
>> Wesley Volcov
>> Email: wesleyvol...@gmail.com 
>> Messenger: vol...@live.com 
>>
>> Mobile: +55 11 9989-5348
>> Website: http://volcov.blogspot.com
>> 
>>
>> ___
>> 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
>
>


-- 
Wesley Volcov
Email: wesleyvol...@gmail.com
Messenger: vol...@live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] get_source_group not working

2010-07-20 Thread Bogdan-Andrei Iancu
Hi Wesley,

The first frames of the core are bogus ... :(...the crash happens in the 
"check_ip_address" function because the name param is empty, but I 
cannot see where it is called from , to identify the bug.

Are you sure the crash is triggered by "check_source_address" function ?

Regards,
Bogdan

Wesley Volcov wrote:
> Andrew,
>
> I'he downgrade my opensips to 1.6.2 version and the error gone! It 
> just occur with the svn version.
> Follow my coredump:
> warning: exec file is newer than core file.
> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols 
> found)...done.
> Loaded symbols for /lib/ld-linux.so.2
> Core was generated by `/usr/local/sbin/opensips -P 
> /var/run/opensips.pid -m 1024 -u root -g root'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0, 
> proto=0, resolver=0) at resolve.c:100
> 100 if ((ip->af==AF_INET6) &&
>
> #0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0, 
> proto=0, resolver=0) at resolve.c:100
> he = 
> __FUNCTION__ = "check_ip_address"
> #1  0x004a461e in ?? ()
> No symbol table info available.
> #2  0xbfb5fc78 in ?? ()
> No symbol table info available.
> #3  0x in ?? ()
> No symbol table info available.
>
> In this core, I had deleted the get_source_group function, but it 
> crashed with check_source_address function. When I downgraded my 
> opensips this error did not happen again.
>
> Cheers
>
> On 19 July 2010 11:49, Andrew Pogrebennyk 
>  > wrote:
>
> Wesley,
>
> May be. I can suggest three things here:
>
> 1) try to run svn update again, recompile opensips and see if the
> problem goes away
> 2) set debug=6 and send us the log before moment of crash
> 3) if you get a coredump file, get a bracktrace from it and post
> it here
>
> Hope this helps.
>
>
> On 19.07.2010 17:43, Wesley Volcov wrote:
>
> Andrew,
>
> I'm using like the documentations says:
>
> if ( get_source_group("$var(group)") ) {
> # do something with $var(group)
> xlog("group is $var(group)\n");
> };
>
> I have deleted this lines and the error continue... Can it be
> a bug
> version ?
>
>
> -- 
> Sincerely,
> Andrew Pogrebennyk
>
>
>
>
> -- 
> Wesley Volcov
> Email: wesleyvol...@gmail.com 
> Messenger: vol...@live.com 
> Mobile: +55 11 9989-5348
> Website: http://volcov.blogspot.com
> 
>
> ___
> 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


Re: [OpenSIPS-Users] get_source_group not working

2010-07-19 Thread Wesley Volcov
Andrew,

I'he downgrade my opensips to 1.6.2 version and the error gone! It just
occur with the svn version.
Follow my coredump:
warning: exec file is newer than core file.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m
1024 -u root -g root'.
Program terminated with signal 11, Segmentation fault.
#0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
proto=0, resolver=0) at resolve.c:100
100 if ((ip->af==AF_INET6) &&

#0  0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
proto=0, resolver=0) at resolve.c:100
he = 
__FUNCTION__ = "check_ip_address"
#1  0x004a461e in ?? ()
No symbol table info available.
#2  0xbfb5fc78 in ?? ()
No symbol table info available.
#3  0x in ?? ()
No symbol table info available.

In this core, I had deleted the get_source_group function, but it crashed
with check_source_address function. When I downgraded my opensips this error
did not happen again.

Cheers

On 19 July 2010 11:49, Andrew Pogrebennyk
wrote:

> Wesley,
>
> May be. I can suggest three things here:
>
> 1) try to run svn update again, recompile opensips and see if the problem
> goes away
> 2) set debug=6 and send us the log before moment of crash
> 3) if you get a coredump file, get a bracktrace from it and post it here
>
> Hope this helps.
>
>
> On 19.07.2010 17:43, Wesley Volcov wrote:
>
>> Andrew,
>>
>> I'm using like the documentations says:
>>
>> if ( get_source_group("$var(group)") ) {
>> # do something with $var(group)
>> xlog("group is $var(group)\n");
>> };
>>
>> I have deleted this lines and the error continue... Can it be a bug
>> version ?
>>
>
> --
> Sincerely,
> Andrew Pogrebennyk
>



-- 
Wesley Volcov
Email: wesleyvol...@gmail.com
Messenger: vol...@live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] get_source_group not working

2010-07-19 Thread Andrew Pogrebennyk
Wesley,

May be. I can suggest three things here:

1) try to run svn update again, recompile opensips and see if the 
problem goes away
2) set debug=6 and send us the log before moment of crash
3) if you get a coredump file, get a bracktrace from it and post it here

Hope this helps.

On 19.07.2010 17:43, Wesley Volcov wrote:
> Andrew,
>
> I'm using like the documentations says:
>
> if ( get_source_group("$var(group)") ) {
> # do something with $var(group)
> xlog("group is $var(group)\n");
> };
>
> I have deleted this lines and the error continue... Can it be a bug
> version ?

-- 
Sincerely,
Andrew Pogrebennyk

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


Re: [OpenSIPS-Users] get_source_group not working

2010-07-19 Thread Wesley Volcov
Andrew,

I'm using like the documentations says:

if ( get_source_group("$var(group)") ) {
# do something with $var(group)
xlog("group is $var(group)\n");
};

I have deleted this lines and the error continue... Can it be a bug version
?


On 19 July 2010 11:25, Andrew Pogrebennyk
wrote:

> Wesley,
> Are you using the new style of calling this function:
> get_source_group("$var(x)") ?
>
>
> On 19.07.2010 17:09, Wesley Volcov wrote:
>
>> 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!
>>
>
> --
> Sincerely,
> Andrew Pogrebennyk
>



-- 
Wesley Volcov
Email: wesleyvol...@gmail.com
Messenger: vol...@live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] get_source_group not working

2010-07-19 Thread Andrew Pogrebennyk
Wesley,
Are you using the new style of calling this function: 
get_source_group("$var(x)") ?

On 19.07.2010 17:09, Wesley Volcov wrote:
> 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!

-- 
Sincerely,
Andrew Pogrebennyk

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


Re: [OpenSIPS-Users] get_source_group not working

2010-07-19 Thread Wesley Volcov
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  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@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
>



-- 
Wesley Volcov
Email: wesleyvol...@gmail.com
Messenger: vol...@live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] get_source_group not working

2010-07-16 Thread Bogdan-Andrei Iancu
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