Anyone know how to get data calls working using TAPI? - Windows Mobile Software Development

Hi
I've written an event driven driver that uses a combination of SimMgr, RAS and TAPI to enable GPRS and GSM calls on a closed PPC system (no Windows shell running). This works perfectly OK on the original XDA.
The problem on the XDA 2 is that I cannot make or receive data calls, but voice calls and GPRS work fine. I'm setting the PhoneExtendFunction registry key data to the relevant values (v.110, ISDN line) and setting the LINECALLPARAMS struture to use data calls before being passed to the lineMakeCall() function.
The call is dialed and an 'OK' async message comes back from the TAPI layer. Immediately following this is a 'call disconnected' message and an 'unreachable' error code is returned. The dialed data line is valid and has been checked uing the original XDA.
Does anyone have any ideas on what is causing this? It looks like something else needs to be setup but I don't know what. The only conclusion I have come to the that there must be a minor difference between how the orginal XDA handled data calls and how the XDA 2 one does. Data calls do work when tried under the Windows shell.
Any help would be much appreciated.

I had exactly the same problem....on GSM data calls, TAPI returned an error on dialing/receiving GSM data calls (LINEDISCONNECTMODE_UNREACHABLE).
To cure this problem, you will require a ROM CE/Ext/Radio Stack upgrade.

Related

Idea of VOIP tweak for WM6 (thou not a programmer)

So hello cooks, chiefs, programmers,
I have a little question concerning VOIP on WM6 (Black 3.0 for instance)
I receive calls, no worries, I can make calls, no worries either.
What could be great, as when i'm using a SIP from my ISP, would be to have some like automatic options. That is, VOIP for normal phones are free (domestic and some countries), thou mobiles (domestic and international) are not.
This add would then automatically use one way or another, depending on your preferences. Like if I want to call a mobile even while connected on SIP server, it uses the 3G or 2G connection. If I want to call a normal phone, domestic, it would use SIP. Like it would detect first if your connected to the wifi and SIP line, then check the first digits of the number and then it would choose through which connection the call would go.
As an example : (French numbers)
Assuming a effective SIP connection through wifi.
I call 01...(or+331...) through SIP
I call 06...(or+336...) through 3/2G
I call +1....(US number) through SIP
If it could also change automatically the ipdialplan.xml (confusing for me ) depending on wysiwyg options you can give would also be great.
Would that be possible ?
Kael said:
So hello cooks, chiefs, programmers,
I have a little question concerning VOIP on WM6 (Black 3.0 for instance)
I receive calls, no worries, I can make calls, no worries either.
What could be great, as when i'm using a SIP from my ISP, would be to have some like automatic options. That is, VOIP for normal phones are free (domestic and some countries), thou mobiles (domestic and international) are not.
This add would then automatically use one way or another, depending on your preferences. Like if I want to call a mobile even while connected on SIP server, it uses the 3G or 2G connection. If I want to call a normal phone, domestic, it would use SIP. Like it would detect first if your connected to the wifi and SIP line, then check the first digits of the number and then it would choose through which connection the call would go.
As an example : (French numbers)
Assuming a effective SIP connection through wifi.
I call 01...(or+331...) through SIP
I call 06...(or+336...) through 3/2G
I call +1....(US number) through SIP
If it could also change automatically the ipdialplan.xml (confusing for me ) depending on wysiwyg options you can give would also be great.
Would that be possible ?
Click to expand...
Click to collapse
Mate i am about to release a new version of the Sip Cnfig Toos this will alow for WYSIWYG dial plan editing.
I just have to work out wethere i can force a ceritan type of number (01 in your eg) through a certiran gateway out (SIP).
But we are thinking.....
If anyone knows if you can do this thry the dial plan pelase let me know.
I knew the chefs are gods....
I'll create the church right away
Restrict clause in the rule of the ipdialplan
The answer could be the use of a "restrict" clause in the rule of the ipdialplan
cf. http://msdn2.microsoft.com/en-us/library/aa921954.aspx
Example :
<!-- IP address rules -->
<rule pattern='\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
restrict='Cell,SMS'
/>
The IP address rules restict its usage to Cell and SMS.

Query: Simultaneous GPRS data transfer & Voice call

