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?
Haim.
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
It is "sort of" hard-coded. Do the grep for stdexten instead of
"macro-stdexten" (* adds the macro- at runtime). The Dial command
calls/drops into it as part of fallthrough.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Haim Dimer
Sent: Tuesday, March 03, 2009 9:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] macro-stdexten question
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?
Haim.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users