[Freeswitch-users] help with: [ERR] mod_local_stream.c:266 local_stream_file_open() unknown source moh

Diego Viola diego.viola at gmail.com
Sun Jul 6 17:49:04 PDT 2008


I did make hd-moh-install, I also installed all the sound files after
the make install.

I am calling 3232, this one:

    <extension name="uwb_conferences">
        <condition field="destination_number" expression="^(32\d{2})$">
        <action application="answer"/>
        <!--<action application="send_display" data="32k Conference $1"/>-->
        <action application="conference" data="$1 at ultrawideband"/>
      </condition>
    </extension>

I don't think I have touched local_stream.conf.xml, this is a recent install.

This is what I have in my local_stream.conf.xml file:

<configuration name="local_stream.conf" description="stream files from
local dir">
  <directory name="moh/8000" path="$${base_dir}/sounds/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>

  <directory name="moh/16000" path="$${base_dir}/sounds/music/16000">
    <param name="rate" value="16000"/>
    <param name="shuffle" value="true"/>
    <param name="channels" value="1"/>
    <param name="interval" value="20"/>
    <param name="timer_name" value="soft"/>
  </directory>
  <!--
  <directory name="moh/32000" path="$${base_dir}/sounds/music/32000">
    <param name="rate" value="32000"/>
    <param name="shuffle" value="true"/>
    <param name="channels" value="1"/>
    <param name="interval" value="20"/>
    <param name="timer_name" value="soft"/>
  </directory>
  -->
</configuration>

Shouldn't that be uncommented?

Diego

On Sun, Jul 6, 2008 at 8:31 PM, Brian West <brian at freeswitch.org> wrote:
> You'll have to make sure you have both 8k and 16k files installed.
> Which conference were you calling in the default configs?
>
> make hd-moh-install
>
> Or you have changed local_stream.conf.xml from the defaults.
>
> /b
>
> On Jul 6, 2008, at 7:23 PM, Diego Viola wrote:
>
>> Hi
>>
>> When I dial a conference I get this:
>>
>> 2008-07-07 00:19:45 [ERR] mod_local_stream.c:266
>> local_stream_file_open() unknown source moh
>>
>> I think I have all the MOH files:
>>
>> http://pastebin.com/m6a463dfa
>> http://pastebin.com/m7f24dce
>>
>> Maitei:~# grep hold_music /usr/local/freeswitch/conf/vars.xml
>>  <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
>>
>> Sorry if I'm missing something... I'm still very new in FreeSWITCH,
>> but I'm really enjoying the experience.
>>
>> Thanks,
>>
>> Diego
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>




More information about the FreeSWITCH-users mailing list