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.
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:
you can replace this line with this code sample:
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:
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.