[OpenSIPS-Users] opensips virtual machine live

Marco Grimandi marco.grimandi at klabs.it
Tue Apr 23 22:51:18 CEST 2013


Hi Alex, I tried to add a dialplan with 3[1-9][1-9] as a regex,  but the
field remained empty,  then I changed a mysql escape control inside the
file dialplan.add.php and now it's working.
Thank you for your interest
Best regards
Marco
Il giorno 23/apr/2013 10:15, "Alex Ionescu" <alex at opensips.org> ha scritto:

>  Hi Marco,
>
> Can you please tell me what are you trying to add ? Like give me an
> example so I can replicate your problem.
>
> Regards,
> Alex Ionescu
>
>
> On 04/22/2013 03:18 PM, Marco Grimandi wrote:
>
>  Hi all,****
>
> 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.*
> ***
>
> I looked at the error.log and this is the output:****
>
> ** **
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=modify&id=12
> ****
>
> [Mon Apr 22 13:22:05 2013] [error] [client 192.168.89.155] File does not
> exist: /var/www/favicon.ico****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0
> ****
>
> [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:
> http://192.168.89.230/cp/tools/system/dialplan/dialplan.php?action=add&clone=0
> ****
>
> [Mon Apr 22 13:22:17 2013] [error] [client 192.168.89.155] File does not
> exist: /var/www/favicon.ico****
>
> ** **
>
> Did someone find the same behavior?****
>
> Please help me!****
>
> Thank you****
>
> Best regards****
>
> Marco****
>
> ** **
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130423/0dba24e6/attachment.htm>


More information about the Users mailing list