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

call waiting indication to caller in cases that the dialed extension is in use or busy

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.10, 2.11, 12, 13
    • Fix Version/s: None
    • Component/s: Follow Me
    • Labels:
    • ToDo:
    • Target Release:
      14

      Description

      Hello,

      I would like to offer a feature request that will indicate a call waiting tone to the caller in cases when the dialed extension is in use or busy.

      instead of this line in macro-dial-one:

      exten => s,n(godial),Dial(${DSTRING},${ARG1},${D_OPTIONS})
      

      you can replace this line with this code sample:

      exten => s,n(godial),GotoIf($["${EXTENSION_STATE(${DEXTEN})}"="UNAVAILABLE" | "${EXTENSION_STATE(${DEXTEN})}"="NOT_INUSE" | "${EXTENSION_STATE(${DEXTEN})}"="UNKNOWN"]?dial:dialbusy)
      exten => s,n(dialbusy),GotoIf($["${EXTENSION_STATE(${DEXTEN})}" = "BUSY"]?dialcallwaiting)
      exten => s,n(dialcallwaiting),Dial(${DSTRING},${ARG1},r(callwaiting))
      exten => s,n(dial),Dial(${DSTRING},${ARG1},${D_OPTIONS})
      

      There is still a problem with the dialparties.agi. When ever an extension has a followme (that uses the dialparties.agi), this change will not take effect.

      Moshe, can you please take a look at that and add a fix to all the dial macros (including the dialparties.agi)? all you need to add when the extension state's in-use or busy is to add the call waiting indication (it will take is from indications.conf).

      this is the syntax to add a tone to the r option in the Dial application:

      Dial(${DSTRING},${ARG1},r(callwaiting))
      

      Maybe you can add an option in the general settings page to let the users choose if they want to play a call waiting tone when the extension is in-use or busy.

      Thank you,

      Daniel Friedman
      Trixton

      Tel: 972.72.2557000
      Mobile: 972.50.6655579

      Email: dani@3xton.com

        Attachments

          Issue Links

            Activity

            Hide
            danielf danielf added a comment -

            Hello,

            This issue is duplicating with FREEPBX-5390.
            Andrew, what is the status on this? can it be done finally?

            Thank you,

            Daniel Friedman
            Trixton LTD.

            Show
            danielf danielf added a comment - Hello, This issue is duplicating with FREEPBX-5390 . Andrew, what is the status on this? can it be done finally? Thank you, Daniel Friedman Trixton LTD.
            Hide
            xptpa2020 xptpa2020 added a comment -

            Any target release for this functionality?

            Show
            xptpa2020 xptpa2020 added a comment - Any target release for this functionality?
            Hide
            tm1000 Andrew Nagy added a comment -

            This ticket is marked for 14

            Show
            tm1000 Andrew Nagy added a comment - This ticket is marked for 14
            Hide
            Offer Offer added a comment -

            ... and still waiting for developmens on this..

            Show
            Offer Offer added a comment - ... and still waiting for developmens on this..
            Hide
            tm1000 Andrew Nagy added a comment -

            Offer

            If you would like to do the work yourself and submit the patch we will implement it within a few days.

            Show
            tm1000 Andrew Nagy added a comment - Offer If you would like to do the work yourself and submit the patch we will implement it within a few days.

              People

              • Assignee:
                Unassigned
                Reporter:
                danielf danielf
              • Votes:
                6 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: