hi
You need to format all 3 file in 1 sound file. then use it as auunounce -perodic. that is best solution. number of tools which use for mixing such sound files
3 diffrent file not act to play back to back mode
Amit
the thread was started long time ago but I have currently exactly the same problem with a debian wheezy (using the debian packages) installation and asterisk 1.8.13.1.
Everywhere in the internet I find the information that you CAN play multiple periodic announcements in a fixed order by separating the files by a comma. If I do that the first one gets played but not the second.
Merging would be a solution but I need the single sound files at other places, as well, so just playing multiple files one after another as periodic-announce would be way more convenient.
Maybe now someone can give us some insight on this.
This is the documentation. periodic-announce is the correct name.
;periodic-announce = queue-periodic-announce
;
; A set of periodic announcements can be defined by separating
; periodic announcements to reproduce by commas. For example:
;periodic-announce = queue-periodic-announce,your-call-is-important,please-wait
The names re not file names; they are the file name without the extension. Asterisk chooses the extension that gives the lowest transcoding cost for the particular call. The extension must be one for a known codec and the file must be formatted for the specific codec. In particular, wav must be 8kHz, mono, signed linear 16 bits, and WAV must be full rate GSM, not just any format supported by Windows .wav.
I read the documentation and I am aware about the fact that you don’t put the file names without the extension into the configuration. As well, I have files in the correct format. Currently, in my case only gsm files but for testing it should be fine.
I moved my 2 test files for english and german accordingly into /usr/share/asterisk/sounds/de/ and /usr/share/asterisk/sounds/en/ which is the default sound folder for debian. They are called tb35 and tb36.
The log part from the asterisk console with “agi set debug on” shows:
...
SIP/agent-0000000a is ringing
-- SIP/agent-0000000a is ringing
-- SIP/agent-0000000a is ringing
-- SIP/agent-0000000a is ringing
-- Nobody picked up in 15000 ms
-- Stopped music on hold on SIP/customer1-00000008
-- Playing periodic announcement
-- <SIP/customer1-00000008> Playing 'tb35.gsm' (language 'de')
-- Started music on hold, class 'moh-default', on SIP/customer1-00000008
== Using SIP RTP CoS mark 5
-- SIP/agent-0000000b connected line has changed. Saving it until answer for SIP/customer1-00000008
-- SIP/agent-0000000b is ringing
-- SIP/agent-0000000b is ringing
...
It plays tb35.gsm and then starts the moh music again. It just skips tb36.gsm.
I checked the asterisk “full” log, as well, but it does not show any more information regarding the announcements than the regular asterisk console with agi debug set to on.