aptitude install flex
bisonEn su version original lo he probado en centos y debian solo cambien el apt por yum
touch /usr/include/linux/compiler.hInstalar PWLIB:
cd /usr/srcwget
http://ufpr.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_10_3-src-tar.gztar zxvf pwlib-v1_10_3-src-tar.gzcd pwlib_v1_10_3/./configuremakemake installmake optPWLIBDIR=/usr/src/pwlib_v1_10_3export PWLIBDIRInstalar OPENH323:
cd /usr/srcwget http://ufpr.dl.sourceforge.net/sourceforge/openh323/openh323-v1_18_0-src-tar.gztar zxvf openh323-v1_18_0-src-tar.gzcd openh323_v1_18_0/./configuremakemake optmake installOPENH323DIR=/usr/src/openh323_v1_18_0/export OPENH323DIRInstalar
chan_h323.so :
cd
/usr/src/asterisk
./configure
cd
/usr/src/asterisk/channels/h323/
cd
/usr/src/asterisk/channels/h323/
make
make
opt
cd
/usr/src/asterisk
./configure
makemake installecho "/usr/local/lib" >> /etc/ld.so.confldconfigEl archivo de configuracion /etc/asterisk/h323.conf :
[general]port = 1720bindaddr = 0.0.0.0;;amaflags = default;allow=all ; turns on all installed codecs;; valid entries are: rfc2833, inband; default is rfc2833;dtmfmode=rfc2833;; Set the gatekeeper; DISCOVER - Find the Gk address using multicast; DISABLE - Disable the use of a GK; or - The acutal IP address or hostname of your GKgatekeeper = DISABLE;;;AllowGKRouted = yes;;context=from-internal;[307]type=friendhost=192.168.249.52context=from-internal;incominglimit=4 [308]type=friendhost=192.168.249.52context=from-internal;incominglimit=4Finalmente cargamos chan_h323.so en asterisk desde la consola:
asterisk -rvvvvmodule load chan_h323.soEn este archivo colocan los provedores o telefonos para que den de alta en el sistema , no olvidar los contextos que usan para poder usar salida y entradaWWWW.ALOMUNDO.CO
No hay comentarios:
Publicar un comentario