VOIP troubleshooting - HTC Vox

Hi everyone. since the past 4 or 5 days, i've been cracking my head to get VOIP working on my lovely VOX. i'm using Dr. Gonzo New Guava Rom. Pheww...finally i manage to get VOIP working. Unfortunately, in the process of making it, i experienced almost all known problems and difficulties that some people don't have to go through. So i thought i can contribute something here.
I followed the instruction by eluth, discussed here:
http://forum.xda-developers.com/showthread.php?t=299950
so i don't want to repeat the procedure that already been discussed in that thread. My point here is to share my experience solving these problem:
1. after following eluth's instruction, i manage to get 'Internet Calling: Available' on the homescreen. however when i click on the homescreen plugin, nothing happen. so i found a thread here to use VM VI Black VOIP & Config.CAB, instead of WM6VoIP.cab. So i did. and on the homescreen it now says 'NONOH: Searching...'. (ps: i used nonoh.net voip)
2. okay, my second problem started here. I couldnt get the voip to register to the server. it said 'searching' then changed to 'no service' after a 30 sec. at first i thought i didnt setup the _setup.xml file correctly. so i kept changing my _setup.xml until i was really sure that i didnt do any mistake that. and i was right about that. apparently, i found that my VOX is setup to have IP Passthrough. after turning the option off, wallaa..it now said 'NONOH: Selected'.
3. unfortunately my problem didnt finish just yet. when i make a call, i cannot hear anything from either internal speaker or loudspeaker. so again, i did my research, cracking my head again. i almost give up now. so then i found someone suggesting to change rtcdll.dll file. my vox now working..yuhuuu!! i can now hear from loudspeaker clearly, no lagging and the sound quality is great.
4. just to make my day worse, i found another rtcdll.dll file, so i thought, why not try this one, maybe i can hear through internal speaker if i use this one. and when i changed it..my voip messed up again. i cant hear anything again. so i changed back to the working rtcdll.dll file. unfortunately..i cannot get it to work again. i end up hardreset my vox and start the process again, and now my vox is voip ready again.
conclusion:step to victory:
1. followed eluth instruction to set your voip account.
2. install WM VI Black P&W Patch.cab and reboot
3. using Total Commander, replace rtcdll.dll. (do not turn on your VOIP just yet)
4. reboot again
5. go to setting>phone>internet calling> use internet calling whenever available
6. hopefully by this stage you can see 'yourVOIPprovider: available' on the homescreen. click it and it will change to 'selected'
here i attach the file needed..thanks to the developer of the cab
Good Luck!!
Regards,
fikrinasir

Hi
I previously set up VOIP folowing the instructions you mentioned.
First problem I had was that my audio was not heard, but I found that for XS4ALL (my proivder) I need to use a different audio codec and found some instructions:
Enter in the registry:
HKLM\Comm\RTC\codec (create codec key if it doesn't exist)
UsePreferredCodec DWORD 1
PreferredAudioCodec DWORD 8
This got it working for outgoing calls with the external speaker.
There are two problems though:
- The today screen keeps saying sip.xs4all.nl:Searching... Strangely enough I can make sip calls!
- I can make calls but cannot be called. When I call myself from a different phone I get my voicemail. I did check that the account itself works on my laptop.
I tried your rtcdll.dll but saw no difference. The other file you posted contains key mappings - what were they for?
If I use Fring for VOIP it works for both incomming and outgoing calls, but the quality when I use the native VOIP is better so I would prefer to get this to work for the incomming calls.
I have the following in my provisioning setup file:
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='XS4ALL'>
<provider name='XS4ALL' />
<user account='0871234567' password='abc12345'
uri='sip:[email protected]'
allowedauth='digest'/>
<sipsrv addr='sip.xs4all.nl:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='sip.xs4all.nl:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
If anyone got it working for incoming calls I would be pleased to hear what you did.
Mike

Related

{SOLVED} VoIP support missing?

Hi all.
I've got myself an HTC S710. I like it but one thing bothers me: how do I enable VoIP-support?
Yeah, yeah, yeah, I've been here: http://wiki.xda-developers.com/index.php?pagename=HTC_Vox and here: http://forum.xda-developers.com/showthread.php?t=299950
The first thing I did was:
"To Enable it download and install the WM6VoIP.CAB."
The installation went fine and I've even got "Internet Calling: Service Blocked" on my Home screen.
Then I searched for these files and did not find any of them in the \Windows folder:
ipdialplan.xml
dnsapi.dll
voipphonecanvas.dll
rtcdll.dll
Does this mean my ROM does not support VoIP? I bought my phone in Norway.
I'd really appreciate your help on this topic.
Problem fixed, read below for details.
Weehee, I got it working.
I even wrote a little step-by-step tutorial on how I did it but it's in Russian, sorry
http://designerus.livejournal.com/243146.html
But hey, if someone is interested, I could translate the page.
Yes please translate. Thx!
All right, here's what I did to enable VoIP-support on my HTC S710.
First of all, I downloaded http://218.93.115.138/d900/patch/WM6VoIP.CAB and installed it. Then I navigated to "Start > Settings > Phone"
and verified that "Internet Calling" option showed up. In "Start > Settings > Phone > Internet Calling" I chose "Use Internet Calling: Whenever available".
If you now go to your Home Screen, you will see "Internet Calling: Service Blocked".
This how-to says that presence of the following files in the "\Windows" directory indicates
that VoIP support was not removed from your ROM:
ipdialplan.xml
dnsapi.dll
voipphonecanvas.dll
rtcdll.dll
I opened the bundled File Explorer and browsed to "\Windows" and did not find any of those files. It turned out that the files are actually there, they're just
hidden. So I downloaded Resco Explorer with Resco Registry, installed it, enabled "Show all files" feature and found the files.
Then I opened Resco Registry and set the following:
Code:
HKLM\System\VoIP\SIP
EnablePort5060 = 1
Now I had to create a _setup.xml file with my SIP settings. I have my own Asterisk server, and this is how my _setup.xml looks like:
Code:
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='Asterisk PBX'>
<provider name='Asterisk PBX' />
<user account='4000' password='try2hack'
uri='sip:[email protected]'
allowedauth='digest'/>
<sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
Now you need to put _setup.xml in a CAB-file. Download Microsoft Cabinet Software Development Kit and unpack it to C:\mcsdk
After you've unpacked the file, move your _setup.xml to C:\mcsdk\bin
Open a Command Prompt and create the archive:
Code:
C:\mscsdk\bin>cabarc N voip.cab _setup.xml
Now connect your phone to the computer and copy voip.cab to "\My Documents" or wherever. Install voip.cab by "tapping" the file.
To verify that the installation went fine, browse to "\Windows\System\VoIP". You should find a file called "Prov0SIPSettings" there.
Check the Home Screen. It says "Internet Calling: No service". Enable WLAN and your phone will try to authenticate with your SIP settings.
When it's finished, you will see "Asterisk PBX: Searching...". That means you're done
Make a trial call, it should work. Even "Transfer" works
Don't pay attention to "Asterisk PBX: Searching...", it says it's searching but it's connected. So it must be a bug.
Things to work on in the future:
- Make the sound come from the earpiece;
- Make DTMF work;
- Find out if it's possible to have multiple SIP accounts.
Excellent, works fine here too
I wonder whether it is possible at all to route the sound to the earpiece. It seems that only the cell phone system can access it.
Many thanks for the fine tutorial. The only remark I have is that you can use windows explorer to see the "missing" files (make sure you set "show hidden files" in explorer)
Btw, I tried WM6 SIP Config Tool (here), but it crashes.
Did anyone get it to work?
jockyw2001 said:
Excellent, works fine here too
I wonder whether it is possible at all to route the sound to the earpiece. It seems that only the cell phone system can access it.
Click to expand...
Click to collapse
It looks like this issue depends on when a particular device was manufactured. Some people got the sound from the earpiece. I still hope it's possible to route the sound too. Stay updated at http://forum.xda-developers.com/showthread.php?t=299950
Many thanks for the fine tutorial. The only remark I have is that you can use windows explorer to see the "missing" files (make sure you set "show hidden files" in explorer)
Click to expand...
Click to collapse
Ok, cause I searched for that option but did not find it.
jockyw2001 said:
Btw, I tried WM6 SIP Config Tool (here), but it crashes.
Did anyone get it to work?
Click to expand...
Click to collapse
Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.
Ka.
voip volume
This guide was very helpful getting voip up and running on my S710.
I'm experiencing a rather odd issue. The earpiece volume of a voip call is low although it is set at the maximum level. I do not have this when making calls over gsm. So low that it makes voip not really useful.
I read in another topic something simular but have not found a resolution or clues yet. Any help appreciated.
PS. S710 is connected to an Asterisk PBX
wvangroesen said:
This guide was very helpful getting voip up and running on my S710.
I'm experiencing a rather odd issue. The earpiece volume of a voip call is low although it is set at the maximum level. I do not have this when making calls over gsm. So low that it makes voip not really useful.
I read in another topic something simular but have not found a resolution or clues yet. Any help appreciated.
PS. S710 is connected to an Asterisk PBX
Click to expand...
Click to collapse
What codecs are you using? One more thing: the sound comes from the speaker on the back, not from the earpiece. Tried turning your phone?
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
wvangroesen said:
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
Click to expand...
Click to collapse
I'm also using ulaw & alaw on Asterisk 1.2. Most part of my sip.conf is defaulted. I'm afraid I can't help you with that, sorry. But try with a different VoIP provider like voipbuster.com just to eliminate the possibility that there's something wrong with your setup if that's the problem.
kast said:
Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.
Ka.
Click to expand...
Click to collapse
I tried your tool, but it always gives me an error message something is wrong with the XML and then quits. What am I doin' wrong? (PS: I did try putting http:// in front of the proxy address, but it doesn't help)
wvangroesen said:
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
Click to expand...
Click to collapse
If I select my VoIP provider it works just fine, although I had to put speaker volume to maximum. I believe there are many reg keys for finetuning behaviour. Take a look here: http://msdn2.microsoft.com/en-us/library/aa921921.aspx
What registry values do you read for HandSetModeMaxVolume and SpeakerModeMaxVolume in hklm/security/phone/voip ? (My values are 0xCCCC and 0xFFFF)
I'm trying to VoIP via GPRS/EDGE and want to use a VPN tunnel since my mobile operator blocks ports.
Well, I more or less got it to work with the inbuilt VPN "client".
It's a ridiculous procedure to connect though:
1. Configure a VPN and add *.*/* to "Work URL exceptions"
2. Set VoIP calls to "never" before connecting to Internet (Wifi or 2G/3G, in my case 2G Edge)
3. Start IE or Opera and in settings set Connection to Work
4. Open a site and verify in case you use wifi that top right symbol is wifi signal strength with the two arrows pointing L and R ("datacall") or in case you use Gprs or Edge you see G or E in top right corner
5. Now go back to homescreen and enable VoIP ("always use if available")
6. VoIP provider should now be searched and selected
Until there, I got it to work. Didn't make it yet to a succesful call though. Need to configure the damn firewall first.
WM5/6 networking sucks big time. Who the f**k invents categories like Internet and Work, and "Work exception URLs" ?
Another thing I haven't found out yet, is how to control which VPN connection is used when you have multiple connections defined.
Later on I will try with a dedicated VPN client I found (NCP Client)
Hi Guys,
Thanks for all your suggestions, here a progress report of what I've tried so far:
- Checked out the msdn site, tried several registry settings.
- Checked setting as posted by jockyw2001, I can confirm the settings and values are equal as posted by you.
- No matter what I try, Speaker Volume, Handset Volume etc etc it doesn't make any difference.
- Uninstalled voip and installed 'VM VI Black VOIP & Config.CAB' which fixes the searching... issue. I had to replace rtcdll.dll with the original one to get sound through the speaker/headset again. Still very soft sound. And still unable to control the speaker volume.
- I found a S710 review in French referring to SJPhone, so what the hack let's give it a try too.
- SJPhone works, I can actually control the volume of the speaker and put it on an acceptable level. Sound quality is not great...
- The creator of SJPhone claims they are working on a wm6 version, according to postings in their forum. Could be very promising.
I doubt whether it could be an Asterisk issue. I have several Siemens IP phones connected to the system which are working fine. And also no issues at all with various voip softphones.
But I won't give up yet... Next step it trying a different voip provider. I appreciate your feedback and keep you posted on the progress.
Thanks!
wvangroesen said:
- Uninstalled voip and installed 'VM VI Black VOIP & Config.CAB' which fixes the searching... issue. I had to replace rtcdll.dll with the original one to get sound through the speaker/headset again. Still very soft sound. And still unable to control the speaker volume.
Click to expand...
Click to collapse
I'm also running VI Black VOIP & Config.CAB with the rtsdll.dll from Sleuth's package. Never tried it with the 'Black' rtcsll.dll (apparently for developers only). You tried it and got sound from the earset? Or was it not outputting sound at all or also only from rear loudspeaker but even less loud?
jockyw2001 said:
I'm also running VI Black VOIP & Config.CAB with the rtsdll.dll from Sleuth's package. Never tried it with the 'Black' rtcsll.dll (apparently for developers only). You tried it and got sound from the earset? Or was it not outputting sound at all or also only from rear loudspeaker but even less loud?
Click to expand...
Click to collapse
Nope, never got sound during the call although I could see the call was in progress on the Asterisk box. When the call is ended I got a confirmation bleep through the speaker.
I suspected this was a codec issue so I added the codec reg keys under HKLM\Comm\RTC\Codec without luck. Then I decided to roll back the rtcdll.dll to the original one that seemed to work better, at least I got the sound back again.
Hi,
anybody had luck connecting to PBXES.com?
Thanks,
Ka.
Kast, no I haven't tried them.
Btw: can you tell me how to enter data in your tool in such a way that it doesn't spit an error about XML format wrong or so?

VOIP software hangs phone

Hi,
I bought the Excalibur and the Vox 'cause I though it would have been great being able to place VOIP calls from my phone, using the same setup I use with my ATA.
The files to enable VOIP and MS phones have been circulating since a while, but even though I tried couple of packages I still have some issues.
The problem I have is that, for some strange reason, when the VOIP cab is installed my phone sometimes loses "Calling and receiving" capability.
Sometimes I trie to place a phone call and the phone hangs, I can only switch it off and on again. Sometimes I even have to remove the SD card otherwise it will keep doing a Reboot Loop.
Other times I receive an SMS for a missed call, as if I had been offline. When I then try to call back my phone hangs.
This bug seems to affect only the Calls and not the SMS functionality.
Has anybody experienced the same issue?
Thanks,
Ka.
I also have the same problems except for the SD rebooting.
I installed the VOIP client from the workarround posted here and I also experience the same problems:
1) phone seems to work fine until I decide to place a call, when I finish entering the numbers and I hit the Call button, the phone does nothing (not even the beep) and from that point I know that I can't place calls (dial pad doesn't even works on home screen). I have to reboot.
2) I receive SMS from missed incoming calls. If I call my S710 from another phone I get a calling tone and then the answering service, but the S710 does nothing.
I had email accounts configured and I thought this problem was from GPRS not letting GSM calls come in (as it says in other threads) but now I have no active email accounts, no GPRS traffic and it is ever worst (3 to 4 reboots a day!)
I honestly don't remember this problem before VOIP client installed.
Anyone has this simptoms???
I do have the same probs
Probably others aren't experiencing the same because they disable the VOIP when no Wifi is available. I'll try to reinstall the VOIP Cab and try that way.
Bought the S710 for it's VOIP cababilities and possibility to hook it to my PBX and finally feel the freedom of VOIP (Ok, bit exagerating but you get my point ).
Anyway, since we're two at the moment, promised to keep you posted.
Thanks for your help.
Ka.
kast did you improve your VoIP configuration tool? I once tried it, but it never worked. I gave you feedback in another thread but never heard of you
same probs too
jockyw2001 said:
kast did you improve your VoIP configuration tool? I once tried it, but it never worked. I gave you feedback in another thread but never heard of you
Click to expand...
Click to collapse
Hi there,
sorry for taking so much time. Actually been quite busy lately and well, ok, must admin left this VOIP thing a bit aside.
Anyway, would you mind trying this version, hope it will work a bit better.
Tested with the provider you sent me and it seems to work.
(This is not a Cab Install thing, been packed up in couple of minutes, please unzip it and run it from your mobile.)
I think I'll get back to this so stay tuned for some little enhancements.
Ka.
COOOL.....Works on my modded Tornado with wm06...great!!!!Thanks!!!!
Hello Kast,
After my last post, I unistalled the VOIP software from within the phone's start>Settings>Remove Programs>Sleuth's WM6VoIP
I got this message "Sleuth's WM6VoIP was not completly removed. Do you want to remove it from the list of installed programs?", I didn't remove it.
I then changed the Settings>phone>Internet Calling>"Use Internet Calling" to "Never".
Since then I haven't experienced any troubles at all and I haven't rebooted the phone for some days now! problem solved but no VoIP!
I'll try your VoIP files and see what happends.
Cheers
P.S. My setting for VoIP was "whenever available" but i had WiFi off 99% of the day. (some days even 100%).

Which MS Voice Command version works

Anyone know which one works properly with bluetooth and announcements?
thanks
MS Voice Command
I use MS Voice Command v1.60.4622.0; it works fine . I've made an update from the older Version v1.5, which didn't work on the TD1 either.
I have to admitted, my TD2 arrived only 3 days ago, so I couldn't use voice command for hours, but making a call ist very easy, the speaker of the TD2 is of good quality.
and what about announcing incoming calls by dictating the caller ID name or incoming phone number? I was trying it with MS VC 1.6.19971 without success :-/
Hi,
which button is VC using?
Regards,
Rodik
Drobix said:
I use MS Voice Command v1.60.4622.0; it works fine . I've made an update from the older Version v1.5, which didn't work on the TD1 either.
I have to admitted, my TD2 arrived only 3 days ago, so I couldn't use voice command for hours, but making a call ist very easy, the speaker of the TD2 is of good quality.
Click to expand...
Click to collapse
is it possible to use the button of ear-phone?
in the setting i found only button 1....
thx
try http://ae.inc.ru/aebplus.php it is working
neveceral said:
try http://ae.inc.ru/aebplus.php it is working
Click to expand...
Click to collapse
Can you tell me which button you remaped?
no one knows? i tried every button in the list and also its not possible to set it up as a new one.... damn i need this!!!
You can map it in settings, personal, buttons. Select MS voice command from the list on the right. This will then also work with bluetooth headset button.
I can't get incoming caller announce to work on any UK version.
no, there is only button 1 shown!
also i need this for a wired headset, no bluetooth crap
I'm using MS Voice Command v1.60.4622.0 and everything works as it should. I have mapped the long press call button and it works with a bluetooth button as well. It works with both hands free units I have in our two cars and also with the Garmin Zumo on my motorbike. Caller id announcements work also as long as your bluetooth unit supports that function.
ok, it works for me with bluetooth as well, but i want to use the button og my ear phones! i love music and there is not good solution for bluetooth. so in the next days i get an adapter to use my high performace era pohnes and i would like zo use vc with the button on this adapter! the problem is it doesnt work with the one includet!! so please dont tell me it works with the blue one!!
ok, got it!
go to:
hklm\software\oem\voicecommand\
create string key "Path" value "\program files\voice command\voicecmd.exe" or whatever
gl
incubus
Did you fix call announcements?
This registry edit gets announcements to work:
Edit this registry key:
HKCU\ControlPanel\Sounds\TTSAnnounce\Category
Change from VoiceCommand1 to Ring
It should now work, but sounds level is low. To increase the sound level, I did this edit:
HKCU\Control Panel\Sound Categories\Voice Command1\AttenutationCategory
I set it to 4 which is decent, you can go to 5, but I see no difference going louder. Using 0 or 1 will make it whisper quiet.
If that does not make it louder, then edit:
HKCU\Control Panel\Sound Categories\Ring\AttenutationCategory
Same thing, set to 4 or 5.
damn, doesnt work for me...!
Did you restart?
Edit:
This fixed it on my TD2 with MSVC UK1.6, the same version loaded on a Touch Diamond this fix didn't work. This program really is so odd.
sure, not only once, i also spend some time waintig, thought it could take a while but nothing! using vc1.60.4622uk... i think i will wait for wm 6.5 and the new integrated vc
I had problems with starting via Key 1.
I made a shortcut of voicecmd.exe und assigned the shortcut to key 1.
Works now via key 1.
Bluetooth headset key worked before.
Path in registry didn't help
v 1.60.4622 de
Hi,
What i did, to get MS Voice Command v1.60.4622.0 French version
retail, working with bluetooth Callerid's announcement:
i installed it (ps: dont forget to activate the notification via bluetooth, obvious but i forgot that before trying many manipulations ;-) )
All worked except notification via bluetooth
(i eared the ringtone instead of callerid)
i tried to replace some V.C files by the 1.6.192.13, because that was working with my Kaiser stock rom 6.1(but noway with the Topaz)
http://forum.xda-developers.com/showpost.php?p=2186001&postcount=254
(also tried with 192.14, 199.71,199.65,19209 but be careful some of the VoiceCommand_PPC.cpl versions made my topaz always rebooting the key to solve that worry was to replace via activesync the cpl file before the pin prompt, via explorer from desktop in the topaz/windows folder )
finally i uninstalled all, reinstalled retail 1.60.4622, Desactivated voice command (step quoted below perhaps not necessary, up to you)
And replaced the three files
VoiceCommand_PPC.cpl in /windows
VoiceCommandWMP.dll in \program files\voice command\
voicecmd.exe in \program files\voice command\
by those version 1.6.192.13
(ps: replacing VoiceCmdRes_PPC.dll with v1.6.192.13 as said in the link above made voicecommand crash when activating it)
Click to expand...
Click to collapse
All was working except the bluetooth announcement:
After i tried the regedit (backup first !!) given at the begining of that thread
hklm\software\oem\voicecommand\
created string key "Path" value "\program files\voice command\voicecmd.exe"
Edited this registry key:
HKCU\ControlPanel\Sounds\TTSAnnounce\Category
i renamed the DATA of the string "category" from:
"VoiceCommand1" to "Ring"
to increase the volume i set to 4 the AttenutationCategory in
HKCU\Control Panel\Sound Categories\Voice Command1\
After a reset, announcements via bt are working
greetings
wm 6.5
Does MSVC work with the newer Sakajati ROMs based on 6.5 or not. I have a tad of ADD and can't keep up

Phone locks after a call.. why?

When I end a call, the phone locks itself, and I have to unlock it to use it. I cant find this setting anywhere.. how can I turn that off?
i have had the same problem with mine, but right after installing and using fewidgets ultimate running with touch flo off.
been looking for a solution for this stupid feature...
This registry entry might fix it...
"HKCU\ControlPanel\Keybd"
"DeviceLockWhenSuspend" value="0"
I also found this in a CAB file for the stock VZW/Sprint TP2 6.1 ROM
ramborami said:
This registry entry might fix it...
"HKCU\ControlPanel\Keybd"
"DeviceLockWhenSuspend" value="0"
I also found this in a CAB file for the stock VZW/Sprint TP2 6.1 ROM
Click to expand...
Click to collapse
the cab fixed it on my gfs vzw tp2!!
thank you

Disabling Bluetooth headset initiated dialing (my own solution)

After searching for hours and hours for a way to disable voice dialing + dial last number function from my Bluetooth headset, i've decided to code my own solution, in a form of AT commands audio gateway extension. Since others may find this useful as well, i am packing it in a cab and posting it here.
All it does is putting a small audio gateway extension replacement DLL (just 4kbytes) in windows directory and changes the MS audio gateway extension settings in registry to use this replacement DLL. All the DLL does is responding with "ERROR" on the voice dial and last number dial commands from the headphone, that it. This does the trick.
To install: install the cab, reset the device
To uninstall: remove using the system control panel, reset the device
As simple as that. No guaranties. It replaces a system DLL functionality after all, don't blame me if renders your device unbootable, unusable, blows it up or even kills you... well, you know the drill, use it on your own risk. I'll be happy if someone else finds this useful.
it is embarrassing when you don't know about calling somebody
I appreciate your perfect solution
installed in kaiser with WM 6.5 OS and nokia BH-102
I tried many things and it is working perfectly
thanks
Thanks worked perfect for my wired headphones with a faulty call button.
Wired headphones?! Are you sure? Cause i would really doubt any wired headphones would allow AT commands audio gateway extension, or, in fact, communicate using AT commands.
But, if it really works... if the system actually simulates those commands and passes those through the extension... maybe i'll finally make my wired remote work with something other than the damn AudioManager program.
I am too lazy to go to my car right now (thats where the wired remote currently is), but tomorrow i am totally going to see if this really blocks the call button on that wired remote. If it does, i am going to see if the other buttons also pass through the extension, and, well, you know whats next. But i really really doubt it, its probably just a coincidence or something.
Thanks for the info.
Yes wired headphones? mine are just cheap hands free ones off ebay but pressing the button does nothing now,which is great it use to dial my last number sometimes without pressing it too.
I tried it on HD2 (Leo) but it is not working
is there any way to let it works on it
thanks in advance
I found the BT audio gateway service not loading the dll on startup on some of the devices. Try installing SK tools, go to services menu, stop the BT Audio Gateway service and then start it again, while having my cab installed. If it suddenly works and blocks the dial button after the service restart, then there may be a 'solution', as simple as making a little app that restarts the service after the device is fully loaded. Not a perfect solution, but well, if it works, then why not.
BTW, can someone point me to the right direction on how to restart WM services programatically ? What API does this ?
thanks for quick response
I tried what you said. I used Task Manager v2.9 the BT Audio Gateway already stopped and I could not start it
it says the system cannot open the device or file specified.
I have replaced the dll file manually and still
when I clicked "find in registry" it is located in HKLM/Services/BTAGSVC
BTAGSVC.dll
Replaced the DLL manually ? The BTAGSVC one ? With mine ?!?! Don't !!!
Read my post again to understand how the trick works. My DLL is by no means not a BTAGSVC replacement. What i means in my last post is that for some reason, when BTAGSVC initially loads, at the device start, it won't load the AT extension DLL (my one). I would assume this may happen because the file system is not mounted yet, or some similar reason, i don't know. And the reason i told you to try restarting the BTAGSVC is to try & see if it helps to start the service when the device is fully loaded.
Again, do not replace the BTAGSVC with my DLL, you can lose the BT audio functionality this way.
no I did not replace BTAGSVC with yours (BTAWGS)
I tried exactly what you have said. I was saying that service belongs to this file as stated in registry.
you told me te restart the service and I told the service is already stopped plus I could not start it for that error
recently I could not find BTAWGS dll file in windows folder
my question: this dll file (BTAWGS) does it exist in the original rom and your cab replace it?
regards
from my readings in this great forum
I think the bluetooth stack especially in hd2 is different than other htc devices and it is has different driver
it is WIDCOMM driver, is that true?
if so that means your file isn't gonna work
If the device is using non-MS Bluetooth stack - there is a near-100% chance my trick is not going to work, sorry.
thanks for the direction
but if I want to edit the dll file
what is the best program to do so
and what is the values that I have to change
can you tell me what you have changed in your dll file
Just in case anyone is still interested, i've now got an HD2 and found a way to disable the bluetooth dial on it. It's a bit nasty/hackish, though. Do the following:
1) Copy the "BTTrayCE.exe" from the device to your PC using any available method.
2) Open the "BTTrayCE.exe" with any available hexeditor
3) Look for "+BLDN" and "+BVRA", replace them with something like "xxxxx"
4) Replace the file in Windows directory with the patched file using any available means.
NOTES: The "BLDN" stands for "Bluetooth - Last Dialed Number", "BVRA" stands for "Bluetooth Voice Recognition Activation", those are, in fact, the AT commands your bluetooth headset sends to the phone when you push that nasty button by mistake.

Categories

Resources