MOH Is Kicking My Arse

Status
Not open for further replies.

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
So it seems like no matter what file format I upload I inevitably end up with this:

2020-03-21 05:09:56.524102 [ERR] switch_core_file.c:101 Invalid Filename
2020-03-21 05:09:56.524102 [ERR] mod_local_stream.c:360 Can't open
2020-03-21 05:09:57.524119 [ERR] switch_core_file.c:101 Invalid Filename
2020-03-21 05:09:57.524119 [ERR] mod_local_stream.c:360 Can't open
2020-03-21 05:09:58.524089 [ERR] switch_core_file.c:101 Invalid Filename
2020-03-21 05:09:58.524089 [ERR] mod_local_stream.c:360 Can't open

I ran through a training video on this so I'm fairly certain I'm doing everything right, so either there's something weird with the version I'm on, or what's most likely is somehow I'm dorking the file format. What's weird though is I've tried quite a few file formats. Even tried an .mp3 with default sampling and 'mod_shout' enabled.
I don't recall having quite this much trouble with 4.4, but I do recall it being a to-do to get the file format just right.

Any thoughts on this would be great, been using Audacity to try to export the files appropriately.
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Also if it goes on long enough the log file starts to look like this:

2020-03-21 05:20:36.344105 [ERR] switch_core_file.c:296 Unknown file Format [z▒▒د▒▒]
2020-03-21 05:20:36.344105 [ERR] mod_local_stream.c:360 Can't open z▒▒د▒▒
2020-03-21 05:20:37.344057 [ERR] switch_core_file.c:296 Unknown file Format [▒Z▒▒▒B▒yɚj▒^▒9▒▒▒▒▒▒▒▒▒▒=[lR]▒▒▒(▒ ]
2020-03-21 05:20:37.344057 [ERR] mod_local_stream.c:360 Can't open ▒Z▒▒▒B▒yɚj▒^▒9▒▒▒▒▒▒▒▒▒▒=[lR]▒▒▒(▒
2020-03-21 05:20:38.344089 [ERR] switch_core_file.c:296 Unknown file Format [▒▒T]
2020-03-21 05:20:38.344089 [ERR] mod_local_stream.c:360 Can't open ▒▒T
2020-03-21 05:20:39.344123 [ERR] switch_core_file.c:296 Unknown file Format [(▒dZ▒▒U▒+F▒▒r*▒$▒E▒<C▒▒{+▒?7▒▒[▒▒▒▒▒▒▒▒▒▒▒▒շ▒(-▒J▒▒▒-▒▒(▒▒*\]
2020-03-21 05:20:39.344123 [ERR] mod_local_stream.c:360 Can't open (▒dZ▒▒U▒+F▒▒r*▒$▒E▒<C▒▒{+▒?7▒▒[▒▒▒▒▒▒▒▒▒▒▒▒շ▒(-▒J▒▒▒-▒▒(▒▒*\
2020-03-21 05:20:40.344107 [ERR] switch_core_file.c:296 Unknown file Format [a▒#"▒D#٤▒I▒▒▒▒▒▒▒B'▒▒/▒?▒▒(▒a▒]
2020-03-21 05:20:40.344107 [ERR] mod_local_stream.c:360 Can't open a▒#"▒D#٤▒I▒▒▒▒▒▒▒B'▒▒/▒?▒▒(▒a▒
2020-03-21 05:20:41.344087 [ERR] switch_core_file.c:296 Unknown file Format [▒0,▒I3▒W▒▒n▒▒▒▒o4▒▒ͅ▒▒]
2020-03-21 05:20:41.344087 [ERR] mod_local_stream.c:360 Can't open ▒0,▒I3▒W▒▒n▒▒▒▒o4▒▒ͅ▒▒
 

ewdpb

Member
Oct 3, 2019
151
19
18
What name and file format are you using? The error says: Invalid Filename. And then in your second post it complains about the format. On Audacity there is not much to set up:

- Mono Track:
- Rate: 44100, 32000, 16000, 8000

I have lately created quite a bunch of prompts for IVR and that is all I have had to do. I am using one for MoH and did not do anything differently.
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
What name and file format are you using? The error says: Invalid Filename. And then in your second post it complains about the format. On Audacity there is not much to set up:

- Mono Track:
- Rate: 44100, 32000, 16000, 8000

I have lately created quite a bunch of prompts for IVR and that is all I have had to do. I am using one for MoH and did not do anything differently.

So in audacity I split the track to mono, and delete the unnecessary track, for the project rate I put it at 8000, 16000, 32000, and 48000 respectively. I export it as:
Wav, Microsoft 16-Bit PCM Signed
and I've also tried
Other Uncompressed - WAV (Microsoft) - U-Law
and I've also tried
Other Uncompressed - WAV (Microsoft) - Unsigned 8-Bit or Signed 16-Bit

To be fair it was 12am last night when I hit the sack, so I wonder if after some sleep I'll see something different that I missed before, but I was at this for hours and the moment I upload any of these files I start getting those errors, which I would agree normally indicates a problem with the file format.
 

ewdpb

Member
Oct 3, 2019
151
19
18
Mono Wav, 16-Bit PCM Signed should really just work.

Can you check the files with sox just to make sure Audacity is actually exporting them as you intend? As an example this is one of my working wav files:

sox.png
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Well...it worked now...
Only thing I can think of that I did differently was I sox --i it before I uploaded it, and I had a friend present called James who claims his mere presence was a catalyst of change that I needed.
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Ok well this is something, so this time I uploaded it to "Default" and it worked; well I took that same file (48000) and uploaded it to Custom\48000 and those errors came back. Same if I uploaded the 16000 version to the Custom\16000.
 
Status
Not open for further replies.