Hello list,<br><br>I&#39;m sending calls to a queue in the attended way, that is, <b>1.</b> the original call is put on hold, <b>2.</b> a second line is open to call the queue, <b>3.</b> after an agent is connected the original call is transfered to its final destination.<br>
<ol><li>Zap/1-1  &lt;--&gt; SIP/agentA-tag1</li><li>                                            SIP/agentA-tag2 &lt;--&gt; SIP/agentB-tag</li><li>Zap/1-1 &lt;--&gt;
SIP/agentB-tag</li></ol>What I want to do is to overwrite the CallerID of the call entering the Queue to add the Callerid number of the original call to the agent&#39;s number and get it at the ENTERQUEUE event of the queue_log.<br>
<br>I&#39;ve tried with inheritance but since a second independent line was open there are no relation between channels to pass variables values.<br><br>I think two alternatives could help:<br><ol><li>If there exits any way to obtain variables from another channel, in this case, channel SIP/AgentA-tag2 obtaining the values from SIP/AgentA-tag1, I could rename the callerID properly</li>
<li>If there is a way to get the values of the queue variables to relate agent with original caller, it could help too.</li></ol>Hope you can help me, I&#39;m running Asterisk 1.4.21<br><br>Elder D. Arohuanca Lagos<br>+51 1 945108658<br>