I’m using a an Asterisk box and an AudioCodes FXO gateway connected to analog lines from Bell Canada.
Bell Canada allows you to hide your caller ID by dialing *67, waiting for a second dial tone and then dialing the number you wish to call .
I want the user to dial *67 followed by the number in on shot and then have asterisk dial *67 through the gateway and then send the phone number as DTMFs after the second dial tone.
If I implement it as a Dial followed by a SendDTMF in the dialplan, the DTMFs are not sent because the call is not connected at the time the second dial tone is presented to the gateway so Asterisk is still waiting to proceed.
If I send the full dial string to the gateway at one shot, it will fail because there is no delay between dialing *67 and the number.
Any idea how I can do this dial in two stages?
Can I get asterisk to send the DTMFs before the call is connected?