<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] old calls hanging around</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>You should just have to update, there was a problem with this that was fixed earlier in the week... <BR>
<BR>
<BR>
On 10/17/13 8:53 AM, &quot;Anton VG&quot; &lt;<a href="anton.vazir@gmail.com">anton.vazir@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Also every channel has a start time, you may kill old ones, which is there for hour or two, for instance. Also I differentiate bridged_calls and just calls - and I do not kill bridged. But for me bridged calls never hang. I did not dig deep where that dead channels are coming from, but notice they appear after a while, and just made a sweeper for now as that is not often not critical issue for me.<BR>
<BR>
<BR>
2013/10/11 Steven Ayre &lt;<a href="steveayre@gmail.com">steveayre@gmail.com</a>&gt;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>If you use uuid_kill and the channel exists you'll see +OK, if it isn't found you'll see an error.<BR>
<BR>
Similar errors probably occur with Apis such as uuid_setvar... Perhaps that will give you a way to tell them apart.<BR>
<BR>
The reason for this is likely a database one. Those commands run queries against the calls and channels tables in the core DB. FreeSWITCH updates these when channels start, change state and end.<BR>
<BR>
It may be the transactions to remove the entries at the end if the call, either with a logged error or silently. That'd make the db entry persist even though the call no longer does. If that's the cause it's worth investigating why. It could be load, db errors, or transaction locking where another connection is already using the row. The ODBC options in use might be worth checking. Also if FS is batching up updates to the DB that might conceivably be affecting it.<BR>
<BR>
<BR>
<BR>
On Wednesday, October 9, 2013, Peter Hartmann &nbsp;wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hi,<BR>
First, thanks for Freeswitch!  I'm experiencing an issue where 'show<BR>
calls'  returns several calls that aren't actually happening both<BR>
inbound and outbound.    Has anyone seen this before?<BR>
<BR>
Rebooting the handset (Polycom IP 550) associated with that extension<BR>
has no effect so it seems in FS.<BR>
<BR>
freeswitch@internal&gt; show calls<BR>
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch<BR>
d039dbb0-507e-4ede-be18-7bbae464167b,inbound,2013-10-05<BR>
15:55:49,1381002949,<a href="sofia/external/+1347xxxxxxx@flowroute.com">sofia/external/+1347xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1347xxxxxxx,+1347xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,d039dbb0-507e-4ede-be18-7bbae464167b,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
d14331c4-98a2-48d1-9be1-9dbef822d094,inbound,2013-10-07<BR>
09:59:34,1381154374,<a href="sofia/external/+1212xxxxxxx@flowroute.com">sofia/external/+1212xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1212xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,d14331c4-98a2-48d1-9be1-9dbef822d094,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
a699e843-cdb8-4582-801f-7925dcebc15c,inbound,2013-10-07<BR>
10:44:28,1381157068,<a href="sofia/external/+1646xxxxxxx@flowroute.com">sofia/external/+1646xxxxxxx@flowroute.com</a>,CS_EXECUTE,unknown<BR>
,+1646xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,a699e843-cdb8-4582-801f-7925dcebc15c,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
6023734b-a787-4460-98ab-dce3ea3cc19b,inbound,2013-10-07<BR>
10:49:05,1381157345,<a href="sofia/external/+1212xxxxxxx@flowroute.com">sofia/external/+1212xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1212xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,6023734b-a787-4460-98ab-dce3ea3cc19b,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
3d885c2d-20f6-4cb9-88ed-b4f838ef37e2,outbound,2013-10-07<BR>
11:49:54,1381160994,sofia/external/1347xxxxxxx,CS_EXCHANGE_MEDIA,Extension<BR>
1000,212xxxxxxx,10.10.10.100,1347xxxxxxx,,,ACTIVE,Outbound<BR>
Call,1347xxxxxxx,SEND,85fbbc14-9219-48b9-a8fa-a02d59bc23b5,fs,Extension<BR>
1000,212xxxxxxx,,,,,,,,,,,,,,,,,,,<BR>
bfeaa3a5-d5da-45cb-9c82-4293616630d4,inbound,2013-10-07<BR>
12:06:38,1381161998,<a href="sofia/external/+1212xxxxxxx@flowroute.com">sofia/external/+1212xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1212xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,bfeaa3a5-d5da-45cb-9c82-4293616630d4,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
f85e192b-455e-4208-a912-6ce84dae4c15,inbound,2013-10-07<BR>
13:37:17,1381167437,<a href="sofia/external/+1212xxxxxxx@flowroute.com">sofia/external/+1212xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1212xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,f85e192b-455e-4208-a912-6ce84dae4c15,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
8c453960-a7f0-4ede-892b-c6fb1c1d41ea,inbound,2013-10-07<BR>
15:09:34,1381172974,<a href="sofia/external/+1347xxxxxxx@flowroute.com">sofia/external/+1347xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1347xxxxxxx,+1347xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,8c453960-a7f0-4ede-892b-c6fb1c1d41ea,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
77a21c7f-b871-48bc-8a21-a12d95b4a7d3,inbound,2013-10-07<BR>
15:41:20,1381174880,<a href="sofia/external/+1646xxxxxxx@flowroute.com">sofia/external/+1646xxxxxxx@flowroute.com</a>,CS_EXECUTE,+1646xxxxxxx,+1646xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound<BR>
Call,1000,SEND,77a21c7f-b871-48bc-8a21-a12d95b4a7d3,fs,Outbound<BR>
Call,1000,,,,,,,,,,,,,,,,,,,<BR>
<BR>
9 total.<BR>
<BR>
<BR>
Running:<BR>
FreeSWITCH Version 1.2.13+git~20131002T213046Z~88be913119 (git 88be913<BR>
2013-10-02 21:30:46Z)<BR>
<BR>
<BR>
Thanks much!<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>