Details

    • Type: New Feature New Feature
    • Status: Closed
    • Severity: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Component/s: Applications/app_dial
    • Labels:
      None
    • Mantis ID:
      2905
    • Regression:
      No

      Description

      This patch enhances the M(macro) option to allow controllable behaviour

      First, you can now add args to the macro by using
      a '^' char
      Dial(Zap/1|60|M(mymacro^cat^dog^bark))

      Also, the macro can set the MACRO_RESULT variable to
      do the following:

      ABORT - Hangup both legs of the call
      CONTINUE - Hangup the called party and continue on in the dialplan from where you called Dial
      GOTO:<context><exten><priority> - Transfer the call.

                • ADDITIONAL INFORMATION ******

      Disclaimer on file
      anthmct@yahoo.com

        Activity

        Hide
        Anthony Minessale added a comment -

        revison 3:

        adds BUSY to simulate n+101
        makes GOTO:context^exten^priority work
        moves pbx_builtin_* to public api

        Show
        Anthony Minessale added a comment - revison 3: adds BUSY to simulate n+101 makes GOTO:context^exten^priority work moves pbx_builtin_* to public api
        Hide
        Anthony Minessale added a comment -

        Take 4

        Show
        Anthony Minessale added a comment - Take 4
        Hide
        Mark Spencer added a comment -

        Added to CVS

        Show
        Mark Spencer added a comment - Added to CVS
        Hide
        Russell Bryant added a comment -

        not in 1.0

        Show
        Russell Bryant added a comment - not in 1.0
        Hide
        Digium Subversion added a comment -

        Repository: asterisk
        Revision: 4317

        U trunk/apps/app_dial.c
        U trunk/include/asterisk/pbx.h
        U trunk/pbx.c

        ------------------------------------------------------------------------
        r4317 | markster | 2008-01-15 15:14:42 -0600 (Tue, 15 Jan 2008) | 2 lines

        Add improved macro functionality (bug ASTERISK-2855)

        ------------------------------------------------------------------------

        http://svn.digium.com/view/asterisk?view=rev&revision=4317

        Show
        Digium Subversion added a comment - Repository: asterisk Revision: 4317 U trunk/apps/app_dial.c U trunk/include/asterisk/pbx.h U trunk/pbx.c ------------------------------------------------------------------------ r4317 | markster | 2008-01-15 15:14:42 -0600 (Tue, 15 Jan 2008) | 2 lines Add improved macro functionality (bug ASTERISK-2855 ) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4317

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development