PDA

Voir la version complète : asterisk +sip<--->h323



nelly
24/10/2010, 20h29
bonjour j sui nelly, nouvelle sur le forum
sur le serveur asterisk, j'ai configuré deux domaines distincts dans lesfichiers sip.conf et h323.coonf respectivement, j voudrais now pouvoir passer les appels sip<---->h323, certainemen j n'ai pas la cbonne configuration puisque j reçois un message d'erreur
au fait j'ai ausssi des pb pr les appels sip<--->sip , je reçois ce message:

== Using SIP RTP CoS mark 5
-- Executing [100@international:1] Answer("SIP/300-0000001a", "") in new stack
-- Executing [100@international:2] Dial("SIP/300-0000001a", "SIP/100,30,tr") in new stack
== Using SIP RTP CoS mark 5
[Oct 10 12:54:06] WARNING[3654]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [100@international:3] Hangup("SIP/300-0000001a", "") in new stack
== Spawn extension (international, 100, 3) exited non-zero on 'SIP/300-0000001a'

mon fichier sip.conf est le suivant:
pour le client [100]
[100]
username=100
context=international
callerid="100" <100>
type=friend
host=dynamic
dtmfmode=rfc2833
secret=100

pour le client [300]

[300]
username=300
context=international
callerid="300" <300>
type=friend
host=dynamic
dtmfmode=rfc2833
secret=300


et dans le extensions.conf:
[international]
;
; Master context for international long distance
;
ignorepat => 9
include => longdistance
include => trunkint


exten => 100,1,Answer()
exten => 100,2,Dial(SIP/100,30,tr)
exten => 100,3,Hangup()

pareil pour le client [300]



et pour les clients h323.conf:

[101]
type=friend
host=dynamic
username=101
callerid="101" <101>
context=default
H323ID=101
dtmfmode=2833
secret=101


pareil pr le client [301]
et dans la section default de extensions.conf j'ai effectué:

exten => 101,1,Answer()
exten => 101,2,Dial(H323/101@192.168.0.2,30,tr)
exten => 101,3,Hangup()

pareil pr le client [301]

pour les appels h323<--->h323 j'ai le message suivant:
== Using SIP RTP CoS mark 5
[Oct 10 12:59:08] NOTICE[3522]: chan_sip.c:14135 check_user_full: From address missing 'sip:', using it anyway
-- Executing [101@default:1] Answer("SIP/-0000001d", "") in new stack
-- Executing [101@default:2] Dial("SIP/-0000001d", "H323/101@192.168.0.2,30,tr") in new stack
[Oct 10 12:59:08] WARNING[3697]: channel.c:4003 ast_request: No channel type registered for 'H323'
[Oct 10 12:59:08] WARNING[3697]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'H323' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [101@default:3] Hangup("SIP/-0000001d", "") in new stack
== Spawn extension (default, 101, 3) exited non-zero on 'SIP/-0000001d'

j'ai la même erreur pr las appels mixtes sip--h323
en outre tous les appels me^me mixtes passent sur le serveur
svp veuillez m'indiquer mes erreurs, et comment les corriger, merci