<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Sven,<br>
<br>
I've tried exactly your example. It worked for me.<br>
Please take the last version of opensips-cp from svn trunk. Maybe that
will work for you.<br>
<br>
Regards,<br>
Alex<br>
On 6/4/2010 16:12, Sven Schulz wrote:
<blockquote cite="mid:C82E73EC.1C085%25svens@psu.edu" type="cite">
<title>Re: [OpenSIPS-Users] Opensips-cp Dialplan Problem</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">For example, if I use control panel cp to add
a new rule:<br>
<br>
DialplanID = 0<br>
Rule Priority = 1<br>
Matching Operator=1<br>
Matching reg exp= ^(2|3|5|7)[0-9]{4}<br>
Matching str len=0<br>
Subst Reg Exp= (^(2|3|5|7)[0-9]{4})<br>
Repl Reg Exp=181486\1<br>
Attr= I leave this blank unchecked<br>
<br>
Then the webpage doesn’t give any errors and creates the rule like this:<br>
<br>
DialplanID = 0<br>
Rule Priority = 1<br>
Matching Operator=1<br>
Matching reg exp=<br>
Matching str len=0<br>
Subst Reg Exp= <br>
Repl Reg Exp=<br>
Attr= <br>
<br>
Then I hit apply changes to do a dp_reload and the box segfaults.<br>
<br>
Im running Centos5.4 64 bit and using cp version 4.0<br>
<br>
<br>
<br>
<br>
On 6/4/10 5:53 AM, "Alex Ionescu" <<a moz-do-not-send="true"
href="alex@opensips.org">alex@opensips.org</a>> wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Hi Sven,<br>
<br>
I have tested the latest version of CP (taken from SVN). <br>
I've inserted a few rules, and it worked just fine. All the fields were
populated. <br>
Can you be more specific please ? <br>
<br>
Regards,<br>
Alex<br>
On 6/3/2010 16:55, Sven Schulz wrote: <br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"> Opensips-cp Dialplan Problem Using
opensips-cp latest version from SVN.<br>
<br>
Whenever I use CP to insert a new rule, some of the fields arnt
populated. <br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
</span></font></blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<br>
<pre class="moz-signature" cols="72">--
Alex Ionescu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
</body>
</html>