User Community Feedback

Submitted ideas will be evaluated by our product teams for upcoming releases and will be responded to so you know where things stand. For product support, please use the community forums or contact TAC.

NOTE: All Cisco employees & Channel Partners must enter Ideas through this Ideas Portal.

Ability to retrieve a wav file length in seconds outside the Play Music block.

Use case: for example, if we have a 3 min 10 sec wav file to be used for MoH but we want to stop every 60 seconds to check for logged in agents. The play music block lets you specify the starting offset and length. By starting at an offset of 0 and adding 60 seconds each time though the loop you can playback of the entire wav file without it starting over from the beginning each time. The issue currently is when you reach the end of the wav file the starting offset has to be calculated based off the length of the wav file.

It would be helpful to have a way to use the Set Block to calculate the length of the wav file.

Calculating the MoH Offset

190 seconds wav file length

Each time through the queue loop the starting offset is increased to start where it left off. Until it hits the end of the wav file.

0 - 60

60 - 120

120 - 180

180 - 240 (the play music block will automatically restart from the beginning of the file if offset + length is greater than the total length of the wav file. This results in playing 50 sec into the start file again.)

To get the new starting offset we would subtract the length of the wav file from the last offset value set.

240-190 = 50 would be the next starting offset value.

So the next time thought the queue loop the MoH would start from an offset of 50.

50 - 110

  • Greg Sharp
  • Feb 29 2024