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

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

    Details

    • Sprint:
      Beta 13
    • Target Release:

      Description

      Hello,

      This issue is a clone of an old issue by Daniel Friedman about a very disturbing behavior in some countries.

      In many countries, when I call a person and he is talking in his phone but 'call-waiting' option is enabled for him - I should get a special tone - not the busy tone (because I can wait for him to answer), but not the normal 'no answer' waiting tone.

      In Asterisk (and FreePBX - if 'call-waiting' is enabled - the caller just hears the normal 'wait for answer' tone, and he can't know I'm not answering him because I'm in the middle of another call.

      For previous versions of Asterisk, Daniel had a customized 'patch' - an edit to 3 lines in the core dialplan that made the 'call waiting' ring for the caller available.

      In the new asterisk versions - that correction is no longer totally compatible.

      It could be really great if this feature will be included in the core dialplan - more of that - if in the GUI, after 'call waiting' feature switch - will be the option to 'special ring to caller' or not.

      GoodLuck,
      Offer.

      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

        Issue Links

          Activity

          Hide
          tm1000 Andrew Nagy added a comment -

          There is already a ticket opened for this. You cloned the open ticket and created this one. Please don't do that. Just comment on the other ticket

          Show
          tm1000 Andrew Nagy added a comment - There is already a ticket opened for this. You cloned the open ticket and created this one. Please don't do that. Just comment on the other ticket
          Hide
          Offer Offer added a comment -

          It's OK, to my humble opinion to close this case because of duplication.

          My problem is that the original post is from 3 years ago, and didn't have any action connected to it since then.

          It's a very disturbing problem in countries like Israel, and it seems that no one cares, even though it's a really little change in the code.

          PLEASE take a look at the original issue, comment on it, and move it to the deck for processing.

          Many thanks!

          Show
          Offer Offer added a comment - It's OK, to my humble opinion to close this case because of duplication. My problem is that the original post is from 3 years ago, and didn't have any action connected to it since then. It's a very disturbing problem in countries like Israel, and it seems that no one cares, even though it's a really little change in the code. PLEASE take a look at the original issue, comment on it, and move it to the deck for processing. Many thanks!
          Hide
          Offer Offer added a comment -

          Apology:

          I've re-opened this issue just to be able to add my last comment.

          I can't find now how to close it.

          Please feel free to re-close it.

          Thanks!

          Show
          Offer Offer added a comment - Apology: I've re-opened this issue just to be able to add my last comment. I can't find now how to close it. Please feel free to re-close it. Thanks!

            People

            • Assignee:
              tm1000 Andrew Nagy
              Reporter:
              Offer Offer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile