<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<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;}
@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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.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:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.text-cell
        {mso-style-name:text-cell;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span class=text-cell>I’m trying to use the Dialplan
module to strip the prefix of my calls. <o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>On the database I have. <o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell><o:p> </o:p></span></p>
<p class=MsoNormal><span class=text-cell>Dpid = 1<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Pr = 0<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>match_op = 1<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>match_exp = ^4224+<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>match_len = 0<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>subst_exp = ^(<b>4224</b>)(.+) </span><br>
<span class=text-cell>repl_exp = \4<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell><o:p> </o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: INFO:dialog:mod_init: Dialog module - initializing<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: INFO:dialplan:mod_init: initializing module...<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: ERROR:dialplan:build_rule: repl_exp uses a non
existing subexpression<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: ERROR:dialplan:init_db_data: failed to load database
data<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: ERROR:dialplan:mod_init: could not initialize data<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: ERROR:core:init_mod: failed to initialize module
dialplan<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell>Oct 15 17:25:32 RouteMe
/usr/sbin/opensips[30516]: ERROR:core:main: error while initializing modules<o:p></o:p></span></p>
<p class=MsoNormal><span class=text-cell><o:p> </o:p></span></p>
<p class=MsoNormal><span class=text-cell><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in'>Thanks <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in'><span lang=ES style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:navy'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><o:p></o:p></p>
</div>
</body>
</html>