<?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[pickup call function cause dummy entry in database]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">we have a serious problem with our FOP2, every time when an agent picks up a call from the queue the system only writes a dummy entry in the cdr database. See this excerpt:</p>
<p dir="auto">[2012-06-14 14:31:28] VERBOSE[14961] pbx.c: -- Executing [s@macro-dial-one:39] Set("SIP/SIP_Trunk_Alcatel-00004663", "CONNECTEDLINE(name,i)=Heiner Arndt") in new stack<br />
[2012-06-14 14:31:28] VERBOSE[14961] pbx.c: -- Executing [s@macro-dial-one:40] Set("SIP/SIP_Trunk_Alcatel-00004663", "CONNECTEDLINE(num)=8045") in new stack<br />
[2012-06-14 14:31:28] VERBOSE[14961] pbx.c: -- Executing [s@macro-dial-one:41] Set("SIP/SIP_Trunk_Alcatel-00004663", "D_OPTIONS=trM(auto-blkvm)I") in new stack<br />
[2012-06-14 14:31:28] VERBOSE[14961] pbx.c: -- Executing [s@macro-dial-one:42] Dial("SIP/SIP_Trunk_Alcatel-00004663", "SIP/8045,"",trM(auto-blkvm)I") in new stack<br />
[2012-06-14 14:31:28] VERBOSE[14961] netsock2.c: == Using SIP RTP TOS bits 184<br />
[2012-06-14 14:31:28] VERBOSE[14961] netsock2.c: == Using SIP RTP CoS mark 5<br />
[2012-06-14 14:31:28] VERBOSE[14961] app_dial.c: -- Called 8045<br />
[2012-06-14 14:31:28] VERBOSE[15010] pbx.c: -- Executing [dummy@fop2-dummy:1] Answer("Local/dummy@fop2-dummy-22ea;2", "") in new stack<br />
[2012-06-14 14:31:28] WARNING[15011] pbx.c: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (QueueLog(8260|1339676989.78263|NONE|NOTABANDON|0|0|0))<br />
[2012-06-14 14:31:28] WARNING[15011] app_queue.c: QueueLog requires arguments (queuename,uniqueid,membername,event[,additionalinfo])<br />
[2012-06-14 14:31:28] VERBOSE[15010] pbx.c: == Spawn extension (fop2-dummy, dummy, 1) exited non-zero on 'Local/dummy@fop2-dummy-22ea;2'<br />
[2012-06-14 14:31:28] VERBOSE[14961] app_dial.c: -- SIP/8045-00004665 is ringing<br />
[2012-06-14 14:31:30] VERBOSE[14961] app_dial.c: -- Connected line update to SIP/SIP_Trunk_Alcatel-00004663 prevented.<br />
[2012-06-14 14:31:30] VERBOSE[14961] app_dial.c: -- SIP/8045-00004665 answered SIP/SIP_Trunk_Alcatel-00004663</p>
<ol start="6">
<li>
<pre><code> 2012-06-14 14:31:28 	Local/dumm... 			dummy 	ANSWERED 	00:00
</code></pre>
</li>
<li>
<pre><code> 2012-06-14 14:19:04 	Local/dumm... 			dummy 	ANSWERED 	00:00
</code></pre>
</li>
<li>
<pre><code> 2012-06-14 14:19:04 	Local/dumm... 			dummy 	ANSWERED 	00:00
</code></pre>
</li>
<li>
<pre><code> 2012-06-14 14:18:20 	SIP/SIP_Tr... 	7129 	"Manfred Jellemitzky" &lt;7129&gt; 	s 	ANSWERED 	00:35
</code></pre>
</li>
<li>
<pre><code>2012-06-14 14:18:17 	SIP/8045-0... 	8045 	8045 	5459 	NO ANSWER 	00:43
</code></pre>
</li>
<li>
<pre><code>2012-06-14 14:18:15 	SIP/SIP_Tr... 	5647 	"Dirk Duesterwald" &lt;5647&gt; 	s 	ANSWERED 	00:11
</code></pre>
</li>
</ol>
<p dir="auto">this results in a false reporting and we really need to fix this out.<br />
Thankyou for your Help!</p>
]]></description><link>http://localhost:4567/topic/1173/pickup-call-function-cause-dummy-entry-in-database</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 15:03:18 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1173.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Jun 2012 13:06:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Mon, 20 Aug 2012 23:05:24 GMT]]></title><description><![CDATA[<p dir="auto">FOP2 adds an entry in the queue_log file by using a Local channel to to so. That Local channel will generate a dummy cdr with no useful information, as it is not a real call. It has the duration of the "dummy" call, and it will not inherit nor show anything else about the real call being picked up or not.</p>
<p dir="auto">So, it is impossible to have that dummy entry showing anything meaningful about the real call. The Local channel lives just for a few seconds and dies and nothing else. This is how asterisk works. It is not a fop2 problem or issue, it is just the way it is in asterisk.</p>
<p dir="auto">Commenting the fop2callback file will not generate the NOTABANDON entry in queue_log and it will not fire that dummy local channel to write such line. So you won't see anything in the cdr nor in the queue_log file, just like a regular call pickup from a phone (that will log an ABANDON line in queue_log because the call was forcefully removed from the queue and not served to an agent).</p>
<p dir="auto">There is nothing more to do, either you have the NOTABANDON and dummy CDR, or none.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5310</link><guid isPermaLink="true">http://localhost:4567/post/5310</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 20 Aug 2012 23:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Mon, 20 Aug 2012 12:05:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">that was not what i want.<br />
I don't want no Dummy entries, I only want the Call Informations when I pick up a call manuell.<br />
This informations are not in the cdr when we pick up a call, its only a dummy in the cdr without usefull informations about the call.</p>
<p dir="auto">It looks like this:</p>
<pre><code>|| *calldate* || *clid* || *src* || *dst* || *dcontext* || *channel* || *dstchannel* || *lastapp* || *lastdata* || *duration* || *billsec* || *disposition* || *amaflags* || *accountcode* || *uniqueid* || *userfield* ||

