el problema, me parece, es esto
[externas]
exten => _9XXXXXXXX,1,Dial(Zap/1/${EXTEN})
exten => _9XXXXXXXX,2,HangupDial
la parte que llama hacia afuera la tienes en otro contexto, puedes hacer dos cosas, o lo eliminas y esas lineas las metes dentro de [internas]
o en [internas] haces un include a [externas]
aqui un doc que lo explica:
http://www.digium.com/asterisk_handbook/extensions.conf.pdfdice:
include: Includes one context within another. When a context has been included, all
extensions in that context are made available to the including context. This allows a
layered permissions structure for the dialplan. Include also offers the ability to include
another context during a particular time. Time dependent includes can be used to
include a context based on the time of day, the day of the week, the day of the month,
or the month of the year. The format for a time based include is:
include => context|days|times|days of month|months of year
que por cierto yo no sabia eso de days times, etc... mira, de lo que se entera uno xD