[Freeswitch-users] Call Screening Example Broken?

Troy Anderson troy at tlainvestments.com
Tue Jan 19 22:15:36 PST 2010


I've implemented the Example 13: Call Screening from http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_13:_Call_Screening (below) and, while the file plays fine (over and over), fs is reporting an error from switch_ivr_originate.  

[ERR] switch_ivr_originate.c:202 sofia/internal/sip:1000 at 10.0.1.100 Error Playing File!

If I remove the group_confirm_file line, it works as expected.  Could it be that the DTMF (pressing 1 to accept the call) is interrupting the playback of the file?

 <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>
-Troy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100119/79becf91/attachment-0002.html 


More information about the FreeSWITCH-users mailing list