asterisk2billing.org
http://forum.asterisk2billing.org/

Route extension to a2billing directly with no pattern
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11879
Page 1 of 1

Author:  kingk110 [ Wed Oct 28, 2015 11:05 pm ]
Post subject:  Route extension to a2billing directly with no pattern

Hello everybody

I am new to this world but I am searching and working right till now.
There was a working freepbx with extensions trunks and routes. I was asked to activate a2billing on this system.

working versions are:
elastix 2.4
elastix-a2billing 1.9.4

I succeeded in that by making a trunk in freepbx with string "Local/$OUTNUM$@a2billing/n" and make route to it and created the needed providers,trunks, rateplan, accounts.... in the a2billing system.

What is working now is:
1-that the route is forwarded to a2billing according to a specific pattern; when the pattern is entered you will hear how much remaing $s the predefined account have.
2-Then you will be asked to enter the number followed by the pound key.
3-Then you will hear how many minutes you still have according to rate defined and the call is forwarded to the trunk defined in a2billing correctly.(although that a2billing is starting to calculate call duration from this point whether the call is answered or not but is not the main problem right now).

The question is can I route to a2billing with the number followed by the pound key directly with no pattern. I mean I want the user to dial the number directly from the extension and he will hear how many minutes still have with no need to dial a pattern and then the number and pound key.


Thanks for any help.

Author:  bucasia [ Fri Oct 30, 2015 11:16 am ]
Post subject:  Re: Route extension to a2billing directly with no pattern

I think the setting you want to look at is in the agi-conf you are using and is called "use_dnid". This will make a2billing used the number passed to it, rather than asking for the number.

A few things though ...

- if you play the balance then I think you need to answer the call "answer=yes". If you do this then I think the call will get charged from when it is answered. This could still charge the customer even if the call is not really answered by the remote person
- v1.94 is old. You should upgrade
- if you cannot upgrade you should absolutely make sure your system is not accessible from the internet :-)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/