Hi
The (x) is the name of your sound file.
You can modify the agi-conf, dial-command parameter to include the A(x) switch. The A switch plays a sound file to the called party on answer.
So in the dial plan, you will
1. Set the account code, so we know who to charge for the call
2. Use TTS to create a soundfile and write it to disk.
3. set variable x to the name of the sound file.
4. Call a2billing.php with the appropriate agi-conf.
A2Billing then makes a call, and on answer, the A(x) switch in the dial command parameter plays the sound file.
Of course you could just use Newfies-Dialer, and it will just work.
I'm not going to write the dialplan for you, I don't have to the time, unless of course you want to engage us to help you -
http://www.star2billing.com/consultancy ... r-support/Joe