Hi,

maybe it's too late here and I should go to bed, but after upgrading to 
current pre-0.2 branch, my music-on-hold does not work any more.

I get:
2006-03-31 00:10:48 WARNING[3056139184]: file.c:522 opbx_openstream_full: File 
/opt/openpbx.org/var/data/moh/my_sound does not exist in any format
2006-03-31 00:10:48 WARNING[3056139184]: res_musiconhold.c:212 
opbx_moh_files_next: Unable to open file 
'/opt/openpbx.org/var/data/moh/my_sound': No such file or directory
but the file (I tried many extensions) is there.

Then after a short look into 
  file.c:522 opbx_openstream_full
I noticed that opbx_openstream_full() doesn't seem to like absolute paths. 

Obviously it expects just a filename which will be searched in the 'sounds' 
directory, prefixed with the language.

Am I missing here something (wrong conf maybe)?

My musiconhold.conf has:
[default]
mode=files
directory=/opt/openpbx.org/var/data/moh


Armin

_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to