Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 7:40 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: call to IVR
PostPosted: Thu Sep 06, 2007 7:02 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Hello All!
I use(try to use :) ) Trixbox 2.0
I need to make such task: to make call from SIP-extension (soft-phone) to some number(may be 212 or other, not severely) and hit the IVR. And i need that call to be going via A2B, i.e. with charging.
How i understand, A2B will work only if we have really working outgouing trunk and route. Well, at first i have to obtain this call without billing, at second, attach billing. OK.
I tryed to define trunk "IVR-1"as FOP:IVR-1. (before i made IVR-1 with custom recording - it works, if dial 7777)
then i made route with Dial patterns 2XX and trunk sequence IVR-1.
Then i dial 212 from normally registered sip-softfone and get "call declined".
Can someone suggest anything about the problem?
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 06, 2007 7:53 am 
Offline

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

The solution would depend on where your SIP client is registered, A2Billing or FreePBX. I could not work this out from your post.

There are a couple of example platforms I did a write up with here: -

http://forum.asterisk2billing.org/viewtopic.php?t=2478

and here

http://forum.asterisk2billing.org/viewtopic.php?t=2467

The first, the customer is registered to A2Billing, the second, the customer is registered to FreePBX.

which one most closely suits your needs?

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 7:46 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Thank, Jroper!
I mean second choice, SIP client registerd in PBX
I tried to simplify a problem, divide it into parts
- at first to make call to IVR from SIP client, registerd in FreePBX.
- at second, attach A2B for this call, charg(to tariff) this call by prepaid cards.
as now, i stuck at first part

Or it is wrong way, by your opinion?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 8:00 am 
Offline

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

In FreePBX, setting up a Misc. Application will give you a number to dial for the IVR.

For making calls via A2Billing, a custom trunk in FreePBX should do the trick.

local/$OUTNUM$@a2billing

which goes to a context as below:-

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

CLI recognition in A2Billing, e.g. the extension number, and you are done.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 1:30 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Thanks!
Where can I read manuals about Misc. Application?
Can you give some url?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 7:01 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
www.freepbx.org


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 10:00 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Hello!
Thank you, Jroper, for advice
Now I study the problem deeper :)
Meanwhile I got through 50% in my task.
A2B is yet not overpowered


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 8:55 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
I did custom trunk local/$OUTNUM$@a2billing and I can hit a2b with any digit that I write as Dial patterns. I hear prompt 'Please enter your complete pin number'. Nice!
But to hit to IVR after entering pin I must have trunk in A2b, corresponding with working trunk in TrixBox. But how to make Custom trunk to IVR? Misc Applications is working, but it is not a trunk :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 9:12 am 
Offline

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

To make this just work, Just set up caller ID recognition in A2billing.conf in the agi-conf section, and see what caller ID is presented from FreePBX, and put that in against the A2Billing customer.

Can you tell give me a step by step process of exactly you want to happen when the caller picks up the phone and dials.

Can you also check that the calls are being billed in A2Billing.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 10:08 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
'and put that in against the A2Billing customer' - no, in this case, it's only don't ask pin. Then I dial my Misc application (IVR) and get 'The number you have dial is currently unavailable'
I want do next: Make incoming call and hit to some IVR. Then listen announcement and make choice and hit to A2B. Enter PIN, hear balance and dial some destination and hit to another IVR. And listen it, and bill this listening.
No SIP/IAX friend, no caller ID, authentification by PIN only.
Is it possible?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 11:59 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
OK, to create a trunk back into FreePBX from A2Billing so you can call IVR menus is to create a trunk in A2B that looks like this:-

local/from-internal

Depending on where you want to start dealing with the call in FreePBX.

After the customer has entered their PIN, they will have to dial a number which you have created in FreePBX.

You can create misc applications to call up the various IVR menus and recordings.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 24, 2007 10:04 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
no result
doesn't work
such message 'Everyone is busy/congested at this time'
I don't understand completely this:
Depending on where you want to start dealing with the call in FreePBX. -
start first time or after A2b? And what is depending on it?
Ineed to create the samename trunk in FreePbx?

I think, I can install one more PC with trixbox and configure final IVR there, and it will be as outbound route for first. It will to work, but it will be not fine solution.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 4:28 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Hi Joe!
I did what i was wanting! Really it works on two PC's, but it works!
There I found another one problem - Call Duration was zero. I'm not first man who meet it - http://forum.asterisk2billing.org/viewt ... ht=billing
Even if install 1.4, I got not CDR.
Then I took A2B-1.2.3.(Chameleon)and had install it with Trixbox 2.0.
It was successfully.
Thank you for help!
Sorry my bad English. :)

I will continue work and try to cram all it to one PC


Top
 Profile  
 
 Post subject: Setting up an Echo-Test in A2B
PostPosted: Mon Nov 12, 2007 7:47 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Joe - I've tried what you say, and can't get it to work, if you can point me in the right direction.

I created a new trunk with:

Provider Tech = Local
Provider IP = from-internal

ratecard and stuff is fine, but when it goes to dial it tries to dial:
Local/from-internal/1122 (1122 I set for echotest in freepbx) and it doesn't work properly.
I believe it must dial Local/1122 ... but how can you do that, as the trunk must have both pieces of info provider tech, and IP, you can't leave on blank to force it to dial local/1122 ... (I dont' believe) so how does one accomplish this seamingly simple task?
Later I want to use a "local trunk" to do the same thing for a chat room.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 12, 2007 8:00 pm 
Offline

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

I'm sure this works.

Try reversing the dial string in a2billing.conf

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Predictive Dialer


All times are UTC


Who is online

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