in that instance is this
1 create a directory like /usr/local/src/asterisk/1.4-update
2 wget the matching version as indicated by "core show version"
3 extract the tar to the directory from step 1
4 run ./configure
5 run make menuselect
6 run make - DO NOT RUN make install
7 copy cdr_mysql.so to /usr/lib/asterisk/modules and load the module from
CLI
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of salaheddine
elharit
Sent: Monday, November 21, 2011 8:52 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] CDR mysql with asterisk 1.4
i try to run make menuselect without configure but he give me an error and
he tell me that i must run ./configure before launch make menuselect
i'm afraid if i launch ./configure and after make menuselet to lost all
configuration related to asterisk
BTW i can restart asterisk without issue
thanks for your response
2011/11/21 Ryan Wagoner <rswagoner at gmail.com>
On Mon, Nov 21, 2011 at 7:13 AM, salaheddine elharit
<salah.elharit200 at gmail.com> wrote:> hello list
>
>
>
> i have asterisk 1.4 installed and i want to use CDR mysql during the
> installation i didn't check the cdr mysql with make menuselect
>
>
>
> my question : i want to check this option now after the installtion and
> configuration of all options but he asks me to do. /configure before to
use> make menuselect
>
>
>
> i want to know if there any problem if i do. / configure and make
menuselect> to install cdr because this server is very important for me and i can't
stop> it
>
How did you initially install Asterisk? When compiling from source
./configure is the first step before you can run make. It shouldn't
prompt to run ./configure for make menuselect if you are just changing
some options from a previously compile and install.
If you were able to run make menuselect without configure you might be
able to load the module while Asterisk is running. You would copy the
cdr_mysql.so to the lib directory and run module load cdr_mysql.
However I would still plan this for after hours in case of an issue.
Ryan
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com
<http://www.api-digital.com/> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
------=_NextPart_000_00E8_01CCA82B.CC5D7A00
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft
Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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:12.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;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body
lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>From
what I read you are running a pre-compiled asterisk – what you can do
in that instance is this<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>1
create a directory like
/usr/local/src/asterisk/1.4-update<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2
wget the matching version as indicated by “core show
version”<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>3
extract the tar to the directory from step
1<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>4
run ./configure<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>5
run make menuselect<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>6
run make – DO NOT RUN make
install<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>7
copy cdr_mysql.so to /usr/lib/asterisk/modules and load the module from
CLI<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p
class=3DMsoNormal><b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at
lists.digium.com] <b>On Behalf Of </b>salaheddine
elharit<br><b>Sent:</b> Monday, November 21, 2011 8:52
AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial
Discussion<br><b>Subject:</b> Re: [asterisk-users] CDR mysql
with asterisk 1.4<o:p></o:p></span></p><p
class=3DMsoNormal><o:p> </o:p></p><div><div><p
class=3DMsoNormal>i try to run make menuselect without configure
but he give me an error and he tell me that i must run ./configure before launch
make menuselect <o:p></o:p></p></div><div><p
class=3DMsoNormal> <o:p></o:p></p></div><div><p
class=3DMsoNormal>i'm afraid if i launch ./configure and after make
menuselet to lost all configuration related to asterisk
<o:p></o:p></p></div><div><p
class=3DMsoNormal> <o:p></o:p></p></div><div><p
class=3DMsoNormal>BTW i can restart asterisk without
issue<o:p></o:p></p></div><div><p
class=3DMsoNormal> <o:p></o:p></p></div><div><p
class=3DMsoNormal style=3D'margin-bottom:12.0pt'>thanks for your
response<o:p></o:p></p></div><div><p
class=3DMsoNormal>2011/11/21 Ryan Wagoner <<a
href=3D"mailto:rswagoner at gmail.com">rswagoner at
gmail.com</a>><o:p></o:p></p><div><div><p
class=3DMsoNormal style=3D'margin-bottom:12.0pt'>On Mon, Nov 21, 2011
at 7:13 AM, salaheddine elharit<br><<a
href=3D"mailto:salah.elharit200 at gmail.com">salah.elharit200 at
gmail.com</a>> wrote:<br>> hello
list<br>><br>><br>><br>> i
have asterisk 1.4 installed and i want to use CDR mysql during
the<br>> installation i didn’t check the cdr mysql with
make
menuselect<br>><br>><br>><br>>
my question : i want to check this option now after the
installtion and<br>> configuration of all options but he asks me to
do. /configure before to use<br>> make
menuselect<br>><br>><br>><br>>
i want to know if there any problem if i do. / configure and make
menuselect<br>> to install cdr because this server is very
important for me and i can’t stop<br>>
it<br>><o:p></o:p></p></div></div><p
class=3DMsoNormal>How did you initially install Asterisk? When compiling from
source<br>./configure is the first step before you can run make. It
shouldn't<br>prompt to run ./configure for make menuselect if you are
just changing<br>some options from a previously compile and
install.<br><br>If you were able to run make menuselect without
configure you might be<br>able to load the module while Asterisk is
running. You would copy the<br>cdr_mysql.so to the lib directory and run
module load cdr_mysql.<br>However I would still plan this for after hours
in case of an issue.<br><span
style=3D'color:#888888'><br>Ryan</span><o:p></o:p></p><div><div><p
class=3DMsoNormal><br>--<br>_____________________________________________________________________<br>--
Bandwidth and Colocation Provided by <a
href=3D"http://www.api-digital.com/"
target=3D"_blank">http://www.api-digital.com</a>
--<br>New to Asterisk? Join us for a live introductory webinar every
Thurs:<br>
<a href=3D"http://www.asterisk.org/hello"
target=3D"_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users
mailing list<br>To UNSUBSCRIBE or update options
visit:<br> <a
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users"
target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p></div></div></div><p
class=3DMsoNormal><o:p> </o:p></p></div></div></body></html>
------=_NextPart_000_00E8_01CCA82B.CC5D7A00--