I have an MDA C3. When web & walk is transferring internet Data and a call comes in, the phone does not ring. It goes directly to the voicemail.
T-Mobile customer service tell me that this is correct as you can either transfer internet data or make a call.
Is that right? I thought that was with WAP which is analagous to dial-up. Surely GPRS is analagous to Broadband.
Anyone else want to try this:
Go to Web & walk home page. Attempt loading up the guardian page (This will take a while). Whilst this is loading, call your phone number and see if it rings or goes direct to VM.
I spend lots of time browsing so I must be losing lots of calls!
Feedback greatly appreciated.
From what I have heard only UMTS devices can support simultaneous voice/data.
Yes - but not GRPS that uses GSM band instead of UMTS.
However, some devices have troubles keeping the data link active when a call comes in.
I am having the same issue (also on T-Mobile UK).
Then IE is running or AS is downloading my mail (I use direct push) all my calls go straight to voicemail.
This is worrying as I just moved over to T-Mobile for the web n walk package to allow me to have instant e-mails. This is a pain if it means I miss calls whilst my mail is downloading.
You'd think that the chances of the 2 coinciding are slim (I don't get a lot of mail, maybe 10 per day) but the wife has already complained 3 times since Friday that she went straight to voicemail, and each time it was exactly as i got a new mail.
Is this a limit of GPRS, the Orbit or just T-Mobile?
Thanks
Dae
I was surprised too... Thats why I posted the query. I thought my phone and/or SIm were faulty. But T-Mobile tell me thats how its supposed to work.
With W&W and Email, Its really hard for someone to get through with a voice call. It was worrying for me as I tend to browse the net whenever I am waiting around. This means that when I am on the bus surfing, no one can get through to me!!
Surely if there is a limitation, then the phone should give precendence to the Voice call. After all, you can pick up your emails or surfing where you left off.
I would really be interested to see if this is a T-Mobile only problem.
No itschase is spot on.
It's not a t-Mobile problem, it's the same for any GSM based network.
Only 3g (UMTS) phones can do data and voice at the same time. No matter what network you are on.
I have just run an experiment in the office as follows:-
Me (artemis with v3 black and blue) - Voicemail when data active
person 1 (MDA compact III - v3 black and blue) - Voicemail when active
person 2 (hermes) - no Voicemail when active.
We are all on t-mobile UK, and therefore it doesn't look like a network issue, but maybe a ROM problem?
daesimps said:
therefore it doesn't look like a network issue, but maybe a ROM problem?
Click to expand...
Click to collapse
What problem? Everything is working as it supposed to. If it's so important to you. Go buy a 3g phone!
I now fully appreciate that 3g phones are the only ones to support this type of behaviour.
I was trying to be helpful and post the results of my test as at that point I didn't realise that only 3g phones worked as such. I was lead to believe this by wikipedia:-
"Class B
Can be connected to GPRS service and GSM service (voice, SMS), but using only one or the other at a given time. During GSM service (voice call or SMS), GPRS service is suspended, and then resumed automatically after the GSM service (voice call or SMS) has concluded. Most GPRS mobile devices are Class B. "
Obviously this is not the case.
Bring on the HTC Kaiser!!!
Gajet said:
What problem? Everything is working as it supposed to. If it's so important to you. Go buy a 3g phone!
Click to expand...
Click to collapse
I incorrectly assumed that whilst browsing, if a voice call comes in, the phone would give priority to the call.
If I had known what I know now at the time I signed my 18M contract I would have bought a 3g Phone! Its just annoying that i'm stuck with it for another 12M. T-Mobile push the fact that they have set the internet free... but what they fail to get across to everyday users is that its "AT THE EXPENSE OF THE VOICE CALLS"
Because T-Mobile forced you to buy one of their 2.5g phones rather than one of their 3g phones?
I have no problem receiving phone calls while browsing the internet on the P3300.
cduijker said:
I have no problem receiving phone calls while browsing the internet on the P3300.
Click to expand...
Click to collapse
Neither have I to be honest, the issue only arises while you are actively downloading data. However once the website has loaded, you are free to accept calls again whilst still looking at the site in the browser.
Gajet said:
Neither have I to be honest, the issue only arises while you are actively downloading data. However once the website has loaded, you are free to accept calls again whilst still looking at the site in the browser.
Click to expand...
Click to collapse
As a test I started downloading a dummy 32MB testfile on my P3300 (from speedtest.bbned.nl) and I called my mobile with another phone.
There was no problem; I received the call while downloading the file.
Maybe it depends on the operator? I am in Holland on T-Mobile
daesimps said:
I now fully appreciate that 3g phones are the only ones to support this type of behaviour.
I was trying to be helpful and post the results of my test as at that point I didn't realise that only 3g phones worked as such. I was lead to believe this by wikipedia:-
"Class B
Can be connected to GPRS service and GSM service (voice, SMS), but using only one or the other at a given time. During GSM service (voice call or SMS), GPRS service is suspended, and then resumed automatically after the GSM service (voice call or SMS) has concluded. Most GPRS mobile devices are Class B. "
Obviously this is not the case.
Bring on the HTC Kaiser!!!
Click to expand...
Click to collapse
Hi,
It's not enough to have a class A (2G) device, but also DTM (Dual Transfer Mode/Simple Class A) support has to be active in the specific network, otherwise only 3G device on 3G network will provide Class A (simultaneous voice & data).
In fact, there are quite many models from Nokia during last year that support DTM, but as already mentioned, it's not enough.
FYI,
Zohar
cduijker said:
As a test I started downloading a dummy 32MB testfile on my P3300 (from speedtest.bbned.nl) and I called my mobile with another phone.
There was no problem; I received the call while downloading the file.
Maybe it depends on the operator? I am in Holland on T-Mobile
Click to expand...
Click to collapse
Is that an EDGE network ?
I got the Artemis with PV Black&Blue v3 ROM.
I can receive calls while pages are loading in IE.
I think this is a provider problem.
The phone provider has to intercept your GPRS connection and establish the GSM connection. Maybe T-Mobile just rejects calls while a GPRS connection/transfer is active.
A1 intercepts the page download and my call comes in.
When I pick up, the GPRS connection is closed completely. (not just pending)
So receiving calls while surfing is no problem for me with Austrian A1 provider.
Any other experiences?
Gajet said:
Is that an EDGE network ?
Click to expand...
Click to collapse
no, just gprs; no edge.
cduijker said:
no, just gprs; no edge.
Click to expand...
Click to collapse
...then it's no way you'll get simultaneous voice and data (class a).

