try setting this var to true prior to the bridge:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#hangup_after_bridge">http://wiki.freeswitch.org/wiki/Channel_Variables#hangup_after_bridge</a><br><br><div class="gmail_quote">
On Thu, Dec 22, 2011 at 2:09 PM, Gilad Abada <span dir="ltr">&lt;<a href="mailto:ga@steadfasttelecom.com">ga@steadfasttelecom.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
I am trying to get call screening to work too.<br>
<a href="http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_13:_Call_Screening" target="_blank">http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_13:_Call_Screening</a><br>
<br>
The issue I am having is that if the called device hangs up even after<br>
a full conversation (accepting the call by pressing 1) the calling<br>
party gets sent to voicemail.<br>
<br>
Seems like being sent to voicemail should be an anti-action?<br>
Also the recording says to reject the call press 2 or send it to VM<br>
press 3. These are not defined in the dial plan and I am not sure how<br>
to do that.<br>
<br>
Thanks in advance!<br>
Gill<br>
<br>
On Wed, Dec 7, 2011 at 5:51 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>
&gt; it looks like the person who posted that example did not post their sample<br>
&gt; phrase macro file. However, do a git pull...<br>
&gt;<br>
&gt; commit 9ea3ce666fa7f021b5c2a7e2fbe153eb351c5734<br>
&gt; Author: Michael S Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
&gt; Date:   Wed Dec 7 14:49:16 2011 -0800<br>
&gt;<br>
&gt;     config: add screen_confirm macro to lang/en/ivr/sounds.xml<br>
&gt;<br>
&gt; snag that config file and drop it into conf/lang/en/ivr/ and then reloadxml.<br>
&gt; I did this on the fly w/o testing so be sure to test it thoroughly to make<br>
&gt; sure it works! Also, be sure to use the full path name to the sound file<br>
&gt; that you are playing back.<br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Wed, Dec 7, 2011 at 12:49 PM, Phil Quesinberry<br>
&gt; &lt;<a href="mailto:philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m trying to use the call screening example in the wiki and can&#39;t get FS<br>
&gt;&gt; to<br>
&gt;&gt; play the caller&#39;s name back to the destination extension.<br>
&gt;&gt; example here:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_13:_Call_Scr" target="_blank">http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_13:_Call_Scr</a><br>
&gt;&gt; eening<br>
&gt;&gt;<br>
&gt;&gt; The initial announcement asking for the caller&#39;s name works fine:<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> phrase(voicemail_record_name)<br>
&gt;&gt; 2011-12-07 14:52:13.715494 [DEBUG] mod_dptools.c:2362 Execute<br>
&gt;&gt; voicemail_record_name() lang<br>
&gt;&gt; 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:67 No language<br>
&gt;&gt; specified - Using [en]<br>
&gt;&gt; 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:244 Handle<br>
&gt;&gt; play-file:[voicemail/vm-record_name1.wav] (en:en)<br>
&gt;&gt; 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:1302 Codec<br>
&gt;&gt; Activated L16@8000hz 1 channels 20ms<br>
&gt;&gt; 2011-12-07 14:52:18.695891 [DEBUG] switch_ivr_play_say.c:1672 done playing<br>
&gt;&gt; file<br>
&gt;&gt; /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_name1.wav<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> playback(tone_stream://%(500,<br>
&gt;&gt; 0,<br>
&gt;&gt; 640))<br>
&gt;&gt; 2011-12-07 14:52:18.799791 [DEBUG] switch_ivr_play_say.c:1302 Codec<br>
&gt;&gt; Activated L16@8000hz 1 channels 20ms<br>
&gt;&gt; 2011-12-07 14:52:19.299814 [DEBUG] switch_ivr_play_say.c:1672 done playing<br>
&gt;&gt; file tone_stream://%(500, 0, 640)<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
&gt;&gt; set(playback_terminators=#*0123456789)<br>
&gt;&gt; 2011-12-07 14:52:19.299814 [DEBUG] mod_dptools.c:1263<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET<br>
&gt;&gt; [playback_terminators]=[#*0123456789]<br>
&gt;&gt;<br>
&gt;&gt; Then the caller&#39;s name is recorded, and I&#39;ve verified that the recording<br>
&gt;&gt; is<br>
&gt;&gt; indeed saved in /tmp:<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> record(/tmp/102-name.wav 7 200<br>
&gt;&gt; 2)<br>
&gt;&gt; 2011-12-07 14:52:19.299814 [DEBUG] switch_ivr_play_say.c:585 Raw Codec<br>
&gt;&gt; Activated<br>
&gt;&gt; 2011-12-07 14:52:19.299814 [DEBUG] switch_core_codec.c:116<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> Push codec L16:70<br>
&gt;&gt; .<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> set(group_confirm_key=1)<br>
&gt;&gt; 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET [group_confirm_key]=[1]<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
&gt;&gt; set(fail_on_single_reject=true)<br>
&gt;&gt; 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET [fail_on_single_reject]=[true]<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
&gt;&gt; set(group_confirm_file=phrase:screen_confirm:/tmp/102-name.wav)<br>
&gt;&gt; 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET<br>
&gt;&gt; [group_confirm_file]=[phrase:screen_confirm:/tmp/102-name.wav]<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> set(continue_on_fail=true)<br>
&gt;&gt; 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
&gt;&gt; sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET [continue_on_fail]=[true]<br>
&gt;&gt; EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> bridge(user/102)<br>
&gt;&gt; .<br>
&gt;&gt; Then when attempting to play back the Output from the console showing the<br>
&gt;&gt; error is here:<br>
&gt;&gt; 2011-12-07 14:52:26.348406 [ERR] switch_ivr_play_say.c:142 Can&#39;t find<br>
&gt;&gt; macro<br>
&gt;&gt; screen_confirm.<br>
&gt;&gt; 2011-12-07 14:52:26.348406 [WARNING] switch_ivr_play_say.c:339 Macro<br>
&gt;&gt; [screen_confirm]: &#39;/tmp/102-name.wav&#39; did not match any patterns<br>
&gt;&gt; 2011-12-07 14:52:26.348406 [ERR] switch_ivr_originate.c:219<br>
&gt;&gt; sofia/internal/<a href="http://sip:102@192.168.1.4:5060" target="_blank">sip:102@192.168.1.4:5060</a> Error Playing File!<br>
&gt;&gt;<br>
&gt;&gt; The call goes right to voicemail once the destination extension attempts<br>
&gt;&gt; to<br>
&gt;&gt; answer it.<br>
&gt;&gt;<br>
&gt;&gt; Where are these macros supposed to be stored?  Somewhere under<br>
&gt;&gt; /usr/local/freeswitch/conf/lang/en?  Do I need to create a macro for<br>
&gt;&gt; screen_confirm or is it just named incorrectly or in the wrong place?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Phil Quesinberry<br>
&gt;&gt; Q Systems Engineering, Inc.<br>
&gt;&gt; Electronic Controls and Embedded Systems Development<br>
&gt;&gt; <a href="tel:%28410%29%20969-8002" value="+14109698002">(410) 969-8002</a><br>
&gt;&gt; <a href="http://www.qsystemsengineering.com" target="_blank">http://www.qsystemsengineering.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt;<br>
&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Gilad Abada<br>
<br>
SteadFast Telecommunications, Inc.<br>
<br>
Call us to find out how much you can save with VoIP!<br>
<br>
V: <a href="tel:212.589.1001" value="+12125891001">212.589.1001</a><br>
F: <a href="tel:212.589.1011" value="+12125891011">212.589.1011</a><br>
<br>
<br>
For 35 years, Steadfast Telecommunications has been providing<br>
state-of-the-art communications technology to businesses and<br>
government agencies - large and small. Steadfast Telecommunications<br>
tailors Unified Communications and Voice-Over IP Solutions to<br>
single-site offices or multi-site and worldwide enterprises.   Make<br>
your virtual office a reality.  Enjoy the freedom to travel while<br>
remaining connected to your office.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>