If you are using a recent version of 1.6 you should be able to do that
using the following parameter of the Dial command:
D([called][:calling]) - Send the specified DTMF strings *after*
the called
party has answered, but before the call gets bridged. The
'called'
DTMF string is sent to the called party, and the 'calling'
DTMF
string is sent to the calling party. Both parameters can
be used
alone.
On 22-Aug-09, at 3:44 PM, Dean Yorke wrote:
I am wondering if anyone might be able to give me some direction.
Here is the config: I have a fax machine on an fxs port and pstn
lines on fxo. So fax machine > fxs > asterisk > fxo > pstn.
the issue: primus offers log calling for long distance. so to use
a long distance number (minus 800 numbers) you have to dial, wait
for dial tone, then enter a 4 digit client code. this is so they
can bill back chargable calls.
the problem: asterisk doesn't wait for the dial tone. it either
strips off the last 4 digits or just sends the entire string all at
once. is there anyway to accomidate this? i looged at the D()
function in the Dial cmd but can't see how to parse the number to
make it happen. any help would be much appreciated.
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]