<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[call pickup function causes dummy entry in cdr database]]></title><description><![CDATA[<p dir="auto">Hi.<br />
I read another thread into the forum with the same problem I have and I tried to use fixes suggested by Nicolás, but they don't work for me <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">This is what I see in cdr database when I do a call pickup from fop2 (2.26 or 2.27)</p>
<p dir="auto">Src Chan.    Source           DID	          App.	Dest.	Dst. Chan.[/color:11z3rlyo]</p>
<p dir="auto">(wrong cdr using FOP2 call pickup)[/color:11z3rlyo]<br />
Local	  UNKNOWN	          QueueLog	dummy					<br />
Local	  UNKNOWN	          Answer	dummy</p>
<p dir="auto">(normal cdr without FOP2)[/color:11z3rlyo]<br />
SIP	  0695550xxx[/color:11z3rlyo]   0690281458  Queue	200	Local					<br />
Local	  0695550xxx[/color:11z3rlyo]	          Dial	                100	SIP	<br />
SIP	  0695550xxx [/color:11z3rlyo]  0690281xxx [/color:11z3rlyo]  Dial	                100	SIP</p>
<p dir="auto">what can I do?<br />
Thanks<br />
Massimo</p>
]]></description><link>http://localhost:4567/topic/1404/call-pickup-function-causes-dummy-entry-in-cdr-database</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 16:36:57 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1404.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Mar 2013 10:29:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to call pickup function causes dummy entry in cdr database on Tue, 02 Apr 2013 09:00:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi Nicolás.<br />
Thanks for your answer<br />
So this is an asterisk issue <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /><br />
.... yes, from my perspective it's absolutely an issue (a black hole in asterisk call reporting), because the call is not abandoned.<br />
It's not enough for me to count the call (with Asternic reporting tools).<br />
I need to know all informations about every call.<br />
Anyway if at the moment there is no workaround for it, I'll have to avoid this feature until asterisk developers will fix it <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">Thanks again for your support<br />
Massimo</p>
]]></description><link>http://localhost:4567/post/6164</link><guid isPermaLink="true">http://localhost:4567/post/6164</guid><dc:creator><![CDATA[massimo.chima]]></dc:creator><pubDate>Tue, 02 Apr 2013 09:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to call pickup function causes dummy entry in cdr database on Thu, 28 Mar 2013 22:13:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What you see is an origination performed by FOP2 to a custom context to log a special entry in the queue_log file. That origination is fired from the <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a> file, you can edit that file to prevent that origination from hapenning:</p>
<pre><code>    if($command eq "LEAVE") {

        # Used with fop2-dummy context for writing a line
        # to queue_log so redirects OUT of a queue are not
        # counted as abandoned calls

        %event = @_;
        ...
        ...
</code></pre>
<p dir="auto">Change that to something like "LEAVExxxx" so that code block is never executed.</p>
<p dir="auto">As I explained before, that code block adds a special entry in the queue_log file because when you pickup a call out of a queue it is logged as an ABANDONED call (asterisk queue application behavior, and if you think about it is pretty logicall). But from a manager perspective, the call was indeed handled, not abandoned, so FOP2 will log an extra entry in the queue_log file that Asternic reporting tools can understand so it does not count that call as abandoned. If you modify the above, it wil count that as abandoned in queue reports.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/6163</link><guid isPermaLink="true">http://localhost:4567/post/6163</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 28 Mar 2013 22:13:16 GMT</pubDate></item></channel></rss>