Where is wrong to make a phone call? - Windows Mobile Software Development

I am trying to make a call by TAPI
1. "lineOpen" is suceessfully completed
2. CallRequestID = lineMakeCall(hLine,&g_hCall,
(TCHAR*)"65798523",0, NULL);
after lineMakeCall is executed, the voice always prompt that the phone number is a void number or not existing number, why? can anyone correct the code ?
thanks.

Beats me.
I use this line of code, works perfectly for me. Ensure the number is UNICODE, try TEXT("123456789"). What happens if you call it from the inbuilt phone app?
Ben

Related

ConnMgrEstablishConnectionSync problems with sx56

in ConnMgrEstablishConnectionSync api function what does the error code
mean:
CONNMGR_STATUS_NOPATHTODESTINATION = No path to the destination could be
found.
it is a bit ambigous. the problem only occurs on sx56... does not happen on
the t-mobile version of the same phone.
and if i manually start the connection through the connection manager
application once, then disconnect, the ConnMgrEstablishConnectionSync api
function works once or twice, then fails to work from that point on.
any help is greatly appreciated.
[email protected]
Have you tried using "ConnMgrMapURL" API call? And map the GUID in the CONNMGR_CONNECTIONINFO struct and then call the ConnMgrEstablishConnectionSync function.

Please Help - Voice Command 1.6 w/ Bluetooth

I just got a SoundID SM100 and am trying to get it to work with my Dash. It works insomuch as I can dial a number on the phone and hear/communicate through the headset... but I would like to be able to initiate a call from the headset as well.
I tried this: http://forum.xda-developers.com/showthread.php?t=296171
But nothing changed.
Can someone please help!!
FYI - if i run BTVoiceCommand.exe manually (see the linked thread) i can use the headseat to call out fine. i just can't get the button on the headseat to activate this file.
So I just also tried this as well -
http://forum.xda-developers.com/showpost.php?p=1834188&postcount=154
Same result. The headset button does NOT activate voice command.
As before, if I manually run the BTVoiceCommand.exe file from the first link I posted, I can access voice command through the headset to select a contact and make a call.
Basically, I just need to know how to make my headset button activate that BTVoiceCommand.exe file I guess since it seems to be the key.
Please help!!

[Q] My cspire r800x(cdma) thinks its a Verizon phone.

