[asterisk-bugs] [JIRA] (ASTERISK-30437) app_queue ability to start periodic announcements at a different time than the playing interval (frequency)

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Mar 16 09:26:03 CDT 2023


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261565#comment-261565 ] 

Friendly Automation commented on ASTERISK-30437:
------------------------------------------------

Change 19951 merged by Friendly Automation:
app_queue: periodic announcement configurable start time.

[https://gerrit.asterisk.org/c/asterisk/+/19951|https://gerrit.asterisk.org/c/asterisk/+/19951]

> app_queue ability to start periodic announcements at a different time than the playing interval (frequency)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30437
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30437
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 16.30.0, 18.16.0, 19.8.0, 20.1.0
>            Reporter: Jaco Kroon
>            Assignee: Jaco Kroon
>            Severity: Trivial
>
> We have a client that wants a periodic announcement to play immediately upon entering the queue and then at the requested interval.
> After code inspection it seems that whilst playing the announcement it doesn't ring through to agents regardless and vice versa (which means we could just do Playback(), but that would also play the announcement even when the call is immediately without waiting queued to an agent).
> Upon raising this internally we realized that this would also benefit other customers, after engaging with a few of them the request was to be able to play an announcement a few seconds into a call (typically 10 to 45 has been the feedback) and then repeat at anything from 30 to 120s intervals.
> Since the repeating mechanism is already in place, we've implemented code to just control the start time for the first announcement by manipulating the last_periodic_announce_time upon entering the queue, setting it to a value in the past (or the future if startdelay > frequency) such that the periodic announcement will only commence playing at startdelay seconds into the call.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list