If by "play the tone of digits" you mean play DTMF tones, then dx_dial via Voice.dial(number, null) is what you need. Use a null DXCAP (second argument) for no progress analysis.
Otherwise, you have to use playtone() with appropiate TNGEN argument.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks carlos, what are the appropriate paremters for TNGEN.
One more question.
How should i transfer the dailout call on specific extention after receiving it by the exchange.
e.g.,
i want to place the call on some specified number using dailout from program and then after this other side pick up the call by the exchange and tape plays to input the extention nmber to transfer the call or press 0 for operator.
Looking for help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to do it for Analog Channel, our local exahange is standard panasonic. i just want to check how it will works on Analog Channel. an i m using the D/41JCT-LS dailogic card.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I want to play the tone of Digits. how should i do this and using which function. looking for help.
If by "play the tone of digits" you mean play DTMF tones, then dx_dial via Voice.dial(number, null) is what you need. Use a null DXCAP (second argument) for no progress analysis.
Otherwise, you have to use playtone() with appropiate TNGEN argument.
Thanks carlos, what are the appropriate paremters for TNGEN.
One more question.
How should i transfer the dailout call on specific extention after receiving it by the exchange.
e.g.,
i want to place the call on some specified number using dailout from program and then after this other side pick up the call by the exchange and tape plays to input the extention nmber to transfer the call or press 0 for operator.
Looking for help
Take a look at the TNGEN.java. There are constructors for single and dual frequency tones.
Transfering calls depends a lot on the switch you have in front and the kind of signalling (i.e. protocol) you use.
I want to do it for Analog Channel, our local exahange is standard panasonic. i just want to check how it will works on Analog Channel. an i m using the D/41JCT-LS dailogic card.
That would be overdialing a flashhook, destination number and then hanging up.
You can do the overdial with Voice.dial().
An ampersand signals dx_dial to do a flashhook, when it can. (It does in the case of an AnalogChannel).
Call.clear() does the hangup :-)