Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 6:48 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Cant get call back working
PostPosted: Mon Mar 16, 2015 4:55 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
Hi , I have been Spending hours on this issue and can not get a successful call back. when i call in it hangs up and i get an error with the cli and with this perl callback script which i saved in paste-bin. callback_daemon-1.0.prod_r1528-py2.6.egg= http://pastebin.com/GGHUmHnq | asterisk 13 A2Billing v2.1.0 http://pastebin.com/1pkexcaM

I am using Dial-plan
Code:
[a2billing-all-callback]
exten => h,1,Hangup
exten => _X.,1,Set(CALLERID(num)=${CALLERID(num):1})
exten => _X.,n,Ringing
exten => _X.,n,Wait(2)
exten => _X.,n,DEADAGI(a2billing.php,1,all-callback,) ;last parameter is the callback area code
exten => _X.,n,Hangup


i also have a2billing callback using his context but i have also tried the default which was a2billing-callback with the same results.

Thanks,
Allen
http://www.beatmyprice.us


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Wed Mar 18, 2015 12:29 pm 
Offline

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

Are callbacks being queued?

Joe


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Thu Mar 19, 2015 9:00 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
Hi thanks for the fast response ,
And yes i see it getting Queued then when the daemon runs the queued call back comes up with an "ERROR" i put the logs in paste bin above :)


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Thu Mar 19, 2015 9:17 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
The main thing is the Daemon dies after trying to run the callback in the queue...



"2015-03-20 17:15:22,663 - root - MainThread - INFO - [<callback_daemon.database.CallBack_Spool object at 0x24a5ad0>]"
"2015-03-20 17:15:22,927 - root - MainThread - INFO - try_originate : SIP/Voip-Innovations-out/14044905024 : 1000 : a2billing-all-callback"
"2015-03-20 17:15:22,928 - root - MainThread - INFO - CallBack Status : Error"
"2015-03-20 17:15:22,937 - root - MainThread - INFO - [2015/03/20 17:15:22] Placed 1 calls"
"2015-03-20 17:15:27,939 - root - MainThread - INFO - waiting..."
"2015-03-20 17:15:27,941 - root - MainThread - ERROR - stopping with an exception"
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 200, in start
self.run()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 117, in run
run_action.perform()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 137, in perform
request_list = self.inst_cb_db.find_callback_request('PENDING', 11124)
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/database.py", line 180, in find_callback_request
((self.cc_callback_spool.c.callback_time==None) | (self.cc_callback_spool.c.callback_time < datetime.datetime.now()))
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2408, in all
return list(self)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2525, in __iter__
return self._execute_and_instances(context)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2538, in _execute_and_instances
close_with_result=True)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2529, in _connection_from_session
**kw)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 881, in connection
execution_options=execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 886, in _connection_for_bind
engine, execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 312, in _connection_for_bind
self._assert_active()
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 214, in _assert_active
% self._rollback_exception
InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined
"2015-03-20 17:15:28,122 - root - MainThread - INFO - stopped"
Traceback (most recent call last):
File "./a2b_callback_daemon.py", line 9, in <module>
load_entry_point('callback-daemon==1.0.prod-r1528', 'console_scripts', 'a2b_callback_daemon')()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 269, in main
CallBackDaemon().main()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 100, in main
self.start()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/daemon.py", line 200, in start
self.run()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 117, in run
run_action.perform()
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/a2b_callback_daemon.py", line 137, in perform
request_list = self.inst_cb_db.find_callback_request('PENDING', 11124)
File "/usr/lib/python2.6/site-packages/callback_daemon-1.0.prod_r1528-py2.6.egg/callback_daemon/database.py", line 180, in find_callback_request
((self.cc_callback_spool.c.callback_time==None) | (self.cc_callback_spool.c.callback_time < datetime.datetime.now()))
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2408, in all
return list(self)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2525, in __iter__
return self._execute_and_instances(context)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2538, in _execute_and_instances
close_with_result=True)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2529, in _connection_from_session
**kw)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 881, in connection
execution_options=execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 886, in _connection_for_bind
engine, execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 312, in _connection_for_bind
self._assert_active()
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 214, in _assert_active
% self._rollback_exception
sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sun Mar 29, 2015 9:22 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
Ok i gotten call backs working.. but i had to tell asterisk to start the service in dialplan everything time it runs lol


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Wed Apr 01, 2015 12:34 am 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
this doesnt seem to do the trick

sometimes it tryes to call back while your still on the phone


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Wed Apr 01, 2015 2:17 am 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
update someone pls help