|| 2012-08-20 13:36:57 ||  ||  || dummy || fop2-dummy || Local/dummy@fop2-dummy-ea84;1 ||  || QueueLog || 8240,1345462510.3843,NONE,NOTABANDON,0,0,0 || 0 || 0 || ANSWERED || 3 ||  || 1345462617.3845 ||  ||
</code></pre>
<p dir="auto">I think here is only one comma or pipe in my <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a> wrong.</p>
<p dir="auto">Could you please check this again?<br />
Do you need any more informations? I hope I was able to formulate my problem-now understandable, is not always so clear in English for me.</p>
]]></description><link>http://localhost:4567/post/5309</link><guid isPermaLink="true">http://localhost:4567/post/5309</guid><dc:creator><![CDATA[Giggzz]]></dc:creator><pubDate>Mon, 20 Aug 2012 12:05:59 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Fri, 22 Jun 2012 16:27:08 GMT]]></title><description><![CDATA[<p dir="auto">Please do what I said, comment the push line. That way, there will be no command being sent to asterisk, so it does not matter if it has a syntax error or whatever happens with it , it won't be sent. And it will not generate a queue_log entry, a cdr entry, NOTHING. Just comment the line I said.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5308</link><guid isPermaLink="true">http://localhost:4567/post/5308</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 22 Jun 2012 16:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Fri, 22 Jun 2012 07:35:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi and thanks for your help.</p>
<p dir="auto">In the Log we have the following warning:</p>
<pre><code>[2012-06-20 16:33:09] WARNING[3987]: pbx.c:1402 pbx_exec: The application delimi                                          ter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (                                          QueueLog(8240|1340202758.0|NONE|NOTABANDON|0|0|0))
[2012-06-20 16:33:09] WARNING[3987]: app_queue.c:5735 ql_exec: QueueLog requires                                           arguments (queuename,uniqueid,membername,event[,additionalinfo])
  == Spawn extension (fop2-dummy, dummy, 1) exited non-zero on 'Local/dummy@fop2                                          -dummy-117c;2'
</code></pre>
<p dir="auto">My <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a></p>
<pre><code>$return = "Action: Originate\r\n";
            $return .= "Channel: Local/dummy\@fop2-dummy/n\r\n";
            $return .= "Application: QueueLog\r\n";
            $return .= "Data: $queue|$uniid|NONE|NOTABANDON|0|0|0\r\n";
            $return .= "Async: true\r\n";
            $return .= "\r\n";

            push @allreturn, $return;
            return @allreturn;
        }
