2014-06-24 16:16:34,212 [MainThread::1074233344] [INFO ] [ fritzcap::<module> ] FritzCap started.
2014-06-24 16:16:34,214 [MainThread::1074233344] [DEBUG ] [ fritzcap::<module> ] Command line parameters: ['/volume1/programs/fritzcap-2.1.0/fritzcap.py', '-c', '-d', '-m']
2014-06-24 16:16:34,214 [MainThread::1074233344] [DEBUG ] [ fritzcap::<module> ] Parsed parameters: Namespace(after_capture_time=10, box_name='fritz.box', call_service_port=1012, cap_file='capture_%(tcaps.YmdHMS).cap', cap_folder='captures/%(tcaps.Y-m-d/HMS)/', capture_files=True, config_file=<open file 'fritzcap.conf', mode 'r' at 0x40731230>, decode_files=[], decode_workers_count=2, default_login='getpage=../html/de/menus/menu2.html&errorpage=../html/index.html&var:lang=de&var:pagename=home&var:menu=home&=&login:command/password=%s', logging_config='logging.conf', login_not_required=None, monitor_calls=True, password=None, protocol='http', sid_challenge='getpage=../html/login_sid.xml', sid_login='login:command/response=%s&getpage=../html/login_sid.xml', start_str='?start=1&start1=Start', stop_str='?stop=1&stop1=Stop')
2014-06-24 16:16:40,409 [MainThread::1074233344] [DEBUG ] [ capfile_worker::__init__ ] CapfileWorker(worker_id:0, decode_work_queue:<Queue.Queue instance at 0x407416c0>).
2014-06-24 16:16:40,410 [MainThread::1074233344] [DEBUG ] [ capfile_worker::__init__ ] CapfileWorker(worker_id:1, decode_work_queue:<Queue.Queue instance at 0x407416c0>).
2014-06-24 16:16:40,411 [MainThread::1074233344] [DEBUG ] [ capture_monitor::__init__ ] CaptureMonitor(decode_work_queue:'<Queue.Queue instance at 0x407416c0>', data_map:'{'tcall': datetime.datetime(1900, 1, 1, 0, 0), 'tconn': datetime.datetime(1900, 1, 1, 0, 0), 'tdisc': datetime.datetime(1900, 1, 1, 0, 0), 'pbook_number.0177111222': 'MeineFrau-Handy', 'pbook_number.0048177111222': 'MeineFrau-Handy', 'tocall': datetime.datetime(1900, 1, 1, 0, 0), 'tcape': datetime.datetime(1900, 1, 1, 0, 0), 'pbook_name.MeineFrau-Handy': '0048177111222', 'toconn': datetime.datetime(1900, 1, 1, 0, 0), 'pbook_name.ZuHause': '0448556694', 'pbook_number.0448556694': 'ZuHause', 'tstart': datetime.datetime(2014, 6, 24, 16, 16, 34, 184492), 'tcaps': datetime.datetime(1900, 1, 1, 0, 0), 'pbook_number.8556694': 'ZuHause', 'todisc': datetime.datetime(1900, 1, 1, 0, 0)}', box_name:'fritz.box', password:'hierstehtmeinBox-PW', protocol:'http', cap_folder:'captures/%(tcaps.Y-m-d/HMS)/', cap_file:'capture_%(tcaps.YmdHMS).cap', login_required:'True', default_login:'getpage=../html/de/menus/menu2.html&errorpage=../html/index.html&var:lang=de&var:pagename=home&var:menu=home&=&login:command/password=%s', sid_challenge:'getpage=../html/login_sid.xml', sid_login:'login:command/response=%s&getpage=../html/login_sid.xml', start_str:'?start=1&start1=Start', stop_str:'?stop=1&stop1=Stop', after_capture_time:'10')
2014-06-24 16:16:40,413 [MainThread::1074233344] [DEBUG ] [ call_monitor::__init__ ] CallMonitor(capture_monitor:'<CaptureMonitor(Thread-3, initial)>', box_name:'fritz.box', call_service_port:'1012').
2014-06-24 16:16:40,415 [ Thread-4::1090274416] [DEBUG ] [ call_monitor::run ] Thread started.
2014-06-24 16:16:40,416 [ Thread-4::1090274416] [INFO ] [ call_monitor::init_connection ] Connect to the call monitor service on fritz.box:1012.
2014-06-24 16:16:40,422 [ Thread-4::1090274416] [INFO ] [ call_monitor::init_connection ] Connected to the call monitor service on fritz.box:1012.
2014-06-24 16:16:40,423 [ Thread-4::1090274416] [DEBUG ] [ call_monitor::run ] Wait for call monitor status change.
2014-06-24 16:16:40,517 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] Thread started.
2014-06-24 16:16:40,518 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::init_login ] Login attempt to the the FritzBox (box_name:fritz.box)
2014-06-24 16:16:40,519 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::init_login ] Call the challange token url (url:'http://fritz.box/login_sid.lua')
2014-06-24 16:16:40,618 [ Thread-2::1111487600] [DEBUG ] [ capfile_worker::run ] Thread started.
2014-06-24 16:16:40,648 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::init_login ] Call the read seed token url (url:'http://fritz.box/login_sid.lua?username=root&response=b7874e5a-3c6d6075971f0afe60d60582dd9f7900', data:'login:command/response=b7874e5a-3c6d6075971f0afe60d60582dd9f7900&getpage=../html/login_sid.xml').
2014-06-24 16:16:40,718 [ Thread-1::1119876208] [DEBUG ] [ capfile_worker::run ] Thread started.
2014-06-24 16:16:40,758 [ Thread-3::1101001840] [ERROR ] [ capture_monitor::init_login ] Could not login to the FritzBox: Not authorized.
2014-06-24 16:16:40,760 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture acquire lock.
2014-06-24 16:16:40,761 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture acquire lock finished.
2014-06-24 16:16:40,761 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture wait().
2014-06-24 16:16:45,421 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Become signal from the system (signum:'2', stack:'<frame object at 0x359a68>').
2014-06-24 16:16:45,422 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CallMonitor(Thread-4, started 1090274416)>'
2014-06-24 16:16:45,422 [MainThread::1074233344] [DEBUG ] [ call_monitor::stop ] Received signal to stop the thread.
2014-06-24 16:16:45,423 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CallMonitor(Thread-4, started 1090274416)>'
2014-06-24 16:16:45,428 [ Thread-4::1090274416] [DEBUG ] [ call_monitor::run ] Close the connection to the telnet session.
2014-06-24 16:16:45,429 [ Thread-4::1090274416] [DEBUG ] [ call_monitor::run ] Close the connection to the telnet session finished.
2014-06-24 16:16:45,429 [ Thread-4::1090274416] [INFO ] [ call_monitor::run ] Connection to the call monitor service on fritz.box:1012 stopped.
2014-06-24 16:16:45,431 [ Thread-4::1090274416] [DEBUG ] [ capture_monitor::stop ] Received signal to stop the thread.
2014-06-24 16:16:45,431 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture wait() finished.
2014-06-24 16:16:45,432 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture release lock.
2014-06-24 16:16:45,432 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] pre_capture release lock finished.
2014-06-24 16:16:45,433 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] The capture was not started. Not need to stop the capture. Can stop immediately.
2014-06-24 16:16:45,434 [ Thread-2::1111487600] [DEBUG ] [ capfile_worker::run ] Became None element, put a None element to the queue for the others workers and break the work.
2014-06-24 16:16:45,434 [ Thread-2::1111487600] [DEBUG ] [ capfile_worker::run ] Thread stopped.
2014-06-24 16:16:45,435 [ Thread-1::1119876208] [DEBUG ] [ capfile_worker::run ] Became None element, put a None element to the queue for the others workers and break the work.
2014-06-24 16:16:45,436 [ Thread-1::1119876208] [DEBUG ] [ capfile_worker::run ] Thread stopped.
2014-06-24 16:16:45,434 [ Thread-3::1101001840] [DEBUG ] [ capture_monitor::run ] Thread stopped.
2014-06-24 16:16:45,437 [ Thread-4::1090274416] [DEBUG ] [ call_monitor::run ] Thread stopped.
2014-06-24 16:16:45,438 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CaptureMonitor(Thread-3, stopped 1101001840)>'
2014-06-24 16:16:45,439 [MainThread::1074233344] [DEBUG ] [ capture_monitor::stop ] Received signal to stop the thread.
2014-06-24 16:16:45,439 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CaptureMonitor(Thread-3, stopped 1101001840)>'
2014-06-24 16:16:45,440 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CapfileWorker(Thread-2, stopped 1111487600)>'
2014-06-24 16:16:45,440 [MainThread::1074233344] [DEBUG ] [ capfile_worker::stop ] Received signal to stop the thread.
2014-06-24 16:16:45,441 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CapfileWorker(Thread-2, stopped 1111487600)>'
2014-06-24 16:16:45,442 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CapfileWorker(Thread-1, stopped 1119876208)>'
2014-06-24 16:16:45,442 [MainThread::1074233344] [DEBUG ] [ capfile_worker::stop ] Received signal to stop the thread.
2014-06-24 16:16:45,443 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CapfileWorker(Thread-1, stopped 1119876208)>'
2014-06-24 16:16:45,443 [MainThread::1074233344] [DEBUG ] [ fritzcap::signal_handler ] Become signal from the system (signum:'2', stack:'<frame object at 0x359a68>') finished.
2014-06-24 16:16:45,444 [MainThread::1074233344] [DEBUG ] [ fritzcap::<module> ] There is no more active threads. Exiting.
2014-06-24 16:16:45,444 [MainThread::1074233344] [INFO ] [ fritzcap::<module> ] FritzCap finished.