<div dir="ltr"><div><div>Hi Philip,<br><br>If I understand what you're trying to accomplish, namely giving the called party X number of seconds to press 1 to confirm the call, otherwise move on in the call processing, then I'm pretty sure that you don't want to set the group_confirm_cancel_timeout to true. See explanation here:<br><a href="https://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout">https://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout</a><br><br></div>I'd try leaving that as false and setting the leg timeout value to be whatever time you need. Note: I'm pretty sure that the leg timeout includes the amount of time the leg spends ringing the cell phone, so be sure to factor in the possibility that the called party doesn't answer right away but maybe it could take 10+ seconds before the person on the other end of the cell phone even hears "press one to accept."<br><br></div>-MC<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 3:36 PM, Phillip Jones <span dir="ltr"><<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi there,</div><div><br></div><div>I have question about group_confirm and I am hoping someone can help:</div><div><br></div><div>I am bridging a call and prompting the called party to press 1 to answer. Works great:</div><div><br></div><div><span style="white-space:pre-wrap">                </span><action application="answer"/><br></div><div><div> <span style="white-space:pre-wrap">        </span><action application="set" data="group_confirm_file=phrase:ppn_to_accept_call_from"/> </div><div><span style="white-space:pre-wrap">                </span><action application="set" data="group_confirm_key=1"/></div><div><span style="white-space:pre-wrap">                </span><action application="bridge" data="{leg_timeout=10}user2/1001<br></div><div><div><span style="white-space:pre-wrap">                </span><action application="say" data="en number pronounced 54321"/><br></div><div><br></div></div></div><div><span style="white-space:pre-wrap">You will notice that leg_timeout is 10 (set low to test). So that gives the caller just a couple of seconds to answer. So I add:</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap"><b> <action application="set" data="group_confirm_cancel_timeout=true"/></b> </span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">This cancels that leg_timeout - the call now will stay up until the called party presses 1 or either party hangs up.</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">If a call goes to a cell phone voicemail - this can result in a long message of repeated "press 1 to accept call". And I cannot move the calling party on to the next dialplan action. </span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">I tried originate_timeout and call_timeout and all seemed to be cancelled by </span><span style="white-space:pre-wrap">group_confirm_cancel_timeout, as you might expect.</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Is there a way to set a timeout in that group_confirm stage? For example a <b>group_confirm_timeout </b>setting. That would set the seconds the called party has to confirm?</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Thanks in anticipation.</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Phil</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap"><br></span></div></div>
<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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></div>