Quote:
What I would need is that when a customer picks up te phone and dails 201, the system should detect that this is just a 3-digit number, so it should prepend the a2billing accountnumber (1111 in this case) to the dailed digits, and connect the call to the right extension.
Although I prefer to do such maneuvers directly in the Asterisk Dialplan, however they could be done in A2B (to some extent)
If I understood you well, you might want to create another RateCard to control this.
Always think of A2B as Rate driven routing Engine .. Even if your intention is not to bill (you can set the sell rate to zero).
The new RateCard should cover the 3 digit extensions and have priority over others (may be by setting BuyRate to zero)
The new RateCard should direct calls to a new trunk that is defined to send the calls internally in the system and not to outside carriers.
As an alternative to relying on the billing sense of A2B...
You might start the detection stage of 3 digits at the asterisk level then send then call the A2B with a dedicated AgiConf that forces your local routing CallPlan and its Rates
Let me know if this makes sense to you and if you need more help