<div dir="ltr">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.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/11 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you use uuid_kill and the channel exists you&#39;ll see +OK, if it isn&#39;t found you&#39;ll see an error.<div><br></div><div>Similar errors probably occur with Apis such as uuid_setvar... Perhaps that will give you a way to tell them apart.</div>

<div><br></div>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.<div><br></div>

<div>It may be the transactions to remove the entries at the end if the call, either with a logged error or silently. That&#39;d make the db entry persist even though the call no longer does. If that&#39;s the cause it&#39;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.</div>
<div class="HOEnZb"><div class="h5">
<div><br><div><div><br><br>On Wednesday, October 9, 2013, Peter Hartmann  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
First, thanks for Freeswitch!  I&#39;m experiencing an issue where &#39;show<br>
calls&#39;  returns several calls that aren&#39;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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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,sofia/external/+<a>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>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>