genos
14/06/2016, 13h48
Bonjour à tous,
Je tente actuellement d'installer asterisk sur un serveur. Jusqu'à présent j'y suis arrivé en suivant les tutoriels trouvé a droite a gauche, mais je rencontre un problème.
Lorsque j'établie une communication (en local) d'un téléphone IP a un autre, le téléphone appelant peut parler, mais pas entendre, et du téléphone appelé, on entend mais on ne peut pas parler...
Lorsque j'établie une communication j'ai une erreur 500 sur la console:
== Using SIP RTP CoS mark 5
-- Executing [9001@bureau:1] Dial("SIP/tel2-00000028", "SIP/tel1") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/tel1
-- SIP/tel1-00000029 is ringing
-- SIP/tel1-00000029 answered SIP/tel2-00000028
-- Channel SIP/tel1-00000028 joined 'simple_bridge' basic-bridge <3c3128f5-[...]>
-- Channel SIP/tel2-00000029 joined 'simple_bridge' basic-bridge <3c3128f5-[...]>
-- Got SIP response 500 "Internal Server Error" back from 192.168.0.11:5060
-- Channel SIP/tel2 left 'native_rtp' basic-bridge <3c3128f5-[...]>
-- Channel SIP/tel1 left 'native_rtp' basic-bridge <3c3128f5-[...]>
== Spawn extention (bureau, 9001,1) exited non-zero on 'SIP/tel2-00000028'
Je ne comprend pas d'ou ca vient... Si quelqu'un peut m'aider, merci d'avance :)
je vous met les fichiers que j'ai configuré:
SIP.conf:
[general]
defaultexpirey=1800
dtmfmode=auto
qualify=yes
[tel1]
type=friend
username=tel1
qualify=no
secret=123456
host=dynamic
context=bureau
language=fr
[tel2]
type=friend
username=tel2
qualify=no
secret=123456
host=dynamic
context=bureau
language=fr
-------------------------------------------------
extentions.conf:
[bureau]
exten => 9001,1,Dial(SIP/tel1)
exten => 2202,1,Dial(SIP/tel2)
---------------------------------------------
J'utilise deux telephones cisco SPA504G
le tel1 sur l'ip 192.168.0.11
le tel2 sur l'ip 192.168.0.35
Le serveur etant sur l'ip 192.168.0.43
Merci d'avance.
Je tente actuellement d'installer asterisk sur un serveur. Jusqu'à présent j'y suis arrivé en suivant les tutoriels trouvé a droite a gauche, mais je rencontre un problème.
Lorsque j'établie une communication (en local) d'un téléphone IP a un autre, le téléphone appelant peut parler, mais pas entendre, et du téléphone appelé, on entend mais on ne peut pas parler...
Lorsque j'établie une communication j'ai une erreur 500 sur la console:
== Using SIP RTP CoS mark 5
-- Executing [9001@bureau:1] Dial("SIP/tel2-00000028", "SIP/tel1") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/tel1
-- SIP/tel1-00000029 is ringing
-- SIP/tel1-00000029 answered SIP/tel2-00000028
-- Channel SIP/tel1-00000028 joined 'simple_bridge' basic-bridge <3c3128f5-[...]>
-- Channel SIP/tel2-00000029 joined 'simple_bridge' basic-bridge <3c3128f5-[...]>
-- Got SIP response 500 "Internal Server Error" back from 192.168.0.11:5060
-- Channel SIP/tel2 left 'native_rtp' basic-bridge <3c3128f5-[...]>
-- Channel SIP/tel1 left 'native_rtp' basic-bridge <3c3128f5-[...]>
== Spawn extention (bureau, 9001,1) exited non-zero on 'SIP/tel2-00000028'
Je ne comprend pas d'ou ca vient... Si quelqu'un peut m'aider, merci d'avance :)
je vous met les fichiers que j'ai configuré:
SIP.conf:
[general]
defaultexpirey=1800
dtmfmode=auto
qualify=yes
[tel1]
type=friend
username=tel1
qualify=no
secret=123456
host=dynamic
context=bureau
language=fr
[tel2]
type=friend
username=tel2
qualify=no
secret=123456
host=dynamic
context=bureau
language=fr
-------------------------------------------------
extentions.conf:
[bureau]
exten => 9001,1,Dial(SIP/tel1)
exten => 2202,1,Dial(SIP/tel2)
---------------------------------------------
J'utilise deux telephones cisco SPA504G
le tel1 sur l'ip 192.168.0.11
le tel2 sur l'ip 192.168.0.35
Le serveur etant sur l'ip 192.168.0.43
Merci d'avance.