<div dir="ltr"><div style><font face="arial, helvetica, sans-serif">Hello everyone,</font></div><div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif">When a call leaves mod_fifo (and it gets bridged) if I do a <i>fifo list &lt;myqueue&gt;</i>, I get:</font></div>
<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace"><div>&lt;bridges&gt;</div><div>  &lt;bridge fifo_name=&quot;emergency&quot; bridge_start=&quot;2013-06-12 07:45:03&quot; bridge_start_epoch=&quot;1371023103&quot;&gt;</div>
<div>     &lt;caller uuid=&quot;a16767af-e252-43b5-ad33-cbd38a42bc64&quot; caller_id_name=<b>&quot;Outbound%20Call&quot;</b> caller_id_number=<b>&quot;XML&quot;</b>&gt;&lt;/caller&gt;</div><div>     &lt;consumer&gt;</div>
<div>       &lt;uuid&gt;4b84ab5e-f2a2-4d87-8295-7726663abeed&lt;/uuid&gt;</div><div>       &lt;outgoing_uuid&gt;0b9fa586387efe4014e010bada4da9cc&lt;/outgoing_uuid&gt;</div><div>     &lt;/consumer&gt;</div><div>  &lt;/bridge&gt;</div>
<div>&lt;/bridges&gt;</div></font></div><div style><font face="courier new, monospace"><br></font></div><div style><font face="arial, helvetica, sans-serif">However I need to get the <i>caller_id_name</i> and the <i>caller_id_number</i> of the entity that initiated the call and not &quot;<b>Outbound Call</b>&quot; or <b>&quot;XML&quot;</b>.</font></div>
<div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif">I read in a thread that I should set <i>origination_callee_id_name</i> and <i>origination_callee_num</i> but how do I do that?</font></div>
<div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif">I tried to set a variable in my dialplan and use it in <i>fifo.conf.xml </i>but I get the following error:</font></div>
<div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif"><i>[CRIT] switch_channel.c:1364 Invalid data (${origination_callee_id_name} contains a variable)</i><br>
</font></div><div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><span style="font-family:arial,helvetica,sans-serif">Here&#39;s my <u>original</u> </span><span style="font-family:arial,helvetica,sans-serif">fifo.conf.xml:</span><br>
</div><div style><font face="arial, helvetica, sans-serif"><br></font></div><div style><font face="arial, helvetica, sans-serif"><div><span style="font-family:&#39;courier new&#39;,monospace">&lt;fifos&gt;</span><br></div>
</font></div><div style><font face="courier new, monospace"><div>    &lt;fifo name=&quot;emergency&quot; importance=&quot;0&quot;&gt;</div><div>      &lt;member timeout=&quot;60&quot; simo=&quot;1&quot; lag=&quot;0&quot;&gt;{member_wait=nowait}loopback/dequeue_emergency/default/XML&lt;/member&gt;</div>
<div>    &lt;/fifo&gt;</div><div>&lt;/fifos&gt;</div></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><span style="font-family:arial,helvetica,sans-serif">Here&#39;s part of my <u>original</u> dialplan:</span><font face="courier new, monospace"><br>
</font></div><div><b style="font-family:arial,helvetica,sans-serif"><br></b></div><div><font face="courier new, monospace">&lt;extension name=&quot;queue_emergency&quot;&gt;</font></div><div><span style="font-family:&#39;courier new&#39;,monospace">    &lt;action application=&quot;set&quot; data=&quot;fifo_music=$${hold_ringing}&quot;/&gt;</span><br>
</div><div><font face="courier new, monospace">    &lt;action application=&quot;set&quot; data=&quot;fifo_orbit_exten=timeout_emergency:$${emergency_queue_timeout}&quot;/&gt;</font></div><div><font face="courier new, monospace">    &lt;action application=&quot;answer&quot;/&gt;</font></div>
<div><font face="courier new, monospace">    &lt;action application=&quot;fifo&quot; data=&quot;emergency in&quot;/&gt;</font></div><div><span style="font-family:&#39;courier new&#39;,monospace">&lt;/extension&gt;</span><br>
</div><div><span style="font-family:&#39;courier new&#39;,monospace"><br></span></div><div style><br></div><div style><br></div><div><span style="font-family:arial,helvetica,sans-serif">Here&#39;s my <u>modified</u> </span><span style="font-family:arial,helvetica,sans-serif">fifo.conf.xml:</span><br>
</div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-family:&#39;courier new&#39;,monospace">&lt;fifos&gt;</span><br></font></div><div><font face="courier new, monospace"><div>
    &lt;fifo name=&quot;emergency&quot; importance=&quot;0&quot;&gt;</div><div>      &lt;member timeout=&quot;60&quot; simo=&quot;1&quot; lag=&quot;0&quot;&gt;{member_wait=nowait,origination_callee_id_name=${some_var_set in_the_dialplan}}loopback/dequeue_emergency/default/XML&lt;/member&gt;</div>
<div>    &lt;/fifo&gt;</div><div>&lt;/fifos&gt;</div></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div style>If I set to a fixed value instead of a variable, it works fine. But that&#39;s useless to me.</div>
<div style><br></div><div style>Any help would be greatly appreciated.</div><div style><br></div><div style>Regards,</div><div style><br></div><div style>Thierry Panthier</div></div>