jroper wrote:
Hi
Make sure the daemon starts after asterisk.
Joe
thanks for the advice, but I started the daemon after asterisk and try restart manual.
I do not know python, but I found the following. I wrote a line
Code:
logging.error("ERROR connect"+str(sys.exc_info()[0]))
in the code
Code:
# Connect to Manager
try:
self.inst_callback_manager.connect(get_Server_Manager.manager_host, get_Server_Manager.manager_username, get_Server_Manager.manager_secret)
except:
# cannot connect to the manager
logging.error("ERROR connect"+str(sys.exc_info()[0]))
self.inst_cb_db.update_callback_request(
current_request.id,
'ERROR')
continue
stop the service and start callback is manual:
a2b_callback_daemon.py --nodaemon
and received the following:
"2014-05-08 16:44:29,640 - root - MainThread - INFO - [<database.CallBack_Spool object at 0x8f3edcc>]"
"2014-05-08 16:44:29,651 - root - MainThread - ERROR - ERROR connect<type 'exceptions.AttributeError'>"
"2014-05-08 16:44:34,665 - root - MainThread - INFO - waiting..."
"2014-05-08 16:44:39,678 - root - MainThread - INFO - waiting..."
Error in code manager connect, but I can not understand how.
Sorry for my bad English.