<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;
text-align:left;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
h2
{mso-style-priority:9;
mso-style-link:"Titre 2 Car";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:9.0pt;
margin-left:0cm;
text-align:left;
line-height:25.5pt;
font-size:19.5pt;
font-family:"Helvetica",sans-serif;
color:#6B5344;
font-weight:normal;
font-style:italic;}
h3
{mso-style-priority:9;
mso-style-link:"Titre 3 Car";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:9.0pt;
margin-left:0cm;
text-align:left;
line-height:21.0pt;
font-size:15.0pt;
font-family:"Helvetica",sans-serif;
color:#6B5344;
font-weight:normal;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
text-align:justify;
font-size:12.0pt;
font-family:"Helvetica",sans-serif;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
text-align:left;
font-size:10.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
text-align:left;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.Titre2Car
{mso-style-name:"Titre 2 Car";
mso-style-priority:9;
mso-style-link:"Titre 2";
font-family:"Helvetica",sans-serif;
color:#6B5344;
mso-fareast-language:FR;
font-style:italic;}
span.Titre3Car
{mso-style-name:"Titre 3 Car";
mso-style-priority:9;
mso-style-link:"Titre 3";
font-family:"Helvetica",sans-serif;
color:#6B5344;
mso-fareast-language:FR;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";
mso-fareast-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:314341587;
mso-list-template-ids:-227912884;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>This may help : <a href="http://www.kamailio.org/docs/modules/5.0.x/modules/cplc.html#cpl.r.load">http://www.kamailio.org/docs/modules/5.0.x/modules/cplc.html#cpl.r.load</a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:37.5pt;margin-bottom:9.0pt;margin-left:37.5pt;line-height:25.5pt'><i><span lang=EN-US style='font-size:19.5pt;font-family:"Helvetica",sans-serif;color:#6B5344'>5. RPC Commands<o:p></o:p></span></i></p><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:37.5pt;margin-bottom:9.0pt;margin-left:37.5pt;line-height:21.0pt'><b><i><span lang=EN-US style='font-size:15.0pt;font-family:"Helvetica",sans-serif;color:#6B5344'>5.1. cpl.load<o:p></o:p></span></i></b></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:37.5pt;text-align:justify'><span lang=EN-US style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>For the given user, loads the XML cpl file, compiles it into binary format and stores both format into database. <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:37.5pt;text-align:justify'><span style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>Name: <i>cpl.load</i> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:37.5pt;text-align:justify'><span style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>Parameters:<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:73.5pt;text-align:justify;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;font-family:Symbol;color:black'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>username : name of the user<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:73.5pt;text-align:justify;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;font-family:Symbol;color:black'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>cpl_filename: file name <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:37.5pt;mso-margin-bottom-alt:auto;margin-left:37.5pt;text-align:justify'><span style='font-size:11.5pt;font-family:"Helvetica",sans-serif;color:black'>RPC Command format: <o:p></o:p></span></p><div style='mso-element:para-border-div;border:solid #99CCCC 1.0pt;padding:0cm 0cm 0cm 15.0pt;background:#FCFFFC;margin-left:37.5pt;margin-right:37.5pt'><p class=MsoNormal style='background:#FCFFFC;border:none;padding:0cm'><span style='font-size:10.0pt;font-family:"Courier New";color:black'>...<o:p></o:p></span></p><p class=MsoNormal style='background:#FCFFFC;border:none;padding:0cm'><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>kamcmd cpl.load username cpl_filename<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Cordialement<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Patrick GINHOUX</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>De :</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> sr-users [mailto:sr-users-bounces@lists.kamailio.org] <b>De la part de</b> frédéric Gaisnon<br><b>Envoyé :</b> mercredi 21 juin 2017 16:17<br><b>À :</b> sr-users@lists.kamailio.org<br><b>Objet :</b> [SR-Users] cpl.load<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>In latest kamailio version "cpl.load" command is obsolete. What is the procedure to import CPL into mysql database?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Frédéric Gaisnon<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>