Kris Boutilier wrote:

[macro-process-routing] ; This is the entrypoint of the debug call but is also refered to by Macro(process-routing) elsewhere in the dialplan

        ; XXX-NNN-6800
        exten => _6800,1,Macro(6800-interceptor)

        ; This is matched when 8 is dialed during macro-6800-interceptor,s,4
        exten => _8,1,Playback(welcome)      
        exten => _8,2,Hangup


[macro-6800-interceptor] exten => s,1,DigitTimeout,2 exten => s,2,ResponseTimeout,7 exten => s,3,Answer exten => s,4,Background(autoattendant-ivr/grtg-6) ; Play full after-hours greeting


if the 6800-interceptor is only referenced within the process-routing macro, and nowhere else in the dialplan, couldn't you just create a new context called [6800-interceptor] and change the process-routing macro to:


exten => _6800,1,Goto(6800-interceptor,s,1)

That might work.

Flynn

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to