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/General
    • Labels:
      None
    • Mantis ID:
      6508
    • Regression:
      No

      Description

      This is a wrapper for 'ast_async_goto_by_name' function.
      I'm using it to break bridged call and send called party to some context|exten|prio.

      For example:
      [macro-async]
      exten => s,1,AsyncGoto($

      {BRIDGEPEER}

      ,meetme-conf,$

      {CURRENT_CONF}

      ,1)

      And in features.conf:
      [applicationmap]
      send-to-conf => **,caller,Macro,async

        Activity

        Hide
        Tilghman Lesher added a comment -

        I've made a few revisions to your app to make it a little more in line with the syntax of other apps.

        Show
        Tilghman Lesher added a comment - I've made a few revisions to your app to make it a little more in line with the syntax of other apps.
        Hide
        Tilghman Lesher added a comment -

        ManagerRedirect committed to trunk

        Show
        Tilghman Lesher added a comment - ManagerRedirect committed to trunk
        Hide
        Sergey Basmanov added a comment -

        Doesn't work with 1.2.x (including 1.2.6)
        logger.c: – Executing ManagerRedirect("SIP/116-166a", "SIP/150-5aef|meetme-conf|500|1") in new stack
        pbx.c: No such label '1' in extension '500' in context 'meetme-conf'
        app_managerredirect.c: Attempting async goto (SIP/150-5aef) to (null)
        app_managerredirect.c: ManagerRedirect failed for SIP/150-5aef

        Probably we should use ast_exists_extension() instead of ast_findlabel_extension() ?

        Show
        Sergey Basmanov added a comment - Doesn't work with 1.2.x (including 1.2.6) logger.c: – Executing ManagerRedirect("SIP/116-166a", "SIP/150-5aef|meetme-conf|500|1") in new stack pbx.c: No such label '1' in extension '500' in context 'meetme-conf' app_managerredirect.c: Attempting async goto (SIP/150-5aef) to (null) app_managerredirect.c: ManagerRedirect failed for SIP/150-5aef Probably we should use ast_exists_extension() instead of ast_findlabel_extension() ?
        Hide
        Tilghman Lesher added a comment -

        I don't see how that's a failure. Could you explain it to me?

        Show
        Tilghman Lesher added a comment - I don't see how that's a failure. Could you explain it to me?
        Hide
        Tilghman Lesher added a comment -

        Fixed in trunk.

        Show
        Tilghman Lesher added a comment - Fixed in trunk.

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development