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"><<a href="mailto:ga@steadfasttelecom.com">ga@steadfasttelecom.com</a>></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 <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
> it looks like the person who posted that example did not post their sample<br>
> phrase macro file. However, do a git pull...<br>
><br>
> commit 9ea3ce666fa7f021b5c2a7e2fbe153eb351c5734<br>
> Author: Michael S Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
> Date: Wed Dec 7 14:49:16 2011 -0800<br>
><br>
> config: add screen_confirm macro to lang/en/ivr/sounds.xml<br>
><br>
> snag that config file and drop it into conf/lang/en/ivr/ and then reloadxml.<br>
> I did this on the fly w/o testing so be sure to test it thoroughly to make<br>
> sure it works! Also, be sure to use the full path name to the sound file<br>
> that you are playing back.<br>
><br>
> -MC<br>
><br>
> On Wed, Dec 7, 2011 at 12:49 PM, Phil Quesinberry<br>
> <<a href="mailto:philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>> wrote:<br>
>><br>
>> I'm trying to use the call screening example in the wiki and can't get FS<br>
>> to<br>
>> play the caller's name back to the destination extension.<br>
>> example here:<br>
>><br>
>> <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>
>> eening<br>
>><br>
>> The initial announcement asking for the caller's name works fine:<br>
>> 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>
>> 2011-12-07 14:52:13.715494 [DEBUG] mod_dptools.c:2362 Execute<br>
>> voicemail_record_name() lang<br>
>> 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:67 No language<br>
>> specified - Using [en]<br>
>> 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:244 Handle<br>
>> play-file:[voicemail/vm-record_name1.wav] (en:en)<br>
>> 2011-12-07 14:52:13.715494 [DEBUG] switch_ivr_play_say.c:1302 Codec<br>
>> Activated L16@8000hz 1 channels 20ms<br>
>> 2011-12-07 14:52:18.695891 [DEBUG] switch_ivr_play_say.c:1672 done playing<br>
>> file<br>
>> /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_name1.wav<br>
>> 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>
>> 0,<br>
>> 640))<br>
>> 2011-12-07 14:52:18.799791 [DEBUG] switch_ivr_play_say.c:1302 Codec<br>
>> Activated L16@8000hz 1 channels 20ms<br>
>> 2011-12-07 14:52:19.299814 [DEBUG] switch_ivr_play_say.c:1672 done playing<br>
>> file tone_stream://%(500, 0, 640)<br>
>> EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
>> set(playback_terminators=#*0123456789)<br>
>> 2011-12-07 14:52:19.299814 [DEBUG] mod_dptools.c:1263<br>
>> sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET<br>
>> [playback_terminators]=[#*0123456789]<br>
>><br>
>> Then the caller's name is recorded, and I've verified that the recording<br>
>> is<br>
>> indeed saved in /tmp:<br>
>> 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>
>> 2)<br>
>> 2011-12-07 14:52:19.299814 [DEBUG] switch_ivr_play_say.c:585 Raw Codec<br>
>> Activated<br>
>> 2011-12-07 14:52:19.299814 [DEBUG] switch_core_codec.c:116<br>
>> 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>
>> .<br>
>> 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>
>> 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
>> 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>
>> EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
>> set(fail_on_single_reject=true)<br>
>> 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
>> 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>
>> EXECUTE sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a><br>
>> set(group_confirm_file=phrase:screen_confirm:/tmp/102-name.wav)<br>
>> 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
>> sofia/internal/<a href="http://102@192.168.1.6:5060" target="_blank">102@192.168.1.6:5060</a> SET<br>
>> [group_confirm_file]=[phrase:screen_confirm:/tmp/102-name.wav]<br>
>> 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>
>> 2011-12-07 14:52:21.623965 [DEBUG] mod_dptools.c:1263<br>
>> 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>
>> 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>
>> .<br>
>> Then when attempting to play back the Output from the console showing the<br>
>> error is here:<br>
>> 2011-12-07 14:52:26.348406 [ERR] switch_ivr_play_say.c:142 Can't find<br>
>> macro<br>
>> screen_confirm.<br>
>> 2011-12-07 14:52:26.348406 [WARNING] switch_ivr_play_say.c:339 Macro<br>
>> [screen_confirm]: '/tmp/102-name.wav' did not match any patterns<br>
>> 2011-12-07 14:52:26.348406 [ERR] switch_ivr_originate.c:219<br>
>> 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>
>><br>
>> The call goes right to voicemail once the destination extension attempts<br>
>> to<br>
>> answer it.<br>
>><br>
>> Where are these macros supposed to be stored? Somewhere under<br>
>> /usr/local/freeswitch/conf/lang/en? Do I need to create a macro for<br>
>> screen_confirm or is it just named incorrectly or in the wrong place?<br>
>><br>
>> Thanks,<br>
>><br>
>> Phil Quesinberry<br>
>> Q Systems Engineering, Inc.<br>
>> Electronic Controls and Embedded Systems Development<br>
>> <a href="tel:%28410%29%20969-8002" value="+14109698002">(410) 969-8002</a><br>
>> <a href="http://www.qsystemsengineering.com" target="_blank">http://www.qsystemsengineering.com</a><br>
>><br>
>><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>
><br>
><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>
><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>