Announce Sound

jgcps

New Member
Jul 14, 2019
2
0
1
26
I am trying to setup a wav file to play every 20 seconds however I don't know off hand what the exact path to the wave file is for the "Announce Sound" field. The file is currently uploaded to the recordings app/module. Can anyone help me out with this?
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Hi Everyone - I need some help as I am having the same issue finding the wave path for the annouce sound.

Any ideas please?
 

KonradSC

Active Member
Mar 10, 2017
134
68
28
See if your "find" command works on a known file.

Also, Recordings uploaded from the web interface typically live somewhere in /var/lib/freeswitch/recordings/.
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Thanks for your help.

However, both options don't seem to work. The sound is not announced.

I suspect the path is not location the correct file or something.
 

KonradSC

Active Member
Mar 10, 2017
134
68
28
Interesting...if the file isn't on the file system then you aren't going to hear anything. You need to upload the file, find the file on the file system and enter the full path in the "Announce Sound" field.
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Yea - the file is in the system under recordings and i can see and play the file in fusionpbx recordings

I used the var path:

/var/lib/freeswitch/recordings/audio.wav


There must be a way to get the file path and use it in announce sound
 

KonradSC

Active Member
Mar 10, 2017
134
68
28
So when you put " /var/lib/freeswitch/recordings/audio.wav" in the box it doesn't work?

Perhaps check the file permissions. Should be owned by 'www-data'.
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Thanks. it doesnt work when i put " /var/lib/freeswitch/recordings/audio.wav" in the box it doesn't work?
I shall check the permission

Thanks
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Finally sorted it. i was missing the domain name in the path.

Full path should have been : " /var/lib/freeswitch/recordings/domainname/audio.wav"
 

Dee

New Member
Jun 7, 2019
27
2
3
31
Thanks for your help
Hope somebody else find this useful. Now my call centre can play the announce sound based on the frequency set