[asterisk-users] Que on A2Billing

Nitesh Divecha nitesh at vipernetworks.com
Fri Jun 15 11:19:36 CDT 2007


Thanks everyone,

OK, I got everything working... I manage to create a SIP Customer with a 
real DID number and configured an ATA with the DID number. ATA can login 
and can make calls out without any issues.

But incoming calls are failing... As soon as the call hits Asterisk, 
A2Billing script runs and ask for PIN Number... I checked the context 
for my DID it shows "context=a2billing" and under sip.conf 
"context=a2billing".

If I change the default context under sip.conf to "context=default", 
then the calls are failing... meaning I do not get any response back, 
but on *CLI debug show that its failing to look for the DID number. 
Well, I know this is due to my DID is in  "context=a2billing".

Anyone can suggest how can I fix this... I want to ring my incoming to 
that ATA which has DID assigned.

Cheers,
Nitesh







Guillermo Salas M. wrote:
> On Thu, 2007-06-14 at 14:46 -0400, Nitesh Divecha wrote:
>   
>> Hello All,
>>
>> I got one quick question on A2Billing.
>>
>> Specs: -
>> - A2Billing v1.3
>> - OS CentOS 4.5
>> - Asterisk 1.2
>> - Zaptel 1.2
>>
>> Did the installation and everything is working as it suppose to...
>>
>> Using the A2Billing documentation, I created the RateCard, SIP Trunks, 
>> and SIP Customers. I was also able to login using XLite Dialer and was 
>> able to call out to my SIP Trunk also.
>>
>> Now how can I remove the IVR Prompt... Meaning from my XLite dialer I 
>> want to dial directly and let A2Billing do the billing part. Right now 
>> is something like when I dial any number from XLite, A2Billing script is 
>> invoked and it will announce "You have XXX amount, please enter the 
>> number you wish to call followed by #". And then I have to enter the 
>> number again and then the call is initiated... Its kinda annoying to do 
>> that every time you want to call.
>>
>> Is there anyway to modify config some where, so it will do the billing 
>> in background when the phone call is hangup.
>>
>>     
>
>
> Yes, is possible using the a2billing.conf file in the right way.
>
> I don't have the v1.3 installed, but in the previous release 1.2.3 you
> must have to modify :
>
> use_dnid=YES
> number_try=1
> say_balance_after_auth=NO
> say_balance_after_call=NO
> say_rateinitial=NO
> say_timetocall=NO
>
> Regards,
>
>   




More information about the asterisk-users mailing list