Help me plz in my project

I am developing a j2me project in which i need to call a foreign number without dialing the access number . the access number should be dialed automatically.

for eg: when we call customer care number , the server asks us to press some number and then the connection is established to the customer care officer.

In my project we should not press the number , it should be done automatically .

Plz help me in overcoming this problem....

thanks in advance...

[486 byte] By [madhu84a] at [2007-11-27 4:18:49]
# 1

Not sure about this, if it's possible or how it should be done.

But if you're using an MIDP 2.0 device, you could try

public final boolean platformRequest(String URL)

throws ConnectionNotFoundException

Apparently, if you supply the URL in the form of tel:<number> it should initiate a voice call. I haven't tried it out since I have a Nokia 3120, that's an MIDP 1.0 device.

Update:

Just Google'd the method; read more about it here:

http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

Message was edited by:

nogoodatcoding

nogoodatcodinga at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

ya i know that dude... but that's not the problem.The platformRequest works well for voice calls . But my problem is

when we call customer care number , the server asks us to press some number and then the connection is established to the customer care officer.

In my project we should not press the number , it should be done automatically .

I can call but , i am not able to automate the key press.

madhu84a at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

I don't think that's possible. You want to automate the pressing of the numbers that go as input to the IVR (Interactive Voice Response)system right? As in, the system would say, 'Press 1 for someoption, 2 for someoption 3, or # to go back to the previous menu'.

You want to be able to dial the whole combination, for example, to get to option 3 under option 1 under original option 4 i.e. Call Customer Care>Press 4>Press 1>Press 3; you want to able to dial Customer Care followed by 413?

You can't do that since the IVR listens for inputs at specific moments; after reciting the message. And at each menu, only one of the inputs would be considered so you can't give the whole series.

Also, once the voice call is initiated, your application will not be interacting with the call so you can't give the input then. The user will have to press the keys.

This is what the situation is, in my opinion.

1. IVR systems won't take the whole string of options at one go.

2. Once the call is active, your application doesn't have control.

nogoodatcodinga at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
Then what about giving a single option to it ? Is it possible ?I no need to give all the number at single time . just need to do a single option . If possible also tell me how the service provider knows the key pressed in the mobile . how the mobile sends that data ?
madhu84a at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5

Giving a single option would still require the user to select it at the correct time and in that case you might as well let the user press the number key, as normal :)

As far as I remember, from my engineering, IVR system's work with tone dialing phones ( as opposed to pulse dialing ) using DTMF ( dual tone multi-frequency ); there is a separate, fixed frequency of the tone from each number and that is the 'data' that is sent. So you'll have to generate the correct tone to send to the IVR system. Don't know how you'd go about doing that.

Update:

More here:

http://en.wikipedia.org/wiki/Dual-tone_multi-frequency

http://en.wikipedia.org/wiki/ivr

Message was edited by:

nogoodatcoding

nogoodatcodinga at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
Anyway thanks dude ... i will try my best to do it .If possible , u too plz try to find it and keep in msging .Thanks and Regards ....Message was edited by: madhu84
madhu84a at 2007-7-12 9:25:40 > top of Java-index,Java Mobility Forums,Java ME Technologies...