[Freeswitch-users] Problem with FIFO music and chime

Anthony Minessale anthony.minessale at gmail.com
Thu Aug 18 19:04:09 MSD 2011


yes please

On Thu, Aug 18, 2011 at 4:13 AM, Tomasz Hyziak <tomasz at hyziak.pl> wrote:
> Hello Anthony.
>
> Before a moment I recompiled FS to .version git-cd31633 2011-08-17
> 19-34-22 -0500 . It's not working. Shall I send my full configuration
> to you ?
>
> --
> pozdrawiam - Tomasz Hyziak
>
>
>
> 2011/8/17 Anthony Minessale <anthony.minessale at gmail.com>:
>> Can you update again and confirm that is still the case.  We tested it
>> and it seems to work.
>>
>>
>> On Wed, Aug 17, 2011 at 3:40 AM, Tomasz Hyziak <tomasz at hyziak.pl> wrote:
>>> 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
>>>
>>>
>>> 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
>>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>>
>> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



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