Hi,
I have an a java application which needs to send numeric pages using asterisk. I am using Asterisk 1.4.22 and Asterisk Java API 0.3.1
For this I have written the following code which (almost ) works.
AsteriskChannel asteriskChannel1 = asteriskServer.originateToApplication(
“DAHDI/g0/1235551212”,
“SendDtmf”,
“1234567890”,
10000);
The problem is the digits are being sent immediately on answer which result in some initial digits getting dropped.
We are suppose to wait for a beep and then send the digits.
The beep is coming after 5 to 10 secs.
I want to find out what is the best way to do this ??
Is it possible to wait to beep or detect a beep ?
OR
Wait for (say ) 10 secs
Appreciate your help and responses.
Thanks in advance.
Irfan