Hi everyone. Im checking res_features.c, function builtin_atxfer().
There exists a decision of wether ot use TRANSFER_CONTEXT from the peer
or chan channels. I just want to know if exists a specific reason to
give priority to the transferee context??<br>
<br>
The code is:<br>
<br>



<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">

<pre>        ast_log(LOG_DEBUG, <span style="color: rgb(221, 0, 0);">&quot;Executing Attended Transfer %s, %s (sense=%d) XXX</span><span style="color: rgb(255, 0, 255);">\n</span><span style="color: rgb(221, 0, 0);">&quot;</span>
, chan-&gt;name, peer-&gt;name, sense);
        <b>if</b> (sense == FEATURE_SENSE_PEER) {
                transferer = peer;
                transferee = chan;
        } <b>else</b> {
                transferer = chan;
                transferee = peer;
        }
        <b>if</b> (!(transferer_real_context=pbx_builtin_getvar_helper(transferee, <span style="color: rgb(221, 0, 0);">&quot;TRANSFER_CONTEXT&quot;</span>)) &amp;&amp;
           !(transferer_real_context=pbx_builtin_getvar_helper(transferer, <span style="color: rgb(221, 0, 0);">&quot;TRANSFER_CONTEXT&quot;</span>))) {
                <span style="color: rgb(128, 128, 128);"><i>/* Use the non-macro context to transfer the call */</i></span>
                <b>if</b> (!ast_strlen_zero(transferer-&gt;macrocontext))
                        transferer_real_context = transferer-&gt;macrocontext;
                <b>else</b>
                        transferer_real_context = transferer-&gt;context;
        }</pre><br clear="all"><br>
<br>
Any pointing will be appreciated.<br>
<br>
Regards<br>-- <br>&quot;Su nombre es GNU/Linux, no solamente Linux, mas info en <a href="http://www.gnu.org">http://www.gnu.org</a>&quot;