"2015-03-31 22:12:12,086 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:17,092 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:22,102 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:27,112 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:32,122 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:32,130 - root - MainThread - INFO - [<database.CallBack_Spool object at 0x2ad29d0>]"
"2015-03-31 22:12:32,171 - root - MainThread - INFO - try_originate : SIP/Voip-Innovations-out/14044905024 : 18775743418 : a2billing-callingcard"
"2015-03-31 22:12:45,261 - root - MainThread - INFO - CallBack Status : Success"
"2015-03-31 22:12:45,274 - root - MainThread - INFO - [2015/03/31 22:12:45] Placed 1 calls"
"2015-03-31 22:12:50,278 - root - MainThread - INFO - waiting..."
"2015-03-31 22:12:50,280 - root - MainThread - ERROR - stopping with an exception"
Traceback (most recent call last):
File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/dist/callback_daemon-1.0.prod-r1528/build/lib/callback_daemon/daemon.py", line 200, in start
self.run()
File "/usr/local/src/a2billing/CallBack/callback-daemon-py/dist/callback_daemon-1.0.prod-r1528/build/lib/callback_daemon/a2b_callback_daemon", line 117, in run
run_action.perform()
File "/usr/local/src/a2billing/CallBack/callback-daemon-py/dist/callback_daemon-1.0.prod-r1528/build/lib/callback_daemon/a2b_callback_daemon", line 137, in perform
request_list = self.inst_cb_db.find_callback_request('PENDING', 11124)
File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/dist/callback_daemon-1.0.prod-r1528/build/lib/callback_daemon/database.py", line 180, in find_callback_request
((self.cc_callback_spool.c.callback_time==None) | (self.cc_callback_spool.c.callback_time < datetime.datetime.now()))
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2408, in all
return list(self)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2525, in __iter__
return self._execute_and_instances(context)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2538, in _execute_and_instances
close_with_result=True)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py", line 2529, in _connection_from_session
**kw)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 881, in connection
execution_options=execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 886, in _connection_for_bind
engine, execution_options)
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 312, in _connection_for_bind
self._assert_active()
File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py", line 214, in _assert_active
% self._rollback_exception
InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined
"2015-03-31 22:12:50,345 - root - MainThread - INFO - stopped"
emon.py", line 200, in start
self.run()


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Wed Apr 01, 2015 3:29 am 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
email it sent root...


abrt_version: 2.0.8
cmdline: python /usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/a2b_callback_daemon
executable: /usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/a2b_callback_daemon
hostname: register.cyfordtechnologies.com
kernel: 2.6.32-504.8.1.el6.x86_64
last_occurrence: 1427844485
time: Tue 31 Mar 2015 07:11:45 PM EDT
uid: 0
username: root

sosreport.tar.xz: Binary file, 10745156 bytes

backtrace:
:session.py:214:_assert_active:InvalidRequestError: This Session's transaction has
been rolled back due to a previous exception during flush. To begin a new transaction
with this Session, first issue Session.rollback(). Original exception was: Boolean
value of this clause is not defined
:
:Traceback (most recent call last):
: File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/a2b_callback_daemon",
line 301, in <module>
: CallBackDaemon().main()
: File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/daemon.py",
line 100, in main
: self.start()
: File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/daemon.py",
line 200, in start
: self.run()
: File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/a2b_callback_daemon",
line 120, in run
: run_action.perform()
: File "/usr/local/src/Star2Billing-a2billing-d960375/CallBack/callback-daemon-py/callback_daemon/a2b_callback_daemon",
line 149, in perform
: str(current_request.id_server_group))
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/attributes.py",
line 237, in __get__
: return self.impl.get(instance_state(instance), dict_)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/attributes.py",
line 573, in get
: value = state._load_expired(state, passive)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/state.py",
line 480, in _load_expired
: self.manager.deferred_scalar_loader(self, toload)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/loading.py",
line 655, in load_scalar_attributes
: only_load_props=attribute_names)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/loading.py",
line 217, in load_on_ident
: return q.one()
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py",
line 2482, in one
: ret = list(self)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py",
line 2525, in __iter__
: return self._execute_and_instances(context)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py",
line 2538, in _execute_and_instances
: close_with_result=True)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/query.py",
line 2529, in _connection_from_session
: **kw)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py",
line 881, in connection
: execution_options=execution_options)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py",
line 886, in _connection_for_bind
: engine, execution_options)
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py",
line 312, in _connection_for_bind
: self._assert_active()
: File "/usr/lib/python2.6/site-packages/SQLAlchemy-1.0.0b1-py2.6.egg/sqlalchemy/orm/session.py",
line 214, in _assert_active
: % self._rollback_exception
:InvalidRequestError: This Session's transaction has been rolled back due to a previous
exception during flush. To begin a new transaction with this Session, first issue
Session.rollback(). Original exception was: Boolean value of this clause is not defined
:
:Local variables in innermost frame:
:rollback_ok: False
:deactive_ok: False
:closed_msg: 'This transaction is closed'
:prepared_ok: False
:self: <sqlalchemy.orm.session.SessionTransaction object at 0x15e2350>


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Wed Apr 01, 2015 2:16 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
ok installed python2.7 from source with all other requirments and it is working now
http://toomuchdata.com/2014/02/16/how-t ... on-centos/

couldn't get it to work with python2.6.6


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sat Apr 18, 2015 11:33 am 
Offline

Joined: Mon Feb 11, 2008 6:12 am
Posts: 49
Hi,

Looks like i have came across right place.

I am using same versions and getting exact same issues.
So i updated python to 2.7 as mentioned in previous reply of yours.