</code></pre>
<p dir="auto">I've changed the code to  "$return .= "Data: $queue,$uniid,NONE,NOTABANDON,0,0,0\r\n";"<br />
Like this:</p>
<pre><code>$return = "Action: Originate\r\n";
            $return .= "Channel: Local/dummy\@fop2-dummy/n\r\n";
            $return .= "Application: QueueLog\r\n";
            $return .= "Data: $queue,$uniid,NONE,NOTABANDON,0,0,0\r\n";
            $return .= "Async: true\r\n";
            $return .= "\r\n";

            push @allreturn, $return;
            return @allreturn;
        }
</code></pre>
<p dir="auto">after applying the changes above I've restartet the Asterisk Server but the error still occurs<br />
It seems like my changes won't affect anything at all cause as you can see the entries are still in one database column (Dummys):<br />
8260|1340348662.3752|NONE|NOTABANDON|0|0|0</p>
<p dir="auto">To be more precisely, we want the same grade of information we gain from any normal incoming call as for the pickup calls. Currently the pickup calls only generate dummy entries with useless information.</p>
<p dir="auto">Can you help me?</p>
<p dir="auto">Regards, Florian.</p>
]]></description><link>http://localhost:4567/post/5307</link><guid isPermaLink="true">http://localhost:4567/post/5307</guid><dc:creator><![CDATA[Giggzz]]></dc:creator><pubDate>Fri, 22 Jun 2012 07:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Tue, 19 Jun 2012 00:37:49 GMT]]></title><description><![CDATA[<p dir="auto">The fix should work, but I copied the priorities wrong, there are two "3" priorities , use 4 for the hangup or just n for all except the 1st one. That MUST work, as the cdr you copied is listing the dummy entry that you see there.</p>
<p dir="auto">You can also edit <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a> , look for fop2-dummy there, you will see a block checking for the AMI "LEAVE" command, at the end it returns @allreturn, just comment the previous line, that will prevent FOP2 from firing up that command:</p>
<pre><code>            $return = "Action: Originate\r\n";
            $return .= "Channel: Local/dummy\@fop2-dummy/n\r\n";
            $return .= "Application: QueueLog\r\n";
            $return .= "Data: $queue,$uniid,NONE,NOTABANDON,0,0,0\r\n";
            $return .= "Async: true\r\n";
            $return .= "\r\n";

            #push @allreturn, $return;
            return @allreturn;
        }
</code></pre>
<p dir="auto">Notice the # before the push line.</p>
]]></description><link>http://localhost:4567/post/5306</link><guid isPermaLink="true">http://localhost:4567/post/5306</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 19 Jun 2012 00:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Fri, 15 Jun 2012 11:46:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">thank you for the fast answer but unfortunately your suggestions did not fix the problem.<br />
Maybe I should descripe the problem more detailed. We would like to have the ability to get as much data as possible out of every call as we already do but not from the pickup calls. As I described bevore the pickup incidents only generate dummy entries. How can we fix this matter?</p>
<p dir="auto">Thanks for your Help.</p>
<p dir="auto">Regards, Florian.</p>
]]></description><link>http://localhost:4567/post/5305</link><guid isPermaLink="true">http://localhost:4567/post/5305</guid><dc:creator><![CDATA[Giggzz]]></dc:creator><pubDate>Fri, 15 Jun 2012 11:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to pickup call function cause dummy entry in database on Thu, 14 Jun 2012 18:31:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">look at /etc/asterisk/extensions_override_fop2.conf for the fop2-dummy context, it should look like this:</p>
<pre><code>[fop2-dummy]
exten =&gt; dummy,1,Answer
exten =&gt; dummy,2,Wait(1)
exten =&gt; dummy,3,Hangup
</code></pre>
<p dir="auto">Add a NoCDR entry</p>
<pre><code>[fop2-dummy]
exten =&gt; dummy,1,Answer
exten =&gt; dummy,2,Wait(1)
exten =&gt; dummy,3,NoCDR()
exten =&gt; dummy,3,Hangup
</code></pre>
<p dir="auto">Reload the dialplan and try again. Let me know if the cdrs are not written then.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5304</link><guid isPermaLink="true">http://localhost:4567/post/5304</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 14 Jun 2012 18:31:10 GMT</pubDate></item></channel></rss>