<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Marco,<br>
<br>
Can you please tell me what are you trying to add ? Like give me
an example so I can replicate your problem.<br>
<br>
Regards,<br>
Alex Ionescu<br>
<br>
<br>
On 04/22/2013 03:18 PM, Marco Grimandi wrote:<br>
</div>
<blockquote
cite="mid:016301ce3f53$8b342950$a19c7bf0$@grimandi@klabs.it"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I downloaded the virtual
machine version of opensips 1.7 and when I try to add some
rules to the dialplan using the control panel I’m not able
to save any regular expression. All the time the regular
expression tab is empty.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I looked at the
error.log and this is the output:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
index: id in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 1, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: check_boxes in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 53, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: dpid in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 91, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: pr in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 97, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: match_exp in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 109, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: match_len in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 115, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: subst_exp in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 121, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
variable: repl_exp in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.add.php
on line 127, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:05
2013] [error] [client 192.168.89.155] File does not exist:
/var/www/favicon.ico<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:17
2013] [error] [client 192.168.89.155] PHP Warning:
mysql_real_escape_string() expects parameter 2 to be
resource, object given in
/var/www/opensips-cp/web/tools/system/dialplan/dialplan.php
on line 119, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:17
2013] [error] [client 192.168.89.155] PHP Notice: Undefined
index: dialplan_id in
/var/www/opensips-cp/web/tools/system/dialplan/template/dialplan.main.php
on line 28, referer:
<a class="moz-txt-link-freetext" href="http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0">http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Mon Apr 22 13:22:17
2013] [error] [client 192.168.89.155] File does not exist:
/var/www/favicon.ico<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Did someone find the
same behavior?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Please help me!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Marco<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>