<br><br><div class="gmail_quote">On Thu, Feb 4, 2010 at 6:09 PM, Adam Ford <span dir="ltr">&lt;<a href="mailto:lists@redbonez.net">lists@redbonez.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal">When sending a call through mod_fifo I seem to be losing my
custom channel variables that were assigned during prior processing of the call. 
In my example, I am trying to assign a unique identifier at the time the call
enters my FreeSWITCH system in order to more easily tie the xml_cdr logs
together.  This works great, until a call is processed through mod_fifo,
which drops my custom channel variable in the calls that it generates.  Is
it likely that I have something wrong with my config? Or does mod_fifo not
support the passing of custom channel variables?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">The overall problem I am trying to solve is that mod_fifo
generates a separate a-leg for every time it rings an agent.  If the agent
answers, the a-leg log gets tied to the associated b-leg log with the uuids and
I am able to see the entire call in xml_cdr.  However, if the agent
rejects the call or doesn’t answer, the a-leg is abandoned with seemingly
no association back to a b-leg log.  Anyone have a better suggestion for
tying all these xml_cdr logs together for a full picture of the call?  </p></div></div></blockquote><div><br>Just curious - are you looking at this from the caller&#39;s perspective or the agent&#39;s perspective? An unanswered/rejected call from FIFO to an agent doesn&#39;t tell you very much. However, if you&#39;re trying to gather statistics on an individual agent then I could see why you&#39;d want to know how many FIFO calls they failed to answer. As far as the &quot;new&quot; A leg not being tied back to a B leg - Mike J is 100% correct: A FIFO call to an agent has absolutely no correlation to any caller waiting in queue. (I suppose the only exception to this rule would be if there was only one caller in the queue when the FIFO called out to the agents.)<br>
<br>Like Mike said, FIFO is not ACD. FIFO is &quot;get the caller to a human as efficiently and quickly as possible.&quot; ACD is more of &quot;connect the longest waiting caller to the longest waiting agent, with possible exceptions for skills, etc.&quot; Check out Andrew Thompson&#39;s SpiceCSM for a possible solution to your scenario.<br>
<br><a href="http://www.opencsm.org/wiki/index.php/SpiceCSM_Community_Edition">http://www.opencsm.org/wiki/index.php/SpiceCSM_Community_Edition</a><br><br>-MC<br><br></div></div>