<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>Excellent point about a prefix. But I am intrigued by the comment that I can check using a condition such as a header value on a per call basis. I will google this and see if I can find some examples. I was not aware this could be done.</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;"><span>Can I do something similar to pull the call back from a device? So if a call is established to ext 1000 can I send something
 (prefix or x-header) to make Freeswitch transfer that call to me? Kinda like call pickup except that call is active so ext 1000 will get a BYE and no longer be in the call.</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;"><span>Thanks for your time Steven. This really helps out.</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 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 9:13:21 AM, Steven Ayre &lt;steveayre@gmail.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv5730314678"><div>You could check the condition against something from the originating phone including a custom X header, or a prefix you strip from the number before dialing...<span></span><br clear="none"><br clear="none">On Wednesday, April 2, 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="yiv5730314678yqt3223683611" id="yiv5730314678yqt78364"><blockquote class="yiv5730314678gmail_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>
<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="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span><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;">
Thanks for your response.</div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><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;">
Peter</div><div 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 face="Arial"> On Wednesday, April 2, 2014 4:34:50 AM, Steven Ayre &lt;<a rel="nofollow" shape="rect" href="">steveayre@gmail.com</a>&gt; wrote:<br clear="none">
 </font> </div>  <div><div><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" href="">peterhillier@yahoo.com</a>&gt; wrote:<br clear="none">

<div><blockquote 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 clear="none"><div>_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a rel="nofollow" shape="rect" href="">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none"><br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none"><br clear="none">
FreeSWITCH-users mailing list<br clear="none"><a rel="nofollow" shape="rect" href="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none"></div><br clear="none"><br clear="none"></div>  </div> </div>  </div> </div></div></blockquote></div></div></div><br><div class="yqt3223683611" id="yqt76147">_________________________________________________________________________<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>