2012-05-09 07:43:06.084947 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:06.284953 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
insert into channels (uuid,direction,created,created_epoch, name,state,callstate,dialplan,context,hostname) values('24569db2-99cc-11e1-b021-2d15cdde1f83','outbound','2012-05-09 07:43:05','1336563785','sofia/external/918885268942','CS_ROUTING','DOWN','','default','vps-0116.flarevm.net');
update channels set state='CS_INIT' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set callstate='RINGING' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set state='CS_ROUTING',cid_name='',cid_num='0498722120',callee_name='Outbound Call',callee_num='918885268942',sent_callee_name='',sent_callee_num='',ip_addr='',dest='918885268942',dialplan='',context='default',presence_id='0498722120@31.216.132.13',presence_data='' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set state='CS_CONSUME_MEDIA' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:06.284953 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:06.385097 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:07.104947 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:07.104947 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:07.104947 [DEBUG] sofia.c:5532 Channel sofia/external/918885268942 entering state [proceeding][180]
2012-05-09 07:43:07.104947 [NOTICE] sofia.c:5624 Ring-Ready sofia/external/918885268942!
2012-05-09 07:43:09.024965 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:09.024965 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:09.024965 [DEBUG] sofia.c:5532 Channel sofia/external/918885268942 entering state [proceeding][183]
2012-05-09 07:43:09.024965 [DEBUG] sofia.c:5543 Remote SDP:
v=0
o=root 30651 30651 IN IP4 31.216.132.13
s=session
c=IN IP4 31.216.132.13
t=0 0
m=audio 16016 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20

2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:4879 Audio Codec Compare [G729:18:8000:20:8000]/[G729:18:8000:20:8000]
2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:2996 Set Codec sofia/external/918885268942 G729/8000 20 ms 160 samples 8000 bits
2012-05-09 07:43:09.024965 [DEBUG] switch_core_codec.c:111 sofia/external/918885268942 Original read codec set to G729:18
2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:4993 Set 2833 dtmf send payload to 101
2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:3248 AUDIO RTP [sofia/external/918885268942] 46.252.152.160 port 28560 -> 31.216.132.13 port 16016 codec: 18 ms: 20
2012-05-09 07:43:09.024965 [DEBUG] switch_rtp.c:1661 Starting timer [soft] 160 bytes per 20ms
2012-05-09 07:43:09.024965 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update channels set read_codec='G729',read_rate='8000',read_bit_rate='8000',write_codec='G729',write_rate='8000',write_bit_rate='8000' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:09.024965 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:3512 Set 2833 dtmf send payload to 101
2012-05-09 07:43:09.024965 [DEBUG] sofia_glue.c:3518 Set 2833 dtmf receive payload to 101
2012-05-09 07:43:09.024965 [NOTICE] sofia_glue.c:4022 Pre-Answer sofia/external/918885268942!
2012-05-09 07:43:09.024965 [DEBUG] switch_channel.c:2932 (sofia/external/918885268942) Callstate Change RINGING -> EARLY
2012-05-09 07:43:09.124963 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:09.324959 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update channels set read_codec='G729',read_rate='8000',read_bit_rate='8000',write_codec='G729',write_rate='8000',write_bit_rate='8000' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set callstate='EARLY' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:09.324959 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:09.424952 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:10.084956 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update tasks set task_desc='heartbeat',task_group='core', task_sql_manager=0 where task_id=1 and hostname='vps-0116.flarevm.net';

2012-05-09 07:43:10.084956 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:10.184944 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:13.224949 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_registrations where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_registrations where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_shared_appearance_dialogs where expires > 0 and hostname='vps-0116.flarevm.net' and expires <= 1336563793
2012-05-09 07:43:13.224949 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_shared_appearance_dialogs where expires > 0 and hostname='vps-0116.flarevm.net' and expires <= 1336563793
2012-05-09 07:43:13.224949 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_presence where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_presence where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_authentication where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_authentication where expires > 0 and expires <= 1336563793 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_dialogs where (expires = -1 or (expires > 0 and expires <= 1336563793)) and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:13.224949 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_dialogs where (expires = -1 or (expires > 0 and expires <= 1336563793)) and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] sofia.c:5532 Channel sofia/external/918885268942 entering state [completing][200]
2012-05-09 07:43:21.285057 [DEBUG] sofia.c:5543 Remote SDP:
v=0
o=root 30651 30652 IN IP4 31.216.132.13
s=session
c=IN IP4 31.216.132.13
t=0 0
m=audio 16016 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20

