[Freeswitch-users] how to play a prompt after connection
Dave Horton
daveh at beachdognet.com
Thu Aug 30 22:59:34 MSD 2012
On 2012-08-30 16:24:28 +0000, Michael Collins said:
> Lab it up just with the dialplan using as simple a config as possible.
> Capture logs and post to pastebin.freeswitch.org along with your
> relevant configs (dialplan, conference) and some of the gang here will
> see if they can help analyze what's going on.
Ok, I reproduced the scenario where it is a bridged call (not a
conference) where I play the prompt after answer and get the extremely
choppy audio (10 seconds or more to play a 4 second prompt). The
pastebin of the debug logging is at
http://pastebin.freeswitch.org/19785, and the configuration I used is
below. If anyone can point out what might be causing this it would be
appreciated. Next I will try the conferencing version and paste those
results
<extension name="6174973896" continue="false">
<condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="6174973896">
<action application="set" data="call_limit=1"/>
<action application="set" data="callFactor=1"/>
<action application="set" data="customer=cps_play"/>
<action application="ring_ready"/>
<action application="pre_answer"/>
<action application="start_dtmf"/>
<action application="set"
data="call_id=${strftime(%Y%m%d_%H%M%S)}_${sip_from_tag}"/>
<action application="set"
data="outfile=$${base_dir}/recordings/${call_id}.wav"/>
<action application="export"
data="nolocal:jitterbuffer_msec=100"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="set" data="aleg_uuid=${uuid}"/>
<action application="set"
data="call_id=${strftime(%Y%m%d_%H%M%S)}_${sip_from_tag}"/>
<action application="set"
data="outfile=$${base_dir}/recordings/${call_id}.wav"/>
<action application="record_session" data="${outfile}"/>
<action application="set" data="progress_timeout=60"/>
<action application="set" data="call_timeout=120"/>
<action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export"
data="nolocal:api_on_answer=uuid_broadcast ${uuid}
misc/this-call-is-being-recorded.wav bleg"/>
<action application="bridge"
data="sofia/normal_customer/15083084809@${egress_gateway}"/>
</condition>
</extension>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list