Thanks krzykat,
krzykat wrote:
Just to recap to make sure it is understood properly:
User dials 0822 number ( a toll-free number in argentina )
The problem is that this number is not a toll-free number, I need to charge this call to the user's cards.
krzykat wrote:
Then you ask for pin, and the connect, etc.
The A2B system does billing based on the answer supervision of the outbound leg, not the inbound. What you can do is in the a2billing.conf file is utilize the fields for extra charge. This will allow you to bill an extra fee for users that connect to you via the toll free number. Such as:
; Extracharge DIDs, multiple numbers and fees must be separated by comma
extracharge_did=0822XXXXX
extracharge_fee=0.02
Give it a try and see if that works out for you.
The problem is that extacharge is not a constant it depend on geographic location of the user that dials (like the outgoing call)
I think about it as 2 calls at the same time
Asterisk -----> Destination Number (for example 1 minute, outgoing call time)
Asterisk -----> User (for example 2 minutes, the time using 0822 line, this include outgoing call time)
I'm sorry but this situation I think only happen in Argentine, but the rates for using 0822 line is more expensive that several outgoing rates and we can't discard this cost.
Thanks!