Check you musiconhold path in modules.conf or openpbx.conf - I can't quite
recall.

> -----Original Message-----
> From: Armin Schindler [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 30, 2006 4:36 PM
> To: [email protected]
> Subject: [Openpbx-dev] music-on-hold directory error?
> 
> 
> 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
> 
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to