Contextos Asterisk

lulusosa's picture

Hola amigos de Crice

Tengo un problema con los contextos, cuando creo contextos para llamadas nacionales y locales, se crean perfectamente, al asignarle a una extension este contexto me da un error cuando marco a los internos, ¿Que creen que me falte?
los contextos son:
[celular]
exten => _90[89]NXXXXXX,1,Set(TRUNK_OPTIONS=L(180000:20000))
exten => _90[89]XXXXXXX,n,Dial(Zap/4/${EXTEN:1})
exten => _90[89]XXXXXXX,n,Macro(outisbusy,)
include => nacional

[nacional]
exten => _90[2-7]NXXXXXX,1,Set(TRUNK_OPTIONS=L(180000:20000))
exten => _90[2-7]NXXXXXX,n,Dial(Zap/1/${EXTEN:1})
exten => _90[2-7]NXXXXXX,n,Dial(Zap/2/${EXTEN:1})
exten => _90[2-7]NXXXXXX,n,Dial(Zap/3/${EXTEN:1})
exten => _90[2-7]NXXXXXX,n,Dial(Zap/4/${EXTEN:1})
exten => _90[2-7]XXXXXXX,n,Macro(outisbusy,)
include => local

[local]
exten => _9NXXXXXX,1,Set(TRUNK_OPTIONS=L(180000:20000))
exten => _9NXXXXXX,n,Dial(Zap/1/${EXTEN:1})
exten => _9NXXXXXX,n,Dial(Zap/2/${EXTEN:1})
exten => _9NXXXXXX,n,Dial(Zap/3/${EXTEN:1})
exten => _9NXXXXXX,n,Dial(Zap/4/${EXTEN:1})
exten => _9NXXXXXX,n,Macro(outisbusy,)
include => default

en el cli:
Executing [7111@nacional:1] ResetCDR("SIP/7109-c80b5140", "") in new stack
-- Executing [7111@nacional:2] NoCDR("SIP/7109-c80b5140", "") in new stack
-- Executing [7111@nacional:3] Wait("SIP/7109-c80b5140", "1") in new stack
-- Executing [7111@nacional:4] Playback("SIP/7109-c80b5140", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
-- Playing 'silence/1' (language 'en')
-- Playing 'cannot-complete-as-dialed' (language 'en')
-- Playing 'check-number-dial-again' (language 'en')
== Spawn extension (nacional, 7111, 4) exited non-zero on 'SIP/7109-c80b5140'
-- Executing [h@nacional:1] Macro("SIP/7109-c80b5140", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7109-c80b5140", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/7109-c80b5140", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/7109-c80b5140", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/7109-c80b5140", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/7109-c80b5140' in macro 'hangupcall'
== Spawn extension (nacional, h, 1) exited non-zero on 'SIP/7109-c80b5140'
elastix*CLI>