GSM data communication

Hi
I am developping a GSM application who needs to receive a GSM data call, made a data connection and send and receive data.
The problem with this PDA is that a GSM data call is received as a video call, a incoming video call window appears and even if I push over answer buttom, the connection is lost.
Is there any way to communicate two HTC Diamond via GSM?
I have installed 1.40.OliNex and Diamond_Radio_1.00.25.05 but it still doesn't work.
Many Thanks for any help.

HELP: Cannot send SMS, but MMS, phone calls and data is working

Anyone know what may be up with this? When i try to send an SMS it just sits there attempting to send but ends up saying it has failed. no details on why.
Using data on 2g/3g is fine. I have wiped phone and installed new ROMs twice but the deal is the same.... I can still make/receive phone calls, can send/receive MMS, browser on wifi and 2g/3g is good, just no sms. phone status says i'm connected, phone network settings on *#*#4636#*#* says everything is fine, and I have even switched between AUS and AUS2 bands (i am in australia) but to no avail.
Please help!
aerospyke said:
Anyone know what may be up with this? When i try to send an SMS it just sits there attempting to send but ends up saying it has failed. no details on why.
Using data on 2g/3g is fine. I have wiped phone and installed new ROMs twice but the deal is the same.... I can still make/receive phone calls, can send/receive MMS, browser on wifi and 2g/3g is good, just no sms. phone status says i'm connected, phone network settings on *#*#4636#*#* says everything is fine, and I have even switched between AUS and AUS2 bands (i am in australia) but to no avail.
Please help!
Click to expand...
Click to collapse
Maybe your simcard has lost the smsc number? I don't remember how to edit it on the nexus though.
When did you first encounter this problem?
Sent from my Galaxy Nexus using Tapatalk
I first encountered this around the same time i first flashed revolutionHD, but doubt its directly related. I'll look around for the SMSC I need. Will update
experienced something similar at activation. are you porting your number?
ok you were right, my SMSC disappeared. annoyingly i couldn't put it directly into the phone, as it is complaining that there is an update error, but thankfully i use GoSMS and can tell it to use a custom SMSC and so that works.
As for activation, n i wasn't porting my number, this isn't even a new contract, my boss from my old job bought the phone for me outright as a christmas pressie so it is a direct swap.

Nexus 5x can't make calls, data and text are fine. Verizon

So, my phone can't make calls and I've tried everything I was able to find online to force it to do so. I took my sim card from my moto x and put it in you'd nexus 5x, but when I try to make a call it immediately hangs up. I've gotten a new SIM card and gone to multiple Verizon stores to fix it, to no avail. Lastly, I heard that I could make calls inever i enabled advanced/hd calling so that i could use data for the call. Whenever i go into testing settings to make the VoLte work and reboot, it seems to not keep the setting. I'm lost, and I just want to make calls. Any help?
In the past (16 years ago, in times of Siemens S55) there was a way to enable a second line on the mobile phone. I think it was something like pressing 0 for a few seconds to switch between the lines.
When activated without access to a second line, you were not able to make any phone call. Not sure if this function is still available at actual smartphones. Only a hint where you can search for.
Or, another hint, you've activated the call restriction (not sure if this is the correct translation from German). In the options of the phone you're able to block some or all numbers for outgoing calls.
Try to check in test menu (*#*#4636#*#*)if the phone is on LTE-only mode and put it on LTE/CDMA/UMTS
Sent from my Nexus 5X using Tapatalk
My H798 came across bootloop, after a fix from Huaqiangbei, Shenzhen, was sent to me today. The phone runs into a similar issue. Data and SMS work well, while any call will be held on "Calling…" for 30 seconds, with no sound, then end up with a beep of hanging up.
But my mobile carrier is China Mobile.
Same thing here, replaced with chinese motherboard and now no calls, but sms and data works fine.
It seems that there are different SMC for 4g and 2/3G, so it seems that there is a hardware fault on the 3g/2g chip.
Gonna try to gunheat it.

Categories

Resources