aptitude install flex
bison
En su version original lo he probado en centos y debian solo cambien el apt por yum
touch /usr/include/linux/compiler.h
Instalar PWLIB:
cd /usr/src
wget
http://ufpr.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_10_3-src-tar.gztar zxvf pwlib-v1_10_3-src-tar.gz
cd pwlib_v1_10_3/
./configure
make
make install
make opt
PWLIBDIR=/usr/src/pwlib_v1_10_3
export PWLIBDIR
Instalar OPENH323:
cd /usr/src
wget
http://ufpr.dl.sourceforge.net/sourceforge/openh323/openh323-v1_18_0-src-tar.gztar zxvf openh323-v1_18_0-src-tar.gz
cd openh323_v1_18_0/
./configure
make
make opt
make install
OPENH323DIR=/usr/src/openh323_v1_18_0/
export OPENH323DIR
Instalar
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
make
make install
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
El archivo de configuracion /etc/asterisk/h323.conf :
[general]
port = 1720
bindaddr = 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 GK
gatekeeper = DISABLE
;
;
;AllowGKRouted = yes
;
;context=from-internal
;
[307]
type=friend
host=192.168.249.52
context=from-internal
;incominglimit=4
[308]
type=friend
host=192.168.249.52
context=from-internal
;incominglimit=4
Finalmente cargamos chan_h323.so en asterisk desde la consola:
asterisk -rvvvv
module load chan_h323.so
En 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 entrada
WWWW.ALOMUNDO.CO
No hay comentarios:
Publicar un comentario