Hi Joe,
Thanks , that helped me 100 times.
I am facing a new problem, which is error-originate failed
when the callback daemond service is trying to call me back , it shows on the CLI screen
Code:
[Jul 30 15:44:47] ERROR[3014]: utils.c:1068 ast_careful_fwrite: fwrite() returned error: Broken pipe
== Manager 'myasterisk' logged off from 127.0.0.1
here is the a2billing-daemon callback log
Code:
WE ARE IN THE CHILD PROCESS
SQL =SELECT id, server_ip, manager_host, manager_username, manager_secret, lasttime_used FROM cc_server_manager WHERE id_group='1' ORDER BY lasttime_used ASC LIMIT 1 OFFSET 0
[2011-07-30 15:42:15]
[
[2011-07-30 15:42:15]]
::>>> IO::Socket::INET=GLOB(0x9da5560)
[
[2011-07-30 15:42:36]]Response - Error - Message - Originate failed
[
[2011-07-30 15:42:36]]
## CALLBACK FAIL
UPDATE cc_callback_spool SET status='ERROR', manager_result='Error-Originate failed', num_attempt='1', last_attempt_time=now(), id_server='1' WHERE id='37'[
[2011-07-30 15:42:36]]
UPDATE cc_server_manager SET lasttime_used=current_timestamp WHERE id ='1'[
[2011-07-30 15:42:36]]
[END SELECT]
pls help me
Best regards,