安裝 gcc
yum -y install gcc gcc-c++
yum -y install gcc gcc-c++
wget http://asterisk.hosting.lv/bin/codec_g723-ast14-gcc4-glibc-pentium4.so wget http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium4.so
asterisk -r module load codec_g723-ast14-gcc4-glibc-pentium4.so module load codec_g729-ast14-gcc4-glibc-pentium4.so module load chan_ooh323.so module load format_h263.so module load format_h264.so
vi /etc/asterisk/sip_general_custom.conf ; 加上 videosupport=yes allow=g729 allow=g723 allow=h263 allow=h263p allow=h264
vi /var/www/html/admin/modules/core/functions.inc.php // search ulaw, 將這兩行註解掉 (共有兩個地方) $core_conf->addSipGeneral('allow','ulaw'); $core_conf->addSipGeneral('allow','alaw');