[Freeswitch-users] Problem with FIFO music and chime

Tomasz Hyziak tomasz at hyziak.pl
Wed Aug 17 12:40:36 MSD 2011


Hi

I created simple IVR. When caller presses 2, he is redirected to FIFO.
But i've got a problem with fifo_music and fifo_chime_* variables...

When I set only fifo_music - music plays.
When I set fifo_music and fifo_chime_freq (set to 10) and
fifo_chime_list - music play ONLY. There are no chime every 10
seconds.
When I set only fifo_chime_* variables (without fifo_music) - chime
plays every 10 seconds...

I've got no idea why it happend - it was working about 2 weeks ago...

I use FreeSwitch from git (downloaded @ 4 July).

Dialplan:

  <extension name="in_dialog_1">
    <condition field="destination_number" expression="^(hidden)$">
      <action application="set" data="RECORD_STEREO=true"/>
      <action application="record_session"
data="/srv/nagrania/aktualne/IN_${strftime(%Y%m%d-%H%M%S)}_${destination_number}_${caller_id_number}.wav"/>

      <action application="set" data="media_bug_answer_req=true"/>
      <action application="set" data="domain_name=$${domain}"/>
      <action application="export" data="absolute_codec_string=PCMU,PCMA"/>
      <action application="export" data="codec_string=PCMU,PCMA"/>
      <action application="set" data="jitterbuffer_msec=180"/>
      <action application="set" data="hangup_after_bridge=true"/>

      <action application="answer"/>
      <action application="sleep" data="2000"/>

      <action application="set"
data="fifo_chime_list=/srv/nagrania/ivr/prosze_czekac.wav"/>
      <action application="set" data="fifo_chime_freq=10"/>
      <action application="set"
data="fifo_music=/usr/local/freeswitch/sounds/music/8000/ponce-preludio-in-e-major.wav"/>

      <action application="ivr" data="ivr"/>

      <action application="fifo" data="fifo_ogolne in"/>

      <action application="hangup"/>
    </condition>
  </extension>


IVR:

<include>
  <menu name="ivr"
      greet-long="/srv/nagrania/ivr/powitanie_pelne.wav"
      greet-short="/srv/nagrania/ivr/powitanie_skrocone.wav"
      invalid-sound="/srv/nagrania/ivr/zla_opcja.wav"
      exit-sound="/srv/nagrania/ivr/laczenie_z_operatorem.wav"
      confirm-macro="" confirm-key="" tts-engine="flite"
tts-voice="rms" confirm-attempts="2"
      timeout="5000" inter-digit-timeout="2000" max-failures="2"
max-timeouts="2" digit-len="1">

    <entry action="menu-exec-app" digits="1" param="bridge user/1100"/>
    <entry action="menu-exec-app" digits="2" param="fifo fifo_ogolne in"/>
    <entry action="menu-top" digits="9"/>
  </menu>

</include>


FIFO:

<configuration name="fifo.conf" description="FIFO Configuration">
  <settings>
    <param name="delete-all-outbound-member-on-startup" value="false"/>
  </settings>
  <fifos>
    <fifo name="fifo_ogolne" importance="0">
      <member timeout="10" simo="1"
lag="2">{fifo_member_wait=nowait}user/1110</member>
      <member timeout="10" simo="1"
lag="2">{fifo_member_wait=nowait}user/1111</member>
      <member timeout="10" simo="1"
lag="2">{fifo_member_wait=nowait}user/1112</member>
      ...other users...
    </fifo>
  </fifos>
</configuration>


--
Greetings - Tomasz Hyziak



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list