magnussolution / magnusbilling7

MagnusBilling is a fast, secure, efficient, high availability, VOIP Billing.
https://www.magnusbilling.org
GNU Lesser General Public License v3.0
180 stars 107 forks source link

There is no audio during the campaign #376

Closed voiptelecom closed 4 years ago

voiptelecom commented 4 years ago

When creating the campaign and uploading the audios, there are two problems:

1) Audio does not play (even if the rules are complied with, be it GSM or WAV

2) When executing the campaign when the call is made, there is no audio playback as such, there is only silence and that's it.

shahrukhfiaz commented 4 years ago

try to compress the audio under 1MB

magnussolution commented 4 years ago

audio need be in .gsm or .wav 8000 mono.

check on the asterisk log /var/log/asterisk/message

asterisk will show an error if audio is in an invalid format.

magnussolution commented 4 years ago

we change the method to play the audio

check the commit https://github.com/magnussolution/magnusbilling7/commit/9e103407896d9566a3488d39a6e42032a1d3a812

now when you click in the Play icon, it will try to open the file on a new page, if browser can't play it will download the audio.