[asterisk-users] macro-stdexten question

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Mar 3 09:36:35 CST 2009


On Tue, Mar 03, 2009 at 07:28:51AM -0800, Haim Dimer wrote:
> I am running asterisk 1.4 and the Digium GUI SVN-branch-2.0-r4489.
> 
> When one phone calls another, I see the following on the console  
> (here, 6223 dials 6123)
> 
> -- Executing [6123 at DLPN_DefaultDialPlan:1] Macro("IAX2/6223-10489",  
> "stdexten|6123|SIP/6123&IAX2/6123") in new stack
> -- Executing [s at macro-stdexten:1] Set("IAX2/6223-10489",  
> "__DYNAMIC_FEATURES=") in new stack
> -- Executing [s at macro-stdexten:2] GotoIf("IAX2/6223-10489", "0?5:3")  
> in new stack
> -- Goto (macro-stdexten,s,3)
> -- Executing [s at macro-stdexten:3] Dial("IAX2/6223-10489", "SIP/ 
> 6123&IAX2/6123|20|tTkK") in new stack
> etc...
> 
> My question is: Who called macro-stdexten ? I grep'ed for it in /etc/ 
> asterisk/* and could only find the definition of the macro in  
> extensions.conf. I'm curious to know if this macro is something hard  
> coded in asterisk for dialing extensions with voicemail enabled. Any  
> ideas?

sweetmorn*CLI> core show application macro
sweetmorn*CLI>
  -= Info about application 'Macro' =-

[Synopsis]
Macro Implementation

[Description]
  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.

<snip>

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list