Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi all,

In my application, I am making a web request. At this time an outgoing Packet Switched Data Call(PSDC) is made. And it will go on for almost 27 Seconds. Whereas the response will be got in 2 seconds. After getting this response i am parsing this and extracting the desired fields. Later i have to make a voice call. Here is the problem.

Till the Packet Switched Data Call won't last, i cannot able to make a call. I am making the call using ITAPI_MakeVoiceCall( ).

I want to know:
Is there any API with which i can decrease the time for PSDC?
Is there any work around for this problem?

Regards,
Syed

Hi Guys,
Please help me in this problem. Its like a "Work Stopper". :eek:
Regards,
Syed

Hi Guys,
Please help me in this problem. Its like a "Work Stopper". :eek:
Regards,
Syed

Not sure I understand your question, anyway:
You are making a data call, and immediately after data call you want to make voice call, is that correct?
Are you having problem with this, or do you want to reduce the duration of the data download?

Not sure I understand your question, anyway:
You are making a data call, and immediately after data call you want to make voice call, is that correct?
Are you having problem with this, or do you want to reduce the duration of the data download?

Thanks Ruben,
what u told is exactly the problem i am facing. I want to reduce the data call time.
If I use the hang-up to stop the data call, then only i can able to make a call(using simulator itself). So i want to reduce this time of data call.
If u want some more inputs i can provide. Please help me in this issue.
Regards
syed

Thanks Ruben,
what u told is exactly the problem i am facing. I want to reduce the data call time.
If I use the hang-up to stop the data call, then only i can able to make a call(using simulator itself). So i want to reduce this time of data call.
If u want some more inputs i can provide. Please help me in this issue.
Regards
syed

I was just going through the BREW API Reference manual and came across this line. I am not sure whether it can some sort of solution for the problem which i mentioned here. :confused:
"Typically, both linger and dormancy timeouts have a default value of 30 seconds. "
Hope this will give an idea to solve the problem. :)
Regards,
Syed

I was just going through the BREW API Reference manual and came across this line. I am not sure whether it can some sort of solution for the problem which i mentioned here. :confused:
"Typically, both linger and dormancy timeouts have a default value of 30 seconds. "
Hope this will give an idea to solve the problem. :)
Regards,
Syed

When you make IWEB call, there is an option WEBOPT_CONNECTTIMEOUT you can add to set this value to something of your choice. Default value is 30000 miliseconds.

When you make IWEB call, there is an option WEBOPT_CONNECTTIMEOUT you can add to set this value to something of your choice. Default value is 30000 miliseconds.

AFAIK, even if you disconnect the data call (if you are using sockets, once done you can delete the sockets, if you are using IWEb delete the instance) it takes 30 seconds (linger time, this carrier dependant) to disconnect the data call. Although there are API's to alter the linger time, SDK's advice against this. A workaround would be to show the user a wait screen where you disconnect the data call and wait for the linger time and then initiate a call.
Read on InetMgr for more details on linger time and dormancy..

AFAIK, even if you disconnect the data call (if you are using sockets, once done you can delete the sockets, if you are using IWEb delete the instance) it takes 30 seconds (linger time, this carrier dependant) to disconnect the data call. Although there are API's to alter the linger time, SDK's advice against this. A workaround would be to show the user a wait screen where you disconnect the data call and wait for the linger time and then initiate a call.
Read on InetMgr for more details on linger time and dormancy..