Send DTMF tones - Peter Foot [MVP] |
Monday, July 09, 2007 10:03 AM
|
Have you tried the alternative approach of using the dtmf: pluggable
protocol e.g. use ShellExecuteEx to launch
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility |
 |
Hi Peter,Thank you very much for replying.No i am not aware of this. - Veena |
Tuesday, July 10, 2007 2:55 AM
|
Hi Peter,
Thank you very much for replying.
No i am not aware of this.I tried using RIL interface too but no
success.
Just want to clarify..You mean to say i call ShellExecuteEx("dtmf:2");
is it?
Here "2" would stand for the digit whose dtmaf i want to send right?
But how would i know if it has been successfully sent?
Please reply back, till then i'll try doing this.
Thanks again |
 |
Send DTMF tones - Peter Foot [MVP] |
Tuesday, July 10, 2007 4:08 AM
|
Yes you follow dtmf: with the key (or keys) you want to pass, this includes
the * # and p (pause) characters. No I don't believe you'll get a return
value to know if it was successful or not though.
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility |
 |
Hi,Thanks once again for replying back. - Veena |
Tuesday, July 10, 2007 6:56 AM
|
Hi,
Thanks once again for replying back.
I tried using ShellExecuteEx() wherein i passed lpFile paramater of
the SHELLEXECUTEINFO structure as "dtmf:2" considering digit 2. Now
just to confirm whether i receive this DTMF signal, i used
RIL_SetDTMFMonitoring function but again i am not getting any
notification using the same. Any other suggestions which i could try
to confirm?
Thank you very much |
 |
Can you try changing the Media type - ckm |
Tuesday, July 10, 2007 7:11 AM
|
Can you try changing the Media type from
LINEMEDIAMODE_INTERACTIVEVOICE|LINEMEDIAMODE_DATAMODEM to
LINEMEDIAMODE_INTERACTIVEVOICE |
 |
Hi,Sorry for late reply. - Veena |
Wednesday, July 11, 2007 6:03 AM
|
Hi,
Sorry for late reply. Was facing some problems with the call
conenction itself.
Now finally i am getting success return code for linegeneratedigits.
Thank you very much.
Now if i have to receive these DTMF tones what should i do?
Any idea?
Thanks once again |
 |
AFAIK on WM phones it is not possible to monitor DTMF digits on voicecalls. - ckm |
Wednesday, July 11, 2007 7:12 AM
|
AFAIK on WM phones it is not possible to monitor DTMF digits on voice
calls. Reason is DTMF digits are received from the remote party as
audio tones in the voice call, and there is currently no support to
monitor for these audio tones. |
 |
Thanks a lot for your reply.Yes i tried lineMonitorDigits function. - Veena |
Wednesday, July 11, 2007 7:20 AM
|
Thanks a lot for your reply.
Yes i tried lineMonitorDigits function.
But it returns error code that operation is unavailable.
So we have absolutely no means detecting these tones..thats very
discouraging. |
 |
When I'm opening my line like you with the same code I get Operation Unavaible. - BenoitBedar |
Thursday, July 19, 2007 9:26 AM
|
When I'm opening my line like you with the same code I get Operation
Unavaible...
the only way I get no error is when I'm using no privilege and only data
modem... what I am doing wrong.
--
Benoit Bedard
Junior Software Designer |
 |