[Freeswitch-users] I've broken my moh

rick.jarvis at magicmail.mooo.com rick.jarvis at magicmail.mooo.com
Wed Jun 3 03:07:19 MSD 2015


Loaded the module manually and could see it was looking for the files in sounds/music/ but the files were in sounds/music/default/ - moved them up a directory and it works. But I guess it shouldn’t be falling back to default anyway. How do I reference local_stream://moh to sounds/music/moh/ ?

My definitions in local_stream.conf look like this:

  <directory name="moh/8000" path="$${sounds_dir}/music/8000">
    <param name="rate" value="8000"/>
    <param name="shuffle" value="true"/>
    <param name="channels" value="1"/>
    <param name="interval" value="20"/>
    <param name="timer-name" value="soft"/>
  </directory>


> On 2 Jun 2015, at 17:23, Michael Jerris <mike at jerris.com> wrote:
> 
> You will likely see something useful in the debug when you load mod_local_stream
> 
>> On Jun 2, 2015, at 12:07 PM, Chris Tunbridge <blasterjr at gmail.com <mailto:blasterjr at gmail.com>> wrote:
>> 
>> So your local_stream.conf.xml has a profile called moh in it?
>> 
>> On Mon, Jun 1, 2015 at 3:43 PM, <rick.jarvis at magicmail.mooo.com <mailto:rick.jarvis at magicmail.mooo.com>> wrote:
>> Hi all, I’m getting:
>> 
>> EXECUTE sofia/internal/501 at 10.0.0.1 <mailto:sofia/internal/501 at 10.0.0.1> playback(local_stream://moh)
>> 2015-06-01 22:35:59.233311 [WARNING] mod_local_stream.c:470 Unknown source moh, trying 'default'
>> 2015-06-01 22:35:59.233311 [ERR] mod_local_stream.c:479 Unknown source default
>> 
>> The wav files are there, mod_local_stream is loaded, and local_stream.conf.xml is the same as vanilla. Must be missing some config part, I’ve even grep’d vanilla for ‘moh’ to see if I can find something I haven’t got, but that hasn’t helped. What else can I check?
>> 
>> R
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150603/52e89bd7/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list