<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Consolas;
panose-1:2 11 6 9 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;
color:black;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.pln
{mso-style-name:pln;}
span.pun
{mso-style-name:pun;}
span.kwd
{mso-style-name:kwd;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:872765161;
mso-list-type:hybrid;
mso-list-template-ids:-521606796 -205634102 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1
{mso-list-id:2000301146;
mso-list-type:hybrid;
mso-list-template-ids:39337402 -2044424638 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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 bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext'>A few remarks on installing opensips-cli : <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>pip3 install mysqlclient sqlalchemy sqlalchemy-utils<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Collecting mysqlclient<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> Downloading https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz (85kB)<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> 100% |</span><span style='font-family:"Arial",sans-serif;color:windowtext'>████████████████████████████████</span><span style='color:windowtext'>| 92kB 4.2MB/s <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> Complete output from command python setup.py egg_info:<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> File "<string>", line 1, in <module><o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> ImportError: No module named 'setuptools'<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='color:windowtext;margin-left:0in;mso-list:l0 level1 lfo2'>apt install python-setuptools fixes this <o:p></o:p></li></ul><p class=MsoListParagraph><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Next error : invalid command bdist-wheel <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='color:windowtext;margin-left:0in;mso-list:l1 level1 lfo1'>Pip3 install wheel fixes this. <o:p></o:p></li></ul><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Next, <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> MySQLdb/_mysql.c:37:20: fatal error: Python.h: No such file or directory<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> #include "Python.h"<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> ^<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> compilation terminated.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;font-family:Wingdings;color:windowtext'><span style='mso-list:Ignore'>ð<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>apt-get install python3-dev fixes this. <o:p></o:p></span></p><p class=MsoListParagraph><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>While installing opensips-cli : there seems to be a hard coded dependency to sqlalchemy 1.3.3 : <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Installed /usr/local/lib/python3.5/dist-packages/opensipscli-0.1-py3.5.egg<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Processing dependencies for opensipscli==0.1<o:p></o:p></span></p><p class=MsoNormal><i><span style='color:windowtext'>Searching for sqlalchemy==1.3.3<o:p></o:p></span></i></p><p class=MsoNormal><span style='color:windowtext'>Reading https://pypi.org/simple/sqlalchemy/<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>^Cinterrupted<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>My installed version is 1.3.4 <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Installing collected packages: mysqlclient, sqlalchemy, six, sqlalchemy-utils<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Successfully installed mysqlclient-1.4.2.post1 six-1.12.0 sqlalchemy-1.3.4 sqlalchemy-utils-0.34.0<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='color:windowtext;margin-left:0in;mso-list:l1 level1 lfo1'>pip3 uninstall sqlalchemy followed by pip3 install sqlalchemy==1.3.3<o:p></o:p></li></ul><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='color:windowtext'>From:</span></b><span style='color:windowtext'> Bogdan-Andrei Iancu <bogdan@opensips.org> <br><b>Sent:</b> Wednesday, June 12, 2019 11:06 AM<br><b>To:</b> Johan De Clercq <Johan@democon.be><br><b>Cc:</b> OpenSIPS users mailling list <users@lists.opensips.org>; Liviu Chircu <liviu@opensips.org><br><b>Subject:</b> Re: [OpenSIPS-Users] problem with git branch for opensips 3.0<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>You are right, the doc is missing the "migrate" part. Liviu will update the docs there.</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>Thanks for the note !</tt><br><br><tt>Regards,</tt><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre>OpenSIPS Summit 2019<o:p></o:p></pre><pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre><div><p class=MsoNormal>On 06/12/2019 11:29 AM, Johan De Clercq wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal>Looking here <a href="https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md">https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md</a>, <o:p></o:p></p></div><div><p class=MsoNormal>I can't find back how to migrate a 24 db to 30. Can you have a look ?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks. <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Op wo 12 jun. 2019 om 10:26 schreef Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal><tt><span style='font-size:10.0pt'>Hi Johan,</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>The git contains good docs for the cli tool - if there is something you find as uncovered, please let us know.</tt><br><br><tt>Regards,</tt><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre>OpenSIPS Summit 2019<o:p></o:p></pre><pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre><div><p class=MsoNormal>On 06/12/2019 10:31 AM, Johan De Clercq wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Okay. <o:p></o:p></p><div><p class=MsoNormal>So is there somewhere good documentation on this? In exact, how do I configure this, and how do I migrate 24 dB to opensips 30? <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, 12 Jun 2019, 09:25 vasilevalex, <<a href="mailto:alexei.vasilyev@gmail.com" target="_blank">alexei.vasilyev@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Hi, Johan.<br><br>Everything ok with git.<br>Just check this commit: 8a7abc05195fb4a29d5439871d7691c090c60d32<br>(<a href="https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32" target="_blank">https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32</a>)<br><br><br><br><br>-----<br>---<br>Alexey Vasilyev<br>--<br>Sent from: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html</a><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><o:p></o:p></pre><pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></blockquote></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>