<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I try to find out a solution for the following:<br>
<ul>
<li>A calls B (Dialplan A to B is executed with A as external
number and B as local phone)<br>
</li>
<li>B is initiating an attended transfer to C (local phone),
Dialplan B to C is executed</li>
<li>B is then executing the attended transfer to C, B sends a
REFER to Freeswitch with C in the Refer header)<br>
</li>
<li>Freeswitch detects attended transfer, does not trigger a
dialplan and redirects the call directly to user/C</li>
<li>Problem: C still sees B as caller_id in his phone display
instead of A, dependent on the phone Type (Snom or Yealink)<br>
</li>
</ul>
<p>So I am wondering, if I could get the REFER to trigger a
dialplan, so I can control the displyed numbers?<br>
</p>
<p>I searched a bit and found the variables
"force_transfer_dialplan" an "force_transfer_context". Looking
into the code in switch_ivr.c, I can see that the variables are
preset with "XML", resp. "default".</p>
<p>Question: Can I use these variables to hit the dialplan on REFER.
And if yes, how can I do this?<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
With kind regards
Peter Steinbach
</pre>
</body>
</html>