<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I've implemented the Example 13: Call Screening from <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_13:_Call_Screening">http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_13:_Call_Screening</a> (below) and, while the file plays fine (over and over), fs is reporting an error from switch_ivr_originate. <div><br></div><div>[ERR] switch_ivr_originate.c:202 sofia/internal/sip:1000@10.0.1.100 Error Playing File!</div><div><br></div><div>If I remove the <span class="Apple-style-span" style="font-family: monospace; font-size: 13px; line-height: 14px; white-space: pre; ">group_confirm_file <span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; line-height: normal; white-space: normal; ">line, it works as expected. Could it be that the DTMF (pressing 1 to accept the call) is interrupting the playback of the file?</span></span></div><div><font class="Apple-style-span" face="monospace" size="3"><span class="Apple-style-span" style="font-size: 13px; line-height: 14px; white-space: pre;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; position: static; z-index: auto; "> <extension name="screen">
<condition field="destination_number" expression="^(\d{4})$">
<action application="set" data="call_screen_filename=/tmp/${caller_id_number}-name.wav"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="phrase" data="voicemail_record_name"/>
<action application="playback" data="tone_stream://%(500, 0, 640)"/>
<action application="set" data="playback_terminators=#*0123456789"/>
<action application="record" data="${call_screen_filename} 7 200 2"/>
<action application="set" data="group_confirm_key=1"/>
<action application="set" data="fail_on_single_reject=true"/>
<action application="set" data="group_confirm_file=${call_screen_filename}"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="user/$1"/>
<action application="voicemail" data="default $${domain} $1"/>
<action application="hangup"/>
</condition>
</extension>
</pre><a name="Example_14:_Media_recording" id="Example_14:_Media_recording" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: initial initial; "></a><h3 style="color: black; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; font-size: 17px; background-position: initial initial; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; font-weight: normal; line-height: normal; ">-Troy</span></h3></span></div></body></html>