id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,confirmation,distro,engine,distro_ver,engine_version,svn_rev
5690,call waiting indication to caller in cases that the dialed extension is in use or busy,danielf,p_lindheimer,Hello_\r\n\r\nI 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.\r\n\r\ninstead of this line in macro-dial-one:\r\n\r\n{{{\r\nexten => s_n(godial)_Dial(${DSTRING}_${ARG1}_${D_OPTIONS})\r\n}}}\r\n\r\nyou can replace this line with this code sample:\r\n\r\n{{{\r\nexten => s_n(godial)_GotoIf($["${EXTENSION_STATE(${DEXTEN})}"="UNAVAILABLE" | "${EXTENSION_STATE(${DEXTEN})}"="NOT_INUSE" | "${EXTENSION_STATE(${DEXTEN})}"="UNKNOWN"]?dial:dialbusy)\r\nexten => s_n(dialbusy)_GotoIf($["${EXTENSION_STATE(${DEXTEN})}" = "BUSY"]?dialcallwaiting)\r\nexten => s_n(dialcallwaiting)_Dial(${DSTRING}_${ARG1}_r(callwaiting))\r\nexten => s_n(dial)_Dial(${DSTRING}_${ARG1}_${D_OPTIONS})\r\n}}}\r\n\r\nThere 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.\r\n\r\nMoshe_ 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).\r\n\r\nthis is the syntax to add a tone to the r option in the Dial application:\r\n\r\n{{{\r\nDial(${DSTRING}_${ARG1}_r(callwaiting))\r\n}}}\r\n\r\nMaybe 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.\r\n\r\nThank you_\r\n\r\nDaniel Friedman\r\nKollforex\r\n\r\nTel: 972.72.2608333\r\nMobile: 972.50.6655579\r\n\r\nEmail: dani@call4ex.com ,Feature Requests,new,trivial,2.11,Follow Me,2.10-branch,,call waiting,,Unreviewed,,Asterisk 1.8,,,