But then its throwing another issues when we start callback daemon.

Quote:
[root@localhost callback_daemon-1.0.prod-r1528]# /etc/init.d/a2b-callback-daemon restart
Stopping a2b-callback-daemon: [FAILED]
a2b_callback_daemon is stopped
Traceback (most recent call last):
File "/usr/bin/a2b_callback_daemon", line 9, in <module>
load_entry_point('callback-daemon==1.0.prod-r1528', 'console_scripts', 'a2b_callback_daemon')()
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 546, in load_entry_point

File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2666, in load_entry_point

File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2339, in load

File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2345, in resolve

ImportError: No module named callback_daemon.a2b_callback_daemon
Starting a2b-callback-daemon: [FAILED]


Any solutions?

Please let me know.

Version info:
Quote:
OS: CentOS release 6.6 (Final)
Asterisk 13.3.2
A2Billing v2.1.0




Thanks,
Arpit


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sat Apr 18, 2015 1:17 pm 
Offline

Joined: Sat Oct 01, 2011 4:41 am
Posts: 50
not a pro at python, but i had made an install for both pythons to run side by side and installed by source..

i changed the bash in the scripts to use python2.7 and after python2.7 was installed i had to re follow the initial instructions
i used easy_install2.7 to install sqlalchemy & psycopg2
- cd /usr/local/src/a2billing/CallBack
- easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg

For RedHat :
- cp a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
- chmod +x /etc/init.d/a2b-callback-daemon
For RedHat :
- chkconfig --add a2b-callback-daemon
- service a2b-callback-daemon start
- chkconfig a2b-callback-daemon on


if your system has both versions of python then u need to make sure all is using the correct python and install its depenacies under the correct version..
if your system only has 1 version i would just start at the beginning o the instructions


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sat Apr 18, 2015 4:35 pm 
Offline

Joined: Mon Feb 11, 2008 6:12 am
Posts: 49
Hi,

Thanks for your response.

Yes, i reinstalled everything after installing python 2.7

I am able to do easy_install of callback_daemon-1.0.prod_r1528-py2.7.egg but older does not work.

Quote:
[root@localhost CallBack]# easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg
Processing callback_daemon-1.0.prod_r1527-py2.5.egg
Removing /usr/local/lib/python2.7/site-packages/callback_daemon-1.0.prod_r1527-py2.5.egg
Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/local/lib/python2.7/site-packages
Removing callback-daemon 1.0.prod-r1528 from easy-install.pth file
Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file
Installing a2b_callback_daemon script to /usr/local/bin

Installed /usr/local/lib/python2.7/site-packages/callback_daemon-1.0.prod_r1527-py2.5.egg
Processing dependencies for callback-daemon===1.0.prod-r1527
Searching for callback-daemon===1.0.prod-r1527
Reading https://pypi.python.org/simple/callback-daemon/
Couldn't retrieve index page for 'callback-daemon'
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for callback-daemon===1.0.prod-r1527
error: Could not find suitable distribution for Requirement.parse('callback-daemon===1.0.prod-r1527')


any hints?

Please let me know.

Thanks,
Arpit


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sat Apr 18, 2015 5:16 pm 
Offline

Joined: Mon Feb 11, 2008 6:12 am
Posts: 49
If we keep same old python 2.6.6 and follow instructions mentioned below then its getting same issue which you faced.

Callback installation steps
Quote:
LOAD_LOC=/usr/src/a2billing
yum -y install python-setuptools.noarch
yum -y install MySQL-python
easy_install sqlalchemy
cd $LOAD_LOC/CallBack/callback-daemon-py
cp callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
chmod +x /etc/init.d/a2b-callback-daemon
cp dist/callback_daemon-1.0.prod-r1528.tar.gz /tmp
cd /tmp
tar xvfz callback_daemon-1.0.prod-r1528.tar.gz
cd callback_daemon-1.0.prod-r1528
python setup.py build
python setup.py bdist_egg
easy_install dist/callback_daemon-1.0.prod_r1528-py2.6.egg
chkconfig --add a2b-callback-daemon
service a2b-callback-daemon start
chkconfig a2b-callback-daemon on



callback service is starting, but when there is a callback entry and call is made then its crashing after first call and then we need to manually start it again.


Quote:
InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Boolean value of this clause is not defined
"2015-04-18 22:28:23,224 - root - MainThread - INFO - stopped"


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Sun Apr 19, 2015 10:35 am 
Offline

Joined: Mon Feb 11, 2008 6:12 am
Posts: 49
Hi,

Can anyone please share some hints or ideas on this?
How do we make callback work?

Is there any issue with latest version of A2Billing related to callback or is it OS related issue?

Please let me know.


Thanks,
Arpit


Top
 Profile  
 
 Post subject: Re: Cant get call back working
PostPosted: Tue Apr 28, 2015 9:30 am 
Offline

Joined: Mon Feb 11, 2008 6:12 am
Posts: 49
Just if anyone face same issue:

I changed OS to Ubuntu 12.04 LTS and callback worked fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 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