[OpenSIPS-Users] OpenSips Control Panel error

2012-12-01 Thread Mimi Cafe

I configured opensips control panel on centos, and when I login, the
page does not load completely. In Apache log, I can see that it throws
out loads of php related error.

Any ideas?


[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined variable: resultset1 in
/var/www/html/opensips-cp/web/login.php on line 80, referer:
http://192.168.18.88/opensips-cp/web/
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined variable: resultset1 in
/var/www/html/opensips-cp/web/login.php on line 86, referer:
http://192.168.18.88/opensips-cp/web/
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP Warning:
date(): It is not safe to rely on the system's timezone settings. You
are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no
DST' instead in /var/www/html/opensips-cp/web/login.php on line 107,
referer: http://192.168.18.88/opensips-cp/web/
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP Warning:
date(): It is not safe to rely on the system's timezone settings. You
are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no
DST' instead in /var/www/html/opensips-cp/web/login.php on line 107,
referer: http://192.168.18.88/opensips-cp/web/
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] File does not
exist: /var/www/html/opensips-cp/web/<, referer:
http://192.168.18.88/opensips-cp/web/main.php
[Wed Nov 28 21:08:49 2012] [notice] caught SIGTERM, shutting down
[Wed Nov 28 21:08:49 2012] [notice] SELinux policy enabled; httpd
running as context unconfined_u:system_r:httpd_t:s0
[Wed Nov 28 21:08:49 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Wed Nov 28 21:08:49 2012] [notice] Digest: generating secret for digest
authentication ...
[Wed Nov 28 21:08:49 2012] [notice] Digest: done
[Wed Nov 28 21:08:50 2012] [notice] Apache/2.2.15 (Unix) DAV/2
mod_nss/2.2.15 NSS/3.13.1.0 Basic ECC PHP/5.3.3 mod_ssl/2.2.15
OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured --
resuming normal operations
[Wed Nov 28 21:09:01 2012] [error] [client 192.168.18.94] File does not
exist: /var/www/html/opensips-cp/web/<, referer:
http://192.168.18.88/opensips-cp/web/main.php
[Wed Nov 28 21:09:09 2012] [error] [client 192.168.18.94] PHP Parse
error:  syntax error, unexpected '}' in
/var/www/html/opensips-cp/web/tools/admin/list_admins/template/list_admins.main.php
on line 152, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: acl_username in
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
on line 28, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: acl_domain in
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
on line 29, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: acl_grp in
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
on line 30, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined variable: options in
/var/www/html/opensips-cp/web/tools/users/acl_management/lib/functions.inc.php
on line 95, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined variable: errors in
/var/www/html/opensips-cp/web/tools/users/acl_management/acl_management.php
on line 302, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined variable: errors in
/var/www/html/opensips-cp/web/tools/users/acl_management/acl_management.php
on line 302, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: username in
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
on line 28, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: alias_username in
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
on line 29, referer: http://192.168.18.88/opensips-cp/web/menu.php
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP Notice:
Undefined index: alias_domain in
/var/www

[OpenSIPS-Users] Cannot call due to 408 error

2012-12-01 Thread Akalanka De Silva
Hi all.

I am a newbie to OpenSIPS. I succeeded in installing it thanks to the
webinar 'OpenSIPS kickstart' in opensips.org. I have also installed the
OpenSIPS control panel and MySQL based authentication successfully. I was
able to register several SIP soft/hard phones and make calls successfully
as well (initially).
But after few minutes I cannot make calls between the phones. It returns a
408 error saying that the user cannot be found in time. The phones are
still registered but it seems that OpenSIPS has forgotten the location of
the phones. I checked in the MySQL database and it contains the URI s with
the IP addresses of each phone in the 'location' table.

But once a call attempt from one phone fails, immediately afterwards
(within 1 minute or so) I can call that phone (the phone which returned the
408 error) from another phone successfully.

Does OpenSIPS throw away the location info of a user after some time?
Please help


Thanks in Advance

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


Re: [OpenSIPS-Users] Cannot call due to 408 error

2012-12-01 Thread Mimi Cafe
Some SIP UAs don't auto send the awake signal to the proxy, so OpenSIPS 
may not know they are still available. perhaps you should check the SIP 
client configuration on the device/softphone to ensure "keep Awake mode" 
is selected.


While testing, I had 404 errors because  am conserving battery on the 
iphone.


On 01/12/2012 14:21, Akalanka De Silva wrote:

Hi all.

I am a newbie to OpenSIPS. I succeeded in installing it thanks to the 
webinar 'OpenSIPS kickstart' in opensips.org . I 
have also installed the OpenSIPS control panel and MySQL based 
authentication successfully. I was able to register several SIP 
soft/hard phones and make calls successfully as well (initially).
But after few minutes I cannot make calls between the phones. It 
returns a 408 error saying that the user cannot be found in time. The 
phones are still registered but it seems that OpenSIPS has forgotten 
the location of the phones. I checked in the MySQL database and it 
contains the URI s with the IP addresses of each phone in the 
'location' table.


But once a call attempt from one phone fails, immediately afterwards 
(within 1 minute or so) I can call that phone (the phone which 
returned the 408 error) from another phone successfully.


Does OpenSIPS throw away the location info of a user after some time? 
Please help



Thanks in Advance

Akalanka





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


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