Ticket #5347 (new Bugs)

Opened 2 years ago

Last modified 2 years ago

Application Macro is deprecated in Asterisk since 1.6

Reported by: mickecarlsson Assigned to: p_lindheimer
Priority: major Milestone: Undetermined
Component: Core Version: 2.9-branch
Keywords: deprecated Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description (Last modified by mbrevda)

 Macro() is now deprecated.  If you need subroutines, you should use the
  Gosub()/Return() applications.  To replace MacroExclusive(), we have
  introduced dialplan functions LOCK(), TRYLOCK(), and UNLOCK().  You may use
  these functions in any location where you desire to ensure that only one
  channel is executing that path at any one time.  The Macro() applications
  are deprecated for performance reasons.  However, since Macro() has been
  around for a long time and so many dialplans depend heavily on it, for the
  sake of backwards compatibility it will not be removed .  It is also worth
  noting that using both Macro() and GoSub() at the same time is _heavily_
  discouraged.

Setting this as major, this requires a lot of testing

Change History

09/01/11 16:10:04 changed by mickecarlsson

  • description changed.

09/02/11 04:02:02 changed by mbrevda

Link?

09/02/11 09:15:53 changed by mickecarlsson

09/17/11 20:36:31 changed by mbrevda

  • description changed.
  • milestone changed from 2.10 to Undetermined.