[Freeswitch-users] old calls hanging around

Ken Rice krice at freeswitch.org
Thu Oct 17 18:00:18 MSD 2013


You should just have to update, there was a problem with this that was fixed
earlier in the week...


On 10/17/13 8:53 AM, "Anton VG" <anton.vazir at gmail.com> wrote:

> 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.
> 
> 
> 2013/10/11 Steven Ayre <steveayre at gmail.com>
>> If you use uuid_kill and the channel exists you'll see +OK, if it isn't found
>> you'll see an error.
>> 
>> Similar errors probably occur with Apis such as uuid_setvar... Perhaps that
>> will give you a way to tell them apart.
>> 
>> 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.
>> 
>> 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.
>> 
>> 
>> 
>> On Wednesday, October 9, 2013, Peter Hartmann  wrote:
>>> Hi,
>>> First, thanks for Freeswitch!  I'm experiencing an issue where 'show
>>> calls'  returns several calls that aren't actually happening both
>>> inbound and outbound.    Has anyone seen this before?
>>> 
>>> Rebooting the handset (Polycom IP 550) associated with that extension
>>> has no effect so it seems in FS.
>>> 
>>> freeswitch at internal> show calls
>>> uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,des
>>> t,presence_id,presence_data,callstate,callee_name,callee_num,callee_directio
>>> n,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_c
>>> reated,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_calle
>>> e_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch
>>> d039dbb0-507e-4ede-be18-7bbae464167b,inbound,2013-10-05
>>> 15:55:49,1381002949,sofia/external/+1347xxxxxxx at flowroute.com,CS_EXECUTE,+13
>>> 47xxxxxxx,+1347xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,d039dbb0-507e-4ede-be18-7bbae464167b,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> d14331c4-98a2-48d1-9be1-9dbef822d094,inbound,2013-10-07
>>> 09:59:34,1381154374,sofia/external/+1212xxxxxxx at flowroute.com,CS_EXECUTE,+12
>>> 12xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,d14331c4-98a2-48d1-9be1-9dbef822d094,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> a699e843-cdb8-4582-801f-7925dcebc15c,inbound,2013-10-07
>>> 10:44:28,1381157068,sofia/external/+1646xxxxxxx at flowroute.com,CS_EXECUTE,unk
>>> nown
>>> ,+1646xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,a699e843-cdb8-4582-801f-7925dcebc15c,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> 6023734b-a787-4460-98ab-dce3ea3cc19b,inbound,2013-10-07
>>> 10:49:05,1381157345,sofia/external/+1212xxxxxxx at flowroute.com,CS_EXECUTE,+12
>>> 12xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,6023734b-a787-4460-98ab-dce3ea3cc19b,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> 3d885c2d-20f6-4cb9-88ed-b4f838ef37e2,outbound,2013-10-07
>>> 11:49:54,1381160994,sofia/external/1347xxxxxxx,CS_EXCHANGE_MEDIA,Extension
>>> 1000,212xxxxxxx,10.10.10.100,1347xxxxxxx,,,ACTIVE,Outbound
>>> Call,1347xxxxxxx,SEND,85fbbc14-9219-48b9-a8fa-a02d59bc23b5,fs,Extension
>>> 1000,212xxxxxxx,,,,,,,,,,,,,,,,,,,
>>> bfeaa3a5-d5da-45cb-9c82-4293616630d4,inbound,2013-10-07
>>> 12:06:38,1381161998,sofia/external/+1212xxxxxxx at flowroute.com,CS_EXECUTE,+12
>>> 12xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,bfeaa3a5-d5da-45cb-9c82-4293616630d4,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> f85e192b-455e-4208-a912-6ce84dae4c15,inbound,2013-10-07
>>> 13:37:17,1381167437,sofia/external/+1212xxxxxxx at flowroute.com,CS_EXECUTE,+12
>>> 12xxxxxxx,+1212xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,f85e192b-455e-4208-a912-6ce84dae4c15,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> 8c453960-a7f0-4ede-892b-c6fb1c1d41ea,inbound,2013-10-07
>>> 15:09:34,1381172974,sofia/external/+1347xxxxxxx at flowroute.com,CS_EXECUTE,+13
>>> 47xxxxxxx,+1347xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,8c453960-a7f0-4ede-892b-c6fb1c1d41ea,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> 77a21c7f-b871-48bc-8a21-a12d95b4a7d3,inbound,2013-10-07
>>> 15:41:20,1381174880,sofia/external/+1646xxxxxxx at flowroute.com,CS_EXECUTE,+16
>>> 46xxxxxxx,+1646xxxxxxx,216.115.69.144,1000,,,ACTIVE,Outbound
>>> Call,1000,SEND,77a21c7f-b871-48bc-8a21-a12d95b4a7d3,fs,Outbound
>>> Call,1000,,,,,,,,,,,,,,,,,,,
>>> 
>>> 9 total.
>>> 
>>> 
>>> Running:
>>> FreeSWITCH Version 1.2.13+git~20131002T213046Z~88be913119 (git 88be913
>>> 2013-10-02 21:30:46Z)
>>> 
>>> 
>>> Thanks much!
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131017/18c2eca5/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list