<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 Isaac,<br>
<br>
On 5/31/13 11:55 PM, Isaac A. McDonald wrote:<br>
</div>
<blockquote
cite="mid:f5ff4e2db4e943b2aaac665d38b22985@LEVITRA.AD.DEFIANCEDC.COM"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (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:0in;
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.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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">Hello All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m a bit confused as to how Siremis
interacts with Kamailio. From what I understand, the dial-plan
is done in the kamailio.cfg with regex statements and requires
a restart of the Kamailio process to take effect. How then
does Siremis change the dial-plan in Kamailio without writing
re-writing the config?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m assuming Siremis is merely writing to a
MySQL database and some additional code is required in the
kamailio.cfg in order to be able to use the dial-plan
functionality of Siremis?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What must I change in the kamailio.cfg to
be able to use Siremis for dial-plan modification?</p>
</div>
</blockquote>
You can build the routing logic statically in kamailio configuration
file. But in many cases you can use a module that loads the routing
rules from database. It is where siremis can help, by managing those
rules in database. Then you can send a MI/RPC command to kamailio to
tell to a module to load its rules from database, without need to
restart.<br>
<br>
For example, pdt module, it loads its rules to translate a prefix to
a domain from pdt table at startup. If you change something in
database, then you can send a command using kamctl to reload all the
rules from database. The configuration file is not affected at all
by such operations.<br>
<br>
Regards,<br>
Ramona<br>
</body>
</html>