-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 13, 14
-
Fix Version/s: None
-
Component/s: Ring Groups
-
Labels:None
-
ToDo:
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)