2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:877 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] sofia.c:5532 Channel sofia/external/918885268942 entering state [ready][200]
2012-05-09 07:43:21.285057 [DEBUG] switch_channel.c:3190 (sofia/external/918885268942) Callstate Change EARLY -> ACTIVE
2012-05-09 07:43:21.285057 [DEBUG] switch_ivr_originate.c:3266 Originate Resulted in Success: [sofia/external/918885268942]
2012-05-09 07:43:21.285057 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from registrations where expires > 0 and expires <= 1336563795 and hostname='vps-0116.flarevm.net';
update channels set callstate='ACTIVE' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:21.285057 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:21.285057 [INFO] switch_channel.c:2710 sofia/external/918885268942 Flipping CID from "" <0498722120> to "Outbound Call" <918885268942>
2012-05-09 07:43:21.285057 [DEBUG] mod_commands.c:3574 (sofia/external/918885268942) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:1182 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [NOTICE] sofia.c:6185 Channel [sofia/external/918885268942] has been answered
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:362 (sofia/external/918885268942) Running State Change CS_EXECUTE
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:417 (sofia/external/918885268942) State EXECUTE
2012-05-09 07:43:21.285057 [DEBUG] mod_sofia.c:241 sofia/external/918885268942 SOFIA EXECUTE
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:192 sofia/external/918885268942 Standard EXECUTE
EXECUTE sofia/external/918885268942 javascript(newfies.js)
2012-05-09 07:43:21.285057 [ERR] mod_spidermonkey.h:97 Cannot Open File: /usr/local/freeswitch/scripts/newfies.js
2012-05-09 07:43:21.285057 [NOTICE] switch_core_state_machine.c:226 sofia/external/918885268942 has executed the last dialplan instruction, hanging up.
2012-05-09 07:43:21.285057 [DEBUG] switch_channel.c:2848 (sofia/external/918885268942) Callstate Change ACTIVE -> HANGUP
2012-05-09 07:43:21.285057 [NOTICE] switch_core_state_machine.c:228 Hangup sofia/external/918885268942 [CS_EXECUTE] [NORMAL_CLEARING]
2012-05-09 07:43:21.285057 [DEBUG] switch_channel.c:2871 Send signal sofia/external/918885268942 [KILL]
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:1182 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:417 (sofia/external/918885268942) State EXECUTE going to sleep
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:362 (sofia/external/918885268942) Running State Change CS_HANGUP
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:602 (sofia/external/918885268942) State HANGUP
2012-05-09 07:43:21.285057 [DEBUG] mod_sofia.c:469 Channel sofia/external/918885268942 hanging up, cause: NORMAL_CLEARING
2012-05-09 07:43:21.285057 [DEBUG] mod_sofia.c:513 Sending BYE to sofia/external/918885268942
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:47 sofia/external/918885268942 Standard HANGUP, cause: NORMAL_CLEARING
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:602 (sofia/external/918885268942) State HANGUP going to sleep
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:393 (sofia/external/918885268942) State Change CS_HANGUP -> CS_REPORTING
2012-05-09 07:43:21.285057 [DEBUG] switch_core_session.c:1182 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:21.285057 [DEBUG] switch_core_state_machine.c:362 (sofia/external/918885268942) Running State Change CS_REPORTING
2012-05-09 07:43:21.305272 [DEBUG] switch_core_state_machine.c:662 (sofia/external/918885268942) State REPORTING
2012-05-09 07:43:21.305272 [ERR] mod_xml_cdr.c:367 Got error [0] posting to web server [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:21.305272 [ERR] mod_xml_cdr.c:374 Retry will be with url [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:21.324965 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='46.252.152.160' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='46.252.152.160' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal-ipv6' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='::1' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal-ipv6' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal-ipv6' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='::1' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal-ipv6' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='46.252.152.160' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='46.252.152.160' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal-ipv6' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='::1' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal-ipv6' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.324965 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
update sip_subscriptions set version=version+1 where hostname='vps-0116.flarevm.net' and profile_name='internal-ipv6' and sip_subscriptions.event != 'line-seize' and sip_subscriptions.proto='sip' and (event='presence' or event='dialog') and sub_to_user='0498722120' and (sub_to_host='31.216.132.13' or sub_to_host='::1' or sub_to_host='N/A' or presence_hosts like '%31.216.132.13%') and (sip_subscriptions.profile_name = 'internal-ipv6' or presence_hosts like '%31.216.132.13%')
2012-05-09 07:43:21.384945 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:21.584950 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update channels set callee_name='',callee_num='',sent_callee_name='',sent_callee_num='',callee_direction='RECV',cid_name='Outbound Call',cid_num='918885268942' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set state='CS_EXECUTE' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';
update channels set application='javascript',application_data='newfies.js',presence_id='0498722120@31.216.132.13',presence_data='' where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:21.584950 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:21.684950 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:26.305035 [ERR] mod_xml_cdr.c:367 Got error [0] posting to web server [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:26.305035 [ERR] mod_xml_cdr.c:374 Retry will be with url [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_registrations where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_registrations where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_shared_appearance_dialogs where expires > 0 and hostname='vps-0116.flarevm.net' and expires <= 1336563807
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_shared_appearance_dialogs where expires > 0 and hostname='vps-0116.flarevm.net' and expires <= 1336563807
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_presence where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_presence where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_authentication where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_authentication where expires > 0 and expires <= 1336563807 and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
update sip_subscriptions set version=version+1 where ((expires > 0 and expires <= 1336563807)) and profile_name='internal' and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
update sip_subscriptions set version=version+1 where ((expires > 0 and expires <= 1336563807)) and profile_name='internal' and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from sip_dialogs where (expires = -1 or (expires > 0 and expires <= 1336563807)) and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:27.744940 [ERR] sofia_glue.c:6371 SQL ERR: [unable to open database file]
delete from sip_dialogs where (expires = -1 or (expires > 0 and expires <= 1336563807)) and hostname='vps-0116.flarevm.net'
2012-05-09 07:43:30.085001 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from registrations where expires > 0 and expires <= 1336563810 and hostname='vps-0116.flarevm.net';
update tasks set task_desc='heartbeat',task_group='core', task_sql_manager=0 where task_id=1 and hostname='vps-0116.flarevm.net';

2012-05-09 07:43:30.085001 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:30.184951 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
2012-05-09 07:43:31.304946 [ERR] mod_xml_cdr.c:367 Got error [0] posting to web server [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:31.304946 [ERR] mod_xml_cdr.c:374 Retry will be with url [http://localhost:80/api/v1/store_cdr/]
2012-05-09 07:43:31.304946 [ERR] mod_xml_cdr.c:385 Unable to post to web server, writing to file
2012-05-09 07:43:31.304946 [ERR] mod_xml_cdr.c:408 Error![]
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:79 sofia/external/918885268942 Standard REPORTING, cause: NORMAL_CLEARING
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:662 (sofia/external/918885268942) State REPORTING going to sleep
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:387 (sofia/external/918885268942) State Change CS_REPORTING -> CS_DESTROY
2012-05-09 07:43:31.304946 [DEBUG] switch_core_session.c:1182 Send signal sofia/external/918885268942 [BREAK]
2012-05-09 07:43:31.304946 [DEBUG] switch_core_session.c:1382 Session 399 (sofia/external/918885268942) Locked, Waiting on external entities
2012-05-09 07:43:31.304946 [NOTICE] switch_core_session.c:1400 Session 399 (sofia/external/918885268942) Ended
2012-05-09 07:43:31.304946 [NOTICE] switch_core_session.c:1402 Close Channel sofia/external/918885268942 [CS_DESTROY]
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:491 (sofia/external/918885268942) Callstate Change HANGUP -> DOWN
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:494 (sofia/external/918885268942) Running State Change CS_DESTROY
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:504 (sofia/external/918885268942) State DESTROY
2012-05-09 07:43:31.304946 [DEBUG] mod_sofia.c:374 sofia/external/918885268942 SOFIA DESTROY
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:86 sofia/external/918885268942 Standard DESTROY
2012-05-09 07:43:31.304946 [DEBUG] switch_core_state_machine.c:504 (sofia/external/918885268942) State DESTROY going to sleep
2012-05-09 07:43:31.304946 [ERR] switch_core_sqldb.c:486 SQL ERR [unable to open database file]
delete from calls where (caller_uuid='24569db2-99cc-11e1-b021-2d15cdde1f83' or callee_uuid='24569db2-99cc-11e1-b021-2d15cdde1f83');
delete from channels where uuid='24569db2-99cc-11e1-b021-2d15cdde1f83';

2012-05-09 07:43:31.304946 [ERR] switch_core_sqldb.c:789 SQL ERR [unable to open database file]
2012-05-09 07:43:31.404949 [CRIT] switch_core_sqldb.c:1085 SQL thread unable to commit transaction, records lost!
freeswitch@internal> ...
