bah le sujet parle de h323 non ;)
Version imprimable
bah le sujet parle de h323 non ;)
Autant pour moi, j'avais modifié mon extensino.conf entre temp, à cet instan voici mes fichiers de config avec toujours la même erreur:
extension.conf
Code:[internal]
exten => 500,1,dial(DAHDI/1,30,tr)
exten => 500,2,echo()
exten => 501,1,dial(DAHDI/2,30,tr)
exten => 501,2,echo()
exten => 502,1,dial(DAHDI/3,30,tr)
exten => 502,2,echo()
[internal]
exten => 1000,1,dial(SIP/1000,30,tr)
[internal]
exten => 2000,1,dial(OOH323/2000,20,tr)
h323.confCode:[channels]
language=fr
[general]
port=1720
h323id=ObjSysAsterisk
callerid=asterisk
gateway=no
context=default
disallow=all
allow=ulaw
dtmfmode=rfc2833
[2000]
type=friend
context=internal
ip=192.168.1.12
dtmfmode=rfc2833
e164=2000
H323ID=2000
disallow=all
allow=ulaw
allow=gsm
dtmfmode=h245signal
secret=2000
Code:[general]
port=1720
h323id=ObjSysAsterisk
callerid=asterisk
gateway=no
context=default
disallow=all
allow=ulaw
dtmfmode=rfc2833
[2000]
type=friend
context=internal
ip=192.168.1.12
dtmfmode=rfc2833
e164=2000
H323ID=2000
disallow=all
allow=ulaw
allow=gsm
dtmfmode=h245signal
secret=2000
Je n'ai pas le H323 pourtant je l'ai bien installé...Code:core show channeltypes
Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
USTM UNISTIM Channel Driver no yes no
Console OSS Console Channel Driver no yes no
Phone Standard Linux Telephony API Driver no yes no
Skinny Skinny Client Control Protocol (Skinny) yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Local Local Proxy Channel Driver yes yes no
MulticastR Multicast RTP Paging Channel Driver no no no
Bridge Bridge Interaction Channel no no no
DAHDI DAHDI Telephony Driver w/PRI yes yes no
Agent Call Agent Proxy Channel yes yes no
Je n'ai pas fait de make clean avant de faire make menuselect...
c'eest peut etre le problème?
tu as coché le channel ooh323 dans le make menuconfig ?
En passant quelle version d'Asterisk, moi j'ai fait avec 1.8, si 1.6 ou 1.4 il faut installer les addons.
Oui j'ai bien coché ooh323 et lorsque je refait make menuselect j'ai bien [x]coché
je suis avec asterisk-1.8.3
Dans la CLI :
module load chan_ooh323.so
C'est quoi le résultat ? As-tu comme indiqué avant renomé ton fichier chan_ooh323.conf en ooh323.conf.
Clairement ton module n'est pas chargé.
Aussi un ls /var/lib/asterisk/modules/*h323*
Code:module load chan_ooh323.so
Unable to load module chan_ooh323.so
Command 'module load chan_ooh323.so ' failed.
[Mar 25 20:52:41] WARNING[2994]: loader.c:829 load_resource: Module 'chan.so' already exists.
Pour l'autre question, je n'ai pas de /var/lib/asterisk/modules...
J'ai renomé mon chan_ooh323.conf et j'ai bien le module h323 qui apaprait lors d'un core show channeltypes
lorsque je compose le numéro "2000"
voici maintenant les erreurs:
En faite maintenant mes seul fichiers de config que je dois touché sont le ooh323.conf ( anciennement chan_ooh323.conf) puis mon extension.confCode:
Executing [2000@internal:1] Dial("DAHDI/2-1", "OOH323/2000,20,tr") in new stack
[Mar 25 21:44:37] ERROR[2966]: chan_ooh323.c:481 ooh323_alloc: Invalid OOH323 driver ip address
[Mar 25 21:44:37] WARNING[2966]: chan_ooh323.c:580 ooh323_request: Unable to build pvt data for '2000'
[Mar 25 21:44:37] WARNING[2966]: app_dial.c:2039 dial_exec_full: Unable to create channel of type 'OOH323' (cause 0 - Unknown)