Earlier today I had a successful attempt at installing FXP's CM9 126 build. As a requirement I had to flash the R800x_4.0.2.E.57_Verizon.ftf via Flashtool to my phone before I could flash the Rom. My phone's provider is Cspire(formally Cellular South), and after the ftf my phone is trying to make contact with Verizon for activation, leaving my unable to call or text on my own provider. I've tried flashing a nand backup I had of one of Codename Andriod that I created when everything was working perfectly, but it didn't fix the problem.
Thank you for your time and please let me know what I can to fix this.
Sincerely,
Frag_Bag
Frag_Bag said:
Earlier today I had a successful attempt at installing FXP's CM9 126 build. As a requirement I had to flash the R800x_4.0.2.E.57_Verizon.ftf via Flashtool to my phone before I could flash the Rom. My phone's provider is Cspire(formally Cellular South), and after the ftf my phone is trying to make contact with Verizon for activation, leaving my unable to call or text on my own provider. I've tried flashing a nand backup I had of one of Codename Andriod that I created when everything was working perfectly, but it didn't fix the problem.
Thank you for your time and please let me know what I can to fix this.
Sincerely,
Frag_Bag
Click to expand...
Click to collapse
You'll need to change the build.prop and apn settings. Found this from a quick search with someone that has a working verizon build.prop that is said to work on cspire
https://www.dropbox.com/s/dgteu3ziweifix8/build.prop
and his working apn settings:
https://www.dropbox.com/s/6cs5tqwdlcstt3s/apns-conf.xml
Also found this:
You could push the apn with ADB but i just edited mine with root explorer in /System/etc and restarted the phone.
As for CDMA Workshop is a service software for CDMA phones it is used for flashing phones to different carriers to put it plain as possible in my mind but it can be used for countless useful tasks, just Google it to read more. But the below method was much easier.
Dialing ##7764726(##program) is used to manually program your phone.
After dialing ##7764726 press call it will prompt for a SPC password it should be 000000
Then click User Activation
MIN1 I put the last 7 digits of my phone number.
MIN2 put the first three of phone number(area code).
MDN is your 10 digit phone number.
CDMA Sys ID put 1996
IMSI_11_12 put 12
Then hit back and click on SID/NID Pairs:
SID_1: put 1996
NID_1: put 65535
After this hit back till you exit all the way back out of the menu the phone will reboot after it reboots i dialed *22801 it didn't say anything just sat at the activation screen for about 30sec. Then it said reprogramming the phone then rebooted agin after that i was back on C spire.
Links are a little old but this is all I could find:
SID Database if you need to find a different carrier
http://www.the-answerman.com/sidlist/index.asp
Also the SID/NID I used was found in this PRL breakdown:
http://www.howardforums.com/showthread.php/1700374-New-PRL-60575-50575
The Second post of the page explains a lot more about PRL and SID/NID just good to understand what your kinda messing with:
http://forum.xda-developers.com/showthread.php?p=19537266
Also i don't know if this is the best way to accomplish this task but it took me awhile to figure out this fix it worked for me but i can't guarantee anything also im not responsible if something goes wrong and you brick(its always possible) but i am willing to help to the best of my abilities
Good Luck and sorry for such a long post.
agraceful said:
You'll need to change the build.prop and apn settings. Found this from a quick search with someone that has a working verizon build.prop that is said to work on cspire
https://www.dropbox.com/s/dgteu3ziweifix8/build.prop
and his working apn settings:
https://www.dropbox.com/s/6cs5tqwdlcstt3s/apns-conf.xml
Also found this:
You could push the apn with ADB but i just edited mine with root explorer in /System/etc and restarted the phone.
As for CDMA Workshop is a service software for CDMA phones it is used for flashing phones to different carriers to put it plain as possible in my mind but it can be used for countless useful tasks, just Google it to read more. But the below method was much easier.
Dialing ##7764726(##program) is used to manually program your phone.
After dialing ##7764726 press call it will prompt for a SPC password it should be 000000
Then click User Activation
MIN1 I put the last 7 digits of my phone number.
MIN2 put the first three of phone number(area code).
MDN is your 10 digit phone number.
CDMA Sys ID put 1996
IMSI_11_12 put 12
Then hit back and click on SID/NID Pairs:
SID_1: put 1996
NID_1: put 65535
After this hit back till you exit all the way back out of the menu the phone will reboot after it reboots i dialed *22801 it didn't say anything just sat at the activation screen for about 30sec. Then it said reprogramming the phone then rebooted agin after that i was back on C spire.
Links are a little old but this is all I could find:
SID Database if you need to find a different carrier
http://www.the-answerman.com/sidlist/index.asp
Also the SID/NID I used was found in this PRL breakdown:
http://www.howardforums.com/showthread.php/1700374-New-PRL-60575-50575
The Second post of the page explains a lot more about PRL and SID/NID just good to understand what your kinda messing with:
http://forum.xda-developers.com/showthread.php?p=19537266
Also i don't know if this is the best way to accomplish this task but it took me awhile to figure out this fix it worked for me but i can't guarantee anything also im not responsible if something goes wrong and you brick(its always possible) but i am willing to help to the best of my abilities
Good Luck and sorry for such a long post.
Click to expand...
Click to collapse
I was able to enter all the values for MIN2, MDN, CDMA, and IMSI, but the MIN1 Keeps telling me "Unable to set new parameter, I made sure there was a 1 before my 7 digit number. Thoughts?
Frag_Bag said:
I was able to enter all the values for MIN2, MDN, CDMA, and IMSI, but the MIN1 Keeps telling me "Unable to set new parameter, I made sure there was a 1 before my 7 digit number. Thoughts?
Click to expand...
Click to collapse
I don't think you'll need the 1. Just the last 7 numbers. Try that to see if it works. And just so you know, I'm on verizon so all my answers are coming from google at the moment lol
I left the number the way it was and finished the steps, everything is working as it should and I can call and text. Thank you very much. Now i just have to find a fix for Mobile data. I really do appreciate it.
Frag_Bag said:
I left the number the way it was and finished the steps, everything is working as it should and I can call and text. Thank you very much. Now i just have to find a fix for Mobile data. I really do appreciate it.
Click to expand...
Click to collapse
Mobile data would be in the build.prop and the apn settings, You should be able to use pieces from the build.prop I posted to work whatever rom you're on. I got to assume verizon and cspire are close to identical since they're both cdma. Half way there right?
agraceful said:
Mobile data would be in the build.prop and the apn settings, You should be able to use pieces from the build.prop I posted to work whatever rom you're on. I got to assume verizon and cspire are close to identical since they're both cdma. Half way there right?
Click to expand...
Click to collapse
Are these settings still current cspire settings... I lost 3g connectivity and would love to troubleshoot to figure out whats wrong with it... I did the ##Program and here are my settings
USER ACTIVATION MENU
MIN-my number with area code
IMSI_11_12 =23
MDN - my number with area code
CDMA system ID - 1996
EXTENDED NAM MENU
MIN = another local number
TRUE IMSI - 000000000007809
IMSI_11_12 = 23
MDN - my number with area code
CDMA system ID - 1996
Country code - 311
CDMA network - 65535
1st channel A - 283
1st channel B - 384
2nd channel A - 691
2nd channel B - 777
Access overload class 0
URGENT
im having the same issue when i use ##program and dail it does nothing but act like a collect call HELP
on cm9
Thanks...
agraceful said:
You'll need to change the build.prop and apn settings. Found this from a quick search with someone that has a working verizon build.prop that is said to work on cspire
https://www.dropbox.com/s/dgteu3ziweifix8/build.prop
and his working apn settings:
https://www.dropbox.com/s/6cs5tqwdlcstt3s/apns-conf.xml
Also found this:
You could push the apn with ADB but i just edited mine with root explorer in /System/etc and restarted the phone.
As for CDMA Workshop is a service software for CDMA phones it is used for flashing phones to different carriers to put it plain as possible in my mind but it can be used for countless useful tasks, just Google it to read more. But the below method was much easier.
Dialing ##7764726(##program) is used to manually program your phone.
After dialing ##7764726 press call it will prompt for a SPC password it should be 000000
Then click User Activation
MIN1 I put the last 7 digits of my phone number.
MIN2 put the first three of phone number(area code).
MDN is your 10 digit phone number.
CDMA Sys ID put 1996
IMSI_11_12 put 12
Then hit back and click on SID/NID Pairs:
SID_1: put 1996
NID_1: put 65535
After this hit back till you exit all the way back out of the menu the phone will reboot after it reboots i dialed *22801 it didn't say anything just sat at the activation screen for about 30sec. Then it said reprogramming the phone then rebooted agin after that i was back on C spire.
Links are a little old but this is all I could find:
SID Database if you need to find a different carrier
http://www.the-answerman.com/sidlist/index.asp
Also the SID/NID I used was found in this PRL breakdown:
http://www.howardforums.com/showthread.php/1700374-New-PRL-60575-50575
The Second post of the page explains a lot more about PRL and SID/NID just good to understand what your kinda messing with:
http://forum.xda-developers.com/showthread.php?p=19537266
Also i don't know if this is the best way to accomplish this task but it took me awhile to figure out this fix it worked for me but i can't guarantee anything also im not responsible if something goes wrong and you brick(its always possible) but i am willing to help to the best of my abilities
Good Luck and sorry for such a long post.
Click to expand...
Click to collapse
Thanks for copying and pasting all this from my thread you could have atleast acknowledged me since it's basically word for word
http://forum.xda-developers.com/showthread.php?t=1624990

