Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-17995

Ring group announcement always has Answer() and Wait()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 13, 14
    • Fix Version/s: None
    • Component/s: Ring Groups
    • Labels:
      None
    • ToDo:

      Description

      If you define a Ring group with an Announcement, the generated dialplan has an Answer() and a Wait(1) regardless of whether the channel is 'up' or not.

                          16. Answer()                                  [extensions_additional.conf:4594]
                          17. Wait(1)                                   [extensions_additional.conf:4595]
                          18. Playback(custom/know-your-ext-num)        [extensions_additional.conf:4596]
      

      I believe these lines should be conditional on whether the channel has been answered yet or not as is done elsewhere such as for Announcements:

        's' =>            1. GotoIf($["${CHANNEL(state)}" = "Up"]?begin) [extensions_additional.conf:122]
                          2. Answer()                                   [extensions_additional.conf:123]
                          3. Wait(1)                                    [extensions_additional.conf:124]
           [begin]        4. Noop(Playing announcement Broadcast Message) 

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.