Por favor, note que primeiro tente chamar trunk / 10.
Seu exemplo funciona para mim
Asterisk 1.8.32.2
[call-file]
exten = _XXX,1,NoOp(it works)
exten = _XXX,n,Wait(100)
exten => s,1,Answer
exten => s,2,Wait(10)
Channel: Local/s@call-file/n
Context: call-file
Extension: 123
Priority: 1
Resultado:
-- Executing [s@call-file:1] Answer("Local/s@call-file-00000000;2", "") in new stack
-- Executing [123@call-file:1] NoOp("Local/s@call-file-00000000;1", "it works") in new stack
-- Executing [123@call-file:2] Wait("Local/s@call-file-00000000;1", "100") in new stack
-- Remote UNIX connection
-- Executing [s@call-file:2] Wait("Local/s@call-file-00000000;2", "10") in new stack
Talvez não seja possível chamar o tronco ou você precisa atualizar seu asterisco.