返回列表 發帖
本帖最後由 bubblestar 於 2011-5-17 16:29 編輯

回復 89# ckleea


   
Great minds think alike.  

Your suggestion also just comes to my mind that I should re-compile chan_datacard.  The idea is originated from DAHDI.  I recall that whenever there are any new revisions in CentOS or Kernel updates, I have to re-compile dahdi once again or it cannot be recognized.  Will try it tonight after making backup.

TOP

互相合作最重要。

TOP

本帖最後由 bubblestar 於 2011-5-17 16:28 編輯

回復 90# ckleea


   
Very strange, just rename chan_datacard.so in /usr/lib/asterisk/modules has no effect and in vain.

What I am doing now to make it work is to:

1.  add a line "noload chan_datacard.so" in modules.conf under /etc/asterisk directory.
2.  (This is an important step) rename datacard.conf to datacard.disabled.conf under /etc/asterisk directory.
3.  chan_datacard.so in /usr/lib/asterisk/modules remained intact.

TOP

strange. change the modules name to an extension other than so will do.

TOP

Haha, agree with what you said.  So that why you describe it as "Strange" and I describe it as "Very strange".

TOP

回復 91# bubblestar


   
ckleea c-hing,

Glad to advise that our judgement is correct.  After re-compiling chan_datacard, it can now be recognized by latest Asterisk 1.8.4 without the need to disable any modules and config files .

I think that this also becomes our upgrading routine whenever new Asterisk release or CentOS, or Kernal update is made.

TOP

Not always. But some modules need recompiling.
E.g. connector to TTS e.g. espeak, etc

TOP

回復 96# bubblestar

Bubblestar,

What kind of packages you are downloading from asterisk?

Trunk or branches?

You may try my scripts

#get branch
svn co http://svn.asterisk.org/svn/asterisk/branches/1.8 asterisk-1.8
#get trunk
svn checkout http://svn.asterisk.org/svn/asterisk/trunk asterisk-1.8
cd asterisk-1.8
./configure
#this is ony for format MP3 - SVN required
contrib/scripts/get_mp3_source.sh
contrib/scripts/get_ilbc_source.sh
make menuselect
make

TOP

My update here: work as expected. No problem here.

May be you have not yet gained much experience in dealing with linux server.

do post your help here and see I can help.

TOP

Forgot to mention. My version number is

screenshot.4.png

TOP

回復 98# ckleea


I used wget method before.  This time, I choose the 1st one from branch exactly like what you have been doing as below.

   
#get branch
svn co http://svn.asterisk.org/svn/asterisk/branches/1.8 asterisk-1.8
cd asterisk-1.8
./configure
#this is ony for format MP3 - SVN required
contrib/scripts/get_mp3_source.sh
contrib/scripts/get_ilbc_source.sh
make menuselect
make
make install

TOP

回復 101# bubblestar


   
Maybe this is the first time that I use the svn method, therefore, I also used "make config" to get all the work done and succeeded.

TOP

回復 102# bubblestar


No worry. Just follow
./configure
make menuconfig
make


The other scripts are based on suggestion from YH to install iLBC codec.

TOP

In fact, the system has been set up properly and I don't have problem now including iLBC codec.  I think I have used the right method to compile this Asterisk 1.8.4 release with GUI 2.0 that I long for.

The only difference is that I use the SVN instead of wget in this update.

The original problem might be possibly arise from the transition of wget to SVN with which I have to do "make config" once again to let Asterisk read the code from the right place.

Anyway, thanks for your great help, CK.  

One thing that I want to point out is that the suggested http address to access GUI that appear in CLI after installation is WRONG.  It shows http://localhost:8088/asterisk/static/config/index.html (this is only valid for Asterisk 1.4).  The correct address should read http://localhost:8088/static/config/index.html.  I think this is one of the many reasons why some other people cannot enter into the GUI from browser.

TOP

回復 100# ckleea


My version is same as you.

gui version.png

TOP

返回列表