Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 05, 2020 1:05 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Callback works only with cli-callback but without charging
PostPosted: Fri Feb 27, 2009 6:14 pm 
Offline

Joined: Fri Feb 27, 2009 5:43 pm
Posts: 33
Location: Germany, Berlin
Hello Forum,

first of all: Thanks for this great piece of software and all the help you can get in this forum.

I now have a quite nice Installation with Asterisk 1.4.17 and A2Billing 1.3.4 running on my ubuntu 8.04LTS Server.

The only problem i have is the Callback function.

I managed it to get it working with "cli-callback" in

[a2billing-callback]
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI(a2billing.php|1|cli-callback)
exten => _X.,4,Hangup

CID Callback and Web-Callback are fine with ist.

BUT: The "Callback-Call" (First Leg) is not being charged or registrated in the Call-History! :-(


When I try this:

[a2billing-callback]
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI(a2billing.php|1|callback)
exten => _X.,4,Hangup


...the callback my server will call me back as he should do and informs me about my credit, but after that it hangs up! :-(

But with this way my "Callback-Call" (First Leg) ist charged as i want it to.


Any ideas, how I could solve it?


Attachments:
extensions_a2billing.conf.txt [752 Bytes]
Downloaded 164 times
a2billing.conf.txt [22.76 KiB]
Downloaded 138 times
Top
 Profile  
 
 Post subject: Re: Callback works only with cli-callback but without chargi
PostPosted: Fri Feb 27, 2009 7:08 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
sschluet wrote:
exten => _X.,3,DeadAGI(a2billing.php|1|callback
...the callback my server will call me back as he should do and informs me about my credit, but after that it hangs up! :-(
See here.

Quote:
Any ideas, how I could solve it?
You need to create a new [agi-confX] section with 'answer_call = YES' and use it when invoking A2B's callback mode.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 11, 2009 10:37 am 
Offline

Joined: Fri Feb 27, 2009 5:43 pm
Posts: 33
Location: Germany, Berlin
Thanks! It worked with the option

answer_call = yes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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