<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"\0422\0435\043A\0441\0442 \0432\044B\043D\043E\0441\043A\0438 \0417\043D\0430\043A";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.a
        {mso-style-name:"\0422\0435\043A\0441\0442 \0432\044B\043D\043E\0441\043A\0438 \0417\043D\0430\043A";
        mso-style-priority:99;
        mso-style-link:"\0422\0435\043A\0441\0442 \0432\044B\043D\043E\0441\043A\0438";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:RU;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In my platform 5.0 opensips-cp the same php noticied and warning… cdr tools for examples not work with incorrect procedure includes on distrib…
or incorrect acc and cdrs table was create by sql scripts for cdrs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-----<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">С Уважением,<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Шавердов Герасим<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Системный Администратор<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">OCS Distribution
</span></b><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">РБЮ</span></b><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
</span></b><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Самара</span></b><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Почта</span></b><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">:
<a href="mailto:gshaverdov@ocs.ru"><span style="color:blue">gshaverdov@ocs.ru</span></a>,
<a href="mailto:gshaverdov@samara.ocs.ru"><span style="color:blue">gshaverdov@samara.ocs.ru</span></a><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Тел.: (846) 262-99-52(53-57), доб. 4850<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Icq: 91846275<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Skype:shaverdoff<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D"><img border="0" width="126" height="61" id="_x0420__x0438__x0441__x0443__x043d__x043e__x043a__x0020_1" src="cid:image001.jpg@01CEA96B.D048CD70" alt="Описание: Описание: cid:image002.jpg@01CB6B8D.75B8B0B0"></span><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org]
<b>On Behalf Of </b>mimicafe@gmail.com<br>
<b>Sent:</b> Wednesday, September 04, 2013 12:35 PM<br>
<b>To:</b> users@lists.opensips.org<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Opensip-cp: Undefined variable and index issue<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Is this a bug perhaps? I downloaded Opensips-cp from svn trunk, as I understand it normally resolves most problems, but I still see the "Undefined variable" filling up my log file. I am unsure which variables
are undefined and what else is required to fix this.<o:p></o:p></p>
</div>
<p class="MsoNormal">Any help appreciated.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 1 September 2013 22:35, <a href="mailto:mimicafe@gmail.com">
mimicafe@gmail.com</a> <<a href="mailto:mimicafe@gmail.com" target="_blank">mimicafe@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">Opensips-cp is running as expected, and I am wondering what these undefined variable and undefined index are about. If the variables are undefined, then why are we trying to use them? Or better, how do I resolve these issue?<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
[Sun Sep 01 16:08:02 2013] [warn] ./mod_dnssd.c: No services found to register<br>
[Sun Sep 01 16:08:02 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations<br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: arg_list in /var/www/opensips-cp/web/common/mi_comm.php on line 78, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined offset: 1 in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 101, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined offset: 1 in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 101, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] 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 'Europe/London' for 'BST/1.0/DST' instead in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 135, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 28, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 29, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_domain in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 30, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_type in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 31, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 107, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 107, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 142, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 142, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 305, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 305, referer:
<a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:53:13 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: arg_list in /v<br>
<br>
mysql.so and xmlrpc.so appear only once in the php.ini, however, I do see the warning below in httpd.log<br>
<br>
$ sudo egrep 'mysql.so|xmlrpc.so' /etc/php.ini<br>
extension=mysql.so<br>
extension=xmlrpc.so<br>
<br>
PHP Warning: Module 'mysql' already loaded in Unknown on line 0<br>
PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any help appreciated.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mimi<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>