[Asterisk-Users] Digit detect during a Background() inside a Macro wrongly jumps b ack to the calling context to match digits?

Kris Boutilier Kris.Boutilier at scrd.bc.ca
Fri Aug 27 18:07:41 MST 2004


To answer my own question:

Macro(macroname|arg1|arg2...): Executes a macro using the context
'macro-<macroname>', jumping to the 's' extension of that context and
executing each step, then returning when the steps end.

So, having logic outside the 's' priority isn't supported. I've updated the
Wiki to be more obvious on this point.

-----Original Message-----
From: Kris Boutilier [mailto:Kris.Boutilier at scrd.bc.ca]
Sent: August 27, 2004 1:28 AM
To: 'asterisk-users at lists.digium.com'
Subject: [Asterisk-Users] Digit detect during a Background() inside a
Macro wrongly jumps b ack to the calling context to match digits? 


Consider this dialplan fragment, where the call is being dialed into
[macro-process-routing] over an iax2 channel from another (same build)
Asterisk server:


	[macro-process-routing]
{clip}


So, why does the DTMF detect jump out to [macro-process-routing] instead of
staying within [macro-6800-interceptor]? {clip}



More information about the asterisk-users mailing list