<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>The problem is that "the calls I want" are dynamic. It has to do with proximity based features. This is why I want the originating phone to decide when to request the auto answer or not. &nbsp;So from a dial plan perspective I cannot pre-configure this behaviour.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Thanks for your response.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Peter</div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Wednesday, April 2, 2014 4:34:50 AM, Steven Ayre &lt;steveayre@gmail.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv5940490645"><div>You're on the right lines with that insert. Nest it inside a condition so it only happens on the calls you
 want and it'll do what<span></span> you want.<br clear="none"><br clear="none">On Tuesday, April 1, 2014, Peter Hillier &lt;<a rel="nofollow" shape="rect" ymailto="mailto:peterhillier@yahoo.com" target="_blank" href="mailto:peterhillier@yahoo.com">peterhillier@yahoo.com</a>&gt; wrote:<br clear="none">
<div class="yiv5940490645yqt1634096501" id="yiv5940490645yqt41254"><blockquote class="yiv5940490645gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><div>
I have a specific call scenario where I want to transfer a call and have the destination (REFER-TO) end answer automatically. Basically I own both devices and I am moving the call from my mobile VoIP client to my SIP deskphone. I want it to be seamless with no ringback or alerting introduced (hence the reason I am looking at auto answer).</div>
<div><br clear="none"></div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">My SIP deskphone supports auto-answer when the Call-Info header indicates "<span style="font-size:12pt;">answer-after=0".&nbsp;</span><span style="background-color:transparent;font-size:12pt;">This header is specified in the REFER from the
 originating device (mobile VoIP client). Freeswitch does not pass this header through to the destination device.</span></div><div style="font-style: normal; font-size: 12pt; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span style="font-size:12pt;"><br clear="none"></span></div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span style="font-size:12pt;">Is there any specific setting that I can do to pass this header through? I know that I can change the dialplan using the following:</span></div><div style="font-style: normal; font-size: 12pt; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span style="font-size:12pt;"><br clear="none"></span></div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span style="font-size:12pt;"></span></div><pre style="font-family: monospace, Courier; padding: 1em; border: 1px dashed rgb(47, 111, 171); background-color: rgb(249, 249, 249); line-height: 1.3em; font-size: 13px;">&lt;action application="export" data="sip_auto_answer=true"/&gt;</pre>
<div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="font-size:12pt;">But this triggers all calls to the destination to be auto-answered. I only want some of the calls to be answered (hence to reason I want the originator to specify this header).&nbsp;</span></div>
<div style="font-style: normal; font-size: 12pt; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="font-size:12pt;"><br clear="none"></span></div>
<div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="font-size:12pt;">Regards,</span></div>
<div style="font-style: normal; font-size: 12pt; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="font-size:12pt;">Peter</span></div>
<div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="font-size:12pt;"><br clear="none"></span></div>








</div></div></blockquote></div></div></div><br><div class="yqt1634096501" id="yqt72993">_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none"><br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"><a shape="rect" href="http://wiki.freeswitch.org/"
 target="_blank">http://wiki.freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none"><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>