fait un essai en modifiant tes trunks avec ces paramètres :
Code:type=peer context=from-trunk
fait un essai en modifiant tes trunks avec ces paramètres :
Code:type=peer context=from-trunk
c'est exactement la même chose
Merci
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [10001@from-sip-external:1] NoOp("SIP/5062-000000c4", "Received incoming SIP connection from unknown peer to 10001") in new stack
-- Executing [10001@from-sip-external:2] Set("SIP/5062-000000c4", "DID=10001") in new stack
-- Executing [10001@from-sip-external:3] Goto("SIP/5062-000000c4", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/5062-000000c4", "0?from-trunk,10001,1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/5062-000000c4", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2010-11-24 14:23:12.000 RET.
-- Executing [s@from-sip-external:3] Answer("SIP/5062-000000c4", "") in new stack
-- Executing [s@from-sip-external:4] Wait("SIP/5062-000000c4", "2") in new stack
-- Executing [s@from-sip-external:5] Playback("SIP/5062-000000c4", "ss-noservice") in new stack
-- <SIP/5062-000000c4> Playing 'ss-noservice.gsm' (language 'en')
-- Executing [s@from-sip-external:6] PlayTones("SIP/5062-000000c4", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("SIP/5062-000000c4", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/5062-000000c4'
-- Executing [h@from-sip-external:1] NoOp("SIP/5062-000000c4", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("SIP/5062-000000c4", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("SIP/5062-000000c4", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/5062-000000c4", "0?from-trunk,s,1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/5062-000000c4", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2010-11-24 14:23:23.000 RET.
-- Executing [s@from-sip-external:3] Answer("SIP/5062-000000c4", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/5062-000000c4'
Actuellement je suis en R5.6 sur la Patton SN 4554, j'ai vu des tuto avec des version R4.2 je vais downgrader en R4.2 je fait des essai et je reviens.
et
je n'arrive pas a la downgrader
![]()
Dernière modification par rock17 ; 24/11/2010 à 13h17.
je trouve ces deux lignes bizarre:
y'a pas de raisons de faire un goto "s" - c'est ca qui déclenche le message à la con et le raccrochéCode:-- Executing [10001@from-sip-external:3] Goto("SIP/5062-000000c4", "s,1") in new stack -- Goto (from-sip-external,s,1)
et si tu regardes plus en détail,
l'appel arrive sur l'ext 1001, bascule via goto sur s (normalement utilisé quand il n'y a pas de no d'extension fourni), tombe sur un congestion, bascule sur h (logique, raccroché), et refait un goto "s".... c'est pas sain, il n'y a pas de logique à ce que le h renvoie sur le s (ni qu'une exten valide renvoie sur le s)
finalement ca fonctionne, tomarch avait presque la reponse, c'etait tout simplement un probleme de configuration du Trunk, j'en ai profité pour faire un tuto:
http://www.asterisk-france.org/showt...-%28Trixbox%29