CM 12.1 nightly: Can't send GSM USSD-Codes (i.e. *222#)

I just started to use CM 12.1 (nightly) on my G3 32 GB (D855).
One major problem is that I cannot use any USSD Codes (refer to Wikipedia for details), like *222#. This code, entered as a phone number, for example, is used to enable my SIM card for SMS reception (I use multiple cards on the same contract).
On the stock LG ROM, I could enter this code as a phone number and start the call. The phone would then reply with a message like "messaging activated on this phone".
With CM 12.1, I can enter that number as well, but as soon as I click the "call" button, the phone app just displays *222 (the hash mark is missing). The code doesn't work and the provider just answers with a generic voice message. There's no way to add the missing #, when I try to do that using the phone keypad, the provider wouldn't accept it.
Is this a known problem? Can you send an USSD code? If you try to "call" the number *06# what happens? This should actually just show you IMEI.

htc one m9 wont make out going calls due to FIXED DIALING NUMBER

HI THERE
I have a htc one m9 that suddenly stopped making out going calls . when I try to call it keeps saying that fdn which mean fixed dialing number is enabled and I should untenable it but when I go to the settings and to the fixed dialing number to disable it . it wont change . I try to root it with apps with pc and without pc each time it failed . I try to update it it wont open download mode . I try to flash it also failed with adb .an it is s-on now it is fine I can still receive calls but I can not make calls can any one here help me please
I believe you need pin2 to change that feature. The default htc pin2 is 0000. If you've changed it and forgotten then you're **** outta luck.
Beamed in by telepathy.

Categories

Resources