Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 5:30 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: billing problem
PostPosted: Thu Apr 03, 2008 11:17 am 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Hi the community,
I have installed a2billing 1.3.2 in my sytem,but there is one problem that I don't understand,the billing begins once the call is launched.
For example I call to canada but the recipient has not stalled(has not answered), but my billing system notes "Duration=00:27" and "cost=0.020 usd"
I tried to change the parameters billing block or initblock but the problem still persists therefore the problem should not stand at this level.
Can you give me solutions of this problem please!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 1:34 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
This appears to be the same question asked and answered yesterday.


Top
 Profile  
 
 Post subject: billing problem
PostPosted: Wed Apr 09, 2008 9:04 am 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Stavros,
I try to modify my file a2billing.conf modifying this parameters:
answer_call = NO
number_try = 1
play_audio = NO

but the problem persists! can you help me please!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 09, 2008 9:45 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Have you checked you're not Answer()ing the call in the Asterisk dialplan?


Top
 Profile  
 
 Post subject: a2billing.conf to analyze
PostPosted: Thu Apr 10, 2008 11:22 am 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Hi, I sent you my a2billing extension file
Code:
[a2billing]

exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup

I don't understand any well your question?

Thanks

Added after 21 minutes:

Hi, I send my a2billing configuration file!
You can if my configuration is exact please!!
thanks!!


Attachments:
a2billing_conf.txt [22.56 KiB]
Downloaded 568 times
Top
 Profile  
 
 Post subject: Re: a2billing.conf to analyze
PostPosted: Thu Apr 10, 2008 2:09 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
marko wrote:
exten => _X.,1,Answer
This is obviously where the call is being answered.


Top
 Profile  
 
 Post subject: remove answer
PostPosted: Thu Apr 10, 2008 4:57 pm 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Hi,

do you want to remove this line " exten => _X.,1,Answer " in my a2billing extension file ??

thanks!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 10, 2008 5:32 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
No, I'll let you do it thanks.
But beware simply removing it will not work, as the remainder of the priorities are 'n'. You need to amend those if you remove priority '1'.
Voip-info has everything you need to know about extensions.conf syntax.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 11, 2008 9:26 am 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Hi, stavros

Excuse me if I send my message in any post.
I the priority of parameter Answer '1' to 'n' but the problem is the same!
Excuse me I don't have many experience of asterisk and dial plan!
can you help me please!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 11, 2008 10:54 am 
Offline
User avatar

Joined: Thu Jan 31, 2008 10:49 am
Posts: 23
Location: Amsterdam, Netherlands
If you just remove that line you will have the following code:
Code:
[a2billing]

exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup


And the system will tell you that you are not entering a valid extension. That's because you don't have an entry with priority 1 which is what the asterisk looks for, so you must change it and put the first entry with priority 1.

Code:
[a2billing]

exten => _X.,1,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup


:wink:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 11, 2008 11:40 am 
Offline

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

This is a worthwhile read - and free.

Joe

http://downloads.oreilly.com/books/9780596510480.pdf


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 12, 2008 2:25 pm 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
hi zuuldibo,
I always don't understand why the problem persists.
I make this change:
[a2billing]

exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup

Added after 1 hours 17 minutes:

HI,
excuse me but i make this change:

[a2billing]

exten => _X.,1,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 3:37 pm 
Offline
User avatar

Joined: Thu Jan 31, 2008 10:49 am
Posts: 23
Location: Amsterdam, Netherlands
Try with
Code:
[a2billing]

exten => _X.,1,Wait(1)
exten => _X.,2,DeadAGI(a2billing.php|1)
exten => _X.,3,Hangup

it should work with that.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 21, 2008 8:50 am 
Offline

Joined: Fri Dec 14, 2007 11:20 am
Posts: 20
Hi,
I try this change but always the same:
Code:
[a2billing]

exten => _X.,1,Wait(1)
exten => _X.,2,DeadAGI(a2billing.php|1)
exten => _X.,3,Hangup


What informations or files are you need to help me?

thanks!!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 21, 2008 1:52 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Your first step should be to ascertain exactly where the call is being answered, and by whom:
Set 'debug = 3' in the [agi-conf1] section of a2billing.conf. Now 'set verbose 15' at the Asterisk console and watch it whilst placing a call.
You should be able to see where the call is answered.

It's not impossible that the problem is with your carrier; it could be them providing the false answer-supervision.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
VoIP Billing solution


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