Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 2:42 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: IVR to Cell/ Mobile - how to bill?
PostPosted: Thu Jul 11, 2013 12:43 am 
Offline

Joined: Mon Jun 24, 2013 7:59 pm
Posts: 18
Hi,

I have a DID which comes into asterisk (not via a2billing).

It hits a context and this then tries to dial my sip phones x 4.

If they are not answered I try to ring my mobile (cell) phone x 2

How do I get this outbound call to go via a2billing so I know how much I'm spending on my outbound calls?

Cheers,

C


Top
 Profile  
 
 Post subject: Re: IVR to Cell/ Mobile - how to bill?
PostPosted: Fri Jul 12, 2013 8:29 pm 
Offline

Joined: Fri Jul 06, 2012 1:28 pm
Posts: 12
Not tested, just off the top of my head. Maybe adding something like this when you want to call the mobile will work:

exten => _X.,n,Set(CALLERID(dnid)=YOURPHONENUMBER)
exten => _X.,n, DeadAGI(a2billing.php,1)


Top
 Profile  
 
 Post subject: Re: IVR to Cell/ Mobile - how to bill?
PostPosted: Sat Jul 13, 2013 2:32 pm 
Offline

Joined: Mon Jun 24, 2013 7:59 pm
Posts: 18
Hey traxwriter,

I tried this but regardless of the number dialled a2billing was asking for an account code.

I got around this by setting same => n,Set(CDR(accountcode)=8621513811)

Now when I dial it reads out the balance and asks for a number to call.

Ideally I don't want the balance read out and I want a2billing to dial the number initially entered by the user.

So right now the flow is:

Enter the UK number 44208xxx xxx.
A2Billing picks up and reads out credit
A2Billing asks for the number again.

I really want the flow to be;
Enter the UK number 44208xxx xxxx
A2Billing connects the call and bills according to rate card.

Any ideas? I also tried adding DID to the a2billing agi call but it doesn't doesnt do anything.

Cheers in advance


Top
 Profile  
 
 Post subject: Re: IVR to Cell/ Mobile - how to bill?
PostPosted: Mon Jul 15, 2013 7:57 am 
Offline

Joined: Mon Jun 24, 2013 7:59 pm
Posts: 18
Hi all,

Managed to get this working by using a new agi conf. To turn off the minute and credit messages.

Also had to turn on the option to use dnid in the ago conf.

If anyone wants the code please reply and I will post when at my desk.


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


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 9 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