You can match on any variable, use the info app to see what is available<div><br></div>field="${var}" in the <condition><div><br></div><div><br><div><br>On Wednesday, April 2, 2014, Peter Hillier <<a href="mailto:peterhillier@yahoo.com">peterhillier@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_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>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="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br></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>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="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span><br></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>Thanks for your time Steven. This really helps out.</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></span></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 9:13:21 AM, Steven Ayre <<a>steveayre@gmail.com</a>> wrote:<br> </font> </div> <div><div><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 <<a rel="nofollow" shape="rect">peterhillier@yahoo.com</a>> 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>
<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. 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 <<a rel="nofollow" shape="rect">steveayre@gmail.com</a>> 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 <<a rel="nofollow" shape="rect">peterhillier@yahoo.com</a>> 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". </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">
</div></div></div></blockquote></div></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></div></div></div></div></blockquote></div></div>