[Freeswitch-users] I've broken my moh

Brian West brian at freeswitch.org
Thu Jun 4 21:08:07 MSD 2015


I suspect you're attempting to play the moh at a rate other than 8000,
remove the /8000 on moh/8000, restart.

/b


On Tue, Jun 2, 2015 at 6:07 PM, <rick.jarvis at magicmail.mooo.com> wrote:

> 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> 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> wrote:
>
>> Hi all, I’m getting:
>>
>> EXECUTE 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
>
>
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150604/87e611ce/attachment.html 


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