I'm sorry, everyone (esp. Michael and Lonnie). Missing actionlist entry was the cause, not a macro change in behaviour. Sincere apologies. Never try to help an idiot.
Tom -----Original Message----- From: Lonnie Abelbeck [mailto:[email protected]] Sent: 03 July 2013 15:32 To: AstLinux Users Mailing List Cc: Tom Chadwin Subject: Re: [Astlinux-users] Macro failing in 1.1.2, worked in 1.1.1 Tom, My main box is the latest AstLinux with Asterisk 1.8, and lots of macros that work. The problem with macros is when you nest them too deeply since they are stack based, so watch for macros calling macros calling macros... I seem to recall less then 10 deep is usually OK. I'd suggest you create a test extension and test macro to better understand your failure. BTW, "macros" also work in Asterisk 11, in fact the sample Asterisk 11 extensions.conf contains Macro() . Lonnie On Jul 3, 2013, at 6:15 AM, Tom Chadwin wrote: > Hello all > > An Asterisk issue, so apologies for posting, but I'd like to know the > explanation, and it seems to be a 1.1.1 > 1.1.2 thing. > > We have a test box and a live box, both on 1.1.1-1.8. I only made the switch > to 1.8 with the last Astlinux upgrade, so deprecated Macros are still > present, and working on the live box. > > Just updated the test box to 1.1.2-1.8, and Macros are now failing - as far > as I can tell, specifically, ${ARG1} is null or empty. As I say, I am aware > that I have work to do to rewrite my dialplan to finish the transition to > 1.8, and migrating from macro to gosub is the clear issue which needs to be > sorted. However, if this was working in 1.1.1-1.8, what has caused it to > fail in 1.1.2-1.8. Has the Asterisk version bump removed support for > deprecated macro? > > Thanks > > Tom ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
