2012-11-20 19:24:49,734 [MainThread::139866919728896] [INFO ] [ fritzcap::<module> ] FritzCap started.
2012-11-20 19:24:49,734 [MainThread::139866919728896] [DEBUG ] [ fritzcap::<module> ] Command line parameters: ['./fritzcap.py', '-c', '-d', '-m']
2012-11-20 19:24:49,734 [MainThread::139866919728896] [DEBUG ] [ fritzcap::<module> ] Parsed parameters: Namespace(after_capture_time=10, box_name='192.168.1.2', 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 0x2926270>, 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='xxxx', protocol='https', 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')
2012-11-20 19:24:49,735 [MainThread::139866919728896] [DEBUG ] [ capfile_worker::__init__ ] CapfileWorker(worker_id:0, decode_work_queue:<Queue.Queue instance at 0x292c3b0>).
2012-11-20 19:24:49,735 [MainThread::139866919728896] [DEBUG ] [ capfile_worker::__init__ ] CapfileWorker(worker_id:1, decode_work_queue:<Queue.Queue instance at 0x292c3b0>).
2012-11-20 19:24:49,735 [MainThread::139866919728896] [DEBUG ] [ capture_monitor::__init__ ] CaptureMonitor(decode_work_queue:'<Queue.Queue instance at 0x292c3b0>', 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), 'tocall': datetime.datetime(1900, 1, 1, 0, 0), 'tcape': datetime.datetime(1900, 1, 1, 0, 0), 'toconn': datetime.datetime(1900, 1, 1, 0, 0), 'tstart': datetime.datetime(2012, 11, 20, 19, 24, 49, 731203), 'tcaps': datetime.datetime(1900, 1, 1, 0, 0), 'todisc': datetime.datetime(1900, 1, 1, 0, 0)}', box_name:'192.168.1.2', password:'xxxxx', protocol:'https', 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')
2012-11-20 19:24:49,735 [MainThread::139866919728896] [DEBUG ] [ call_monitor::__init__ ] CallMonitor(capture_monitor:'<CaptureMonitor(Thread-3, initial)>', box_name:'192.168.1.2', call_service_port:'1012').
2012-11-20 19:24:49,735 [ Thread-4::139866878670592] [DEBUG ] [ call_monitor::run ] Thread started.
2012-11-20 19:24:49,735 [ Thread-4::139866878670592] [INFO ] [ call_monitor::init_connection ] Connect to the call monitor service on 192.168.1.2:1012.
2012-11-20 19:24:49,739 [ Thread-4::139866878670592] [ERROR ] [ call_monitor::init_connection ] Cannot create connection to the call monitor service on 192.168.1.2:1012.
2012-11-20 19:24:49,739 [ Thread-4::139866878670592] [DEBUG ] [ capture_monitor::stop ] Received signal to stop the thread.
2012-11-20 19:24:49,739 [ Thread-4::139866878670592] [DEBUG ] [ call_monitor::run ] Thread stopped.
2012-11-20 19:24:49,836 [ Thread-3::139866878670592] [DEBUG ] [ capture_monitor::run ] Thread started.
2012-11-20 19:24:49,836 [ Thread-3::139866878670592] [DEBUG ] [ capture_monitor::init_login ] Login attempt to the the FritzBox (box_name:192.168.1.2)
2012-11-20 19:24:49,836 [ Thread-3::139866878670592] [DEBUG ] [ capture_monitor::init_login ] Call the challange token url (url:'https://192.168.1.2/cgi-bin/webcm?getpage=../html/login_sid.xml')
2012-11-20 19:24:49,936 [ Thread-2::139866878670592] [DEBUG ] [ capfile_worker::run ] Thread started.
2012-11-20 19:24:50,036 [ Thread-1::139866870277888] [DEBUG ] [ capfile_worker::run ] Thread started.
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Become signal from the system (signum:'2', stack:'<frame object at 0x2675c30>').
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CallMonitor(Thread-4, stopped 139866878670592)>'
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ call_monitor::stop ] Received signal to stop the thread.
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CallMonitor(Thread-4, stopped 139866878670592)>'
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CaptureMonitor(Thread-3, stopped 139866878670592)>'
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ capture_monitor::stop ] Received signal to stop the thread.
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CaptureMonitor(Thread-3, stopped 139866878670592)>'
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CapfileWorker(Thread-2, started 139866878670592)>'
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ capfile_worker::stop ] Received signal to stop the thread.
2012-11-20 19:24:52,656 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CapfileWorker(Thread-2, started 139866878670592)>'
2012-11-20 19:24:52,657 [ Thread-2::139866878670592] [DEBUG ] [ capfile_worker::run ] Became None element, put a None element to the queue for the others workers and break the work.
2012-11-20 19:24:52,657 [ Thread-2::139866878670592] [DEBUG ] [ capfile_worker::run ] Thread stopped.
2012-11-20 19:24:52,657 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call stop method to the thread:'<CapfileWorker(Thread-1, started 139866870277888)>'
2012-11-20 19:24:52,657 [MainThread::139866919728896] [DEBUG ] [ capfile_worker::stop ] Received signal to stop the thread.
2012-11-20 19:24:52,657 [ Thread-1::139866870277888] [DEBUG ] [ capfile_worker::run ] Became None element, put a None element to the queue for the others workers and break the work.
2012-11-20 19:24:52,657 [ Thread-1::139866870277888] [DEBUG ] [ capfile_worker::run ] Thread stopped.
2012-11-20 19:24:52,657 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Call join signal to the thread:'<CapfileWorker(Thread-1, stopped 139866870277888)>'
2012-11-20 19:24:52,657 [MainThread::139866919728896] [DEBUG ] [ fritzcap::signal_handler ] Become signal from the system (signum:'2', stack:'<frame object at 0x2675c30>') finished.
2012-11-20 19:24:52,657 [MainThread::139866919728896] [DEBUG ] [ fritzcap::<module> ] There is no more active threads. Exiting.
2012-11-20 19:24:52,657 [MainThread::139866919728896] [INFO ] [ fritzcap::<module> ] FritzCap finished.