Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 6:45 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Callback on Debian does not call back
PostPosted: Wed Dec 23, 2009 10:00 pm 
Offline
User avatar

Joined: Mon Nov 16, 2009 9:26 pm
Posts: 30
Location: Kyiv, Ukraine
Hello,

I have installed callback on Debian 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:
INFO - [<callback_daemon.database.CallBack_Spool object at 0xb6df09ac>]
INFO - try_originate : Sip/Best/<Number_1> : <Number_2> : a2billing-callback

When I check callback status in the database it is ERROR:
Code:
id: 121
         uniqueid: 26003-viaby67
       entry_time: 2009-12-23 21:23:44
           status: ERROR
        server_ip: localhost
      num_attempt: 0
last_attempt_time: 0000-00-00 00:00:00
   manager_result: NULL
       agi_result: NULL
    callback_time: 2009-12-23 21:23:44


Username and secret in manager.conf and manager_username and manager_secret in the database are the same. Also user myasterisk has the following permissions in manager.cong:
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,log,verbose,command,agent,user,reporting,originate

And when I check if any manager is connected I see that no managers are:
CLI> manager show connected
Username IP Address Start Elapsed FileDes HttpCnt Read Write
0 users connected.

Please advice what I missed.

Thanks


Top
 Profile  
 
 Post subject: Re: Callback on Debian does not call back
PostPosted: Wed Dec 23, 2009 11:18 pm 
Offline
User avatar

Joined: Mon Nov 16, 2009 9:26 pm
Posts: 30
Location: Kyiv, Ukraine
I the following in Asterisk CLI:
[Dec 23 23:11:24] NOTICE[32141]: manager.c:1067 authenticate: 127.0.0.1 failed to authenticate as 'myasterisk'
== Connect attempt from '127.0.0.1' unable to authenticate


Top
 Profile  
 
 Post subject: Re: Callback on Debian does not call back
PostPosted: Wed Dec 23, 2009 11:43 pm 
Offline
User avatar

Joined: Mon Nov 16, 2009 9:26 pm
Posts: 30
Location: Kyiv, Ukraine
I found the root of the issue. Secret for Callback Server was incorrect.


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 14 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group