Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 11:23 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Callback is not work
PostPosted: Wed May 07, 2014 10:35 am 
Offline

Joined: Wed May 07, 2014 10:22 am
Posts: 2
Hello,

I have installed callback on CentOS but it does not work. If I try to initiate a callback from Web interface i get the message: Your callback request has been queued correctly! But when I check /var/log/a2billing/a2b-callback-daemon.log I see the following:

MainThread - INFO - [<callback_daemon.database.CallBack_Spool object at 0xa15f82c>]"
MainThread - INFO - waiting..."
MainThread - INFO - waiting..."

When I check callback status in the database or Web interface it is ERROR.

Please help me in this situation.


Top
 Profile  
 
 Post subject: Re: Callback is not work
PostPosted: Thu May 08, 2014 1:07 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Make sure the daemon starts after asterisk.

Joe


Top
 Profile  
 
 Post subject: Re: Callback is not work
PostPosted: Thu May 08, 2014 1:52 pm 
Offline

Joined: Wed May 07, 2014 10:22 am
Posts: 2
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group