Citation Envoyé par Reaper Voir le message
C'est ecrit en clair, les applications sont separes par comma au lieux de pipe.
Vous êtes entrain de tomber dans le context default.

Vos traces sont insuffisantes, faites un trace complete de l'appel et pas seulement les erreurs.

Bonsoir,

Merci pour ta réponse. Je ne sais pas trop sur quel ligne je dois remplacer comma par pipe?? Je ne comprends pas non plus pourquoi je suis entrain de tomber dans le contexte "default" au lieu d'exécuter le DISA() dans le contexte "callback-ctx"??

Voici un détail du déroulement de l'appelle:

Connected to Asterisk 1.6.2.17.2 currently running on localhost (pid = 2198)
Verbosity is at least 6
== Using SIP RTP CoS mark 5
-- Executing [s@incoming_calls:1] NoOp("SIP/freephonie-00000000", "Incoming call form callback") in new stack
-- Executing [s@incoming_calls:2] Goto("SIP/freephonie-00000000", "init-callback,100,1") in new stack
-- Goto (init-callback,100,1)
-- Executing [100@init-callback:1] System("SIP/freephonie-00000000", "echo je vais apeller 0661837311") in new stack
-- Executing [100@init-callback:2] Congestion("SIP/freephonie-00000000", "") in new stack
== Spawn extension (init-callback, 100, 2) exited non-zero on 'SIP/freephonie-00000000'
-- Executing [h@init-callback:1] System("SIP/freephonie-00000000", "echo je rapelle 0661837311") in new stack
-- Executing [h@init-callback:2] System("SIP/freephonie-00000000", "echo Channel: SIP/0661837311@freephonie > /tmp/0661837311") in new stack
-- Executing [h@init-callback:3] System("SIP/freephonie-00000000", "echo Context: callback-ctx >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:4] System("SIP/freephonie-00000000", "echo Extension: s >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:5] System("SIP/freephonie-00000000", "echo Priority: 1 >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:6] System("SIP/freephonie-00000000", "echo MaxRetries: 5 >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:7] System("SIP/freephonie-00000000", "echo RetryTime: 0661837311 >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:8] System("SIP/freephonie-00000000", "echo WaitTime: 45 >> /tmp/0661837311") in new stack
-- Executing [h@init-callback:9] System("SIP/freephonie-00000000", "echo sleep 5 > /tmp/0661837311.2") in new stack
-- Executing [h@init-callback:10] System("SIP/freephonie-00000000", "echo cp /tmp/0661837311 /var/spool/asterisk/outgoing/ >> /tmp/0661837311.2") in new stack
-- Executing [h@init-callback:11] System("SIP/freephonie-00000000", "chmod 775 /tmp/0661837311.2") in new stack
-- Executing [h@init-callback:12] System("SIP/freephonie-00000000", "/tmp/0661837311.2") in new stack
-- Executing [h@init-callback:13] Hangup("SIP/freephonie-00000000", "") in new stack
== Spawn extension (init-callback, h, 13) exited non-zero on 'SIP/freephonie-00000000'
-- Attempting call on SIP/0661837311@freephonie for s@callback-ctx:1 (Retry 1)
== Using SIP RTP CoS mark 5
> Channel SIP/freephonie-00000001 was answered.
== Starting SIP/freephonie-00000001 at callback-ctx,s,1 failed so falling back to exten 's'
== Starting SIP/freephonie-00000001 at callback-ctx,s,1 still failed so falling back to context 'default'
-- Executing [s@default:1] Verbose("SIP/freephonie-00000001", "|Unrouted call handler") in new stack
[Apr 23 22:52:10] WARNING[2330]: pbx.c:1356 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Verbose(|Unrouted call handler))
|Unrouted call handler
-- Executing [s@default:2] Answer("SIP/freephonie-00000001", "") in new stack
-- Executing [s@default:3] Wait("SIP/freephonie-00000001", "1") in new stack
-- Executing [s@default:4] Hangup("SIP/freephonie-00000001", "") in new stack
== Spawn extension (default, s, 4) exited non-zero on 'SIP/freephonie-00000001'
[Apr 23 22:52:11] NOTICE[2330]: pbx_spool.c:349 attempt_thread: Call completed to SIP/0661837311@freephonie