VoIP: SJPhone & TyTN | solution for choppy audio - 8525, TyTN, MDA Vario II, JasJam General

Having installed SJPhone 3.20b for Windows Mobile 5.0 (download from: http://www.sjphone.org/preview/ce/) I experienced very choppy inbound audio.
The solution is changing SJPhone's advanced audio settings as follows:
buffer size: 80 ms
input queue length: 10
output queue length: 5
RTP jitter queue length: 5
Audio quality through WLAN is quite okay now. As soon I'm in a place with 3G coverage I'll try to place a VoIP call over 3G, if O2 Germany hasn't blocked VoIP ports yet.

I am getting better resutls with these settings:
Driver buffer size, msec: 100
Driver input queue length: 10
Driver output queue length: 10
RTP jitter queue length: 32
Btw, x-lite ce 1.01 has better quality than SJphone, at least on my TyTN, download here:
http://forum.xda-developers.com/viewtopic.php?t=58154
Also, calls must be done using the USB headset otherwise you get horrybly echo.

I do have the sound coming from the rear speaker...is that what you have?
Further, the sound with SJphone is absolutely horrible...whatever the audio settings....
I tried X-lite..gives same effects...
It s really unusable.
When I call the same correspondant with my PC, it s seemless..
Any clues?
Thx

use the usb headset

No sound...
Hi. I am using HTC X01HT (Softbank) which is supposed to be equivalent to TyTN. I installed SJphone but for some reason no sound is coming. Seemingly, even though I don't hear any sound, the recipient phone is normally ringing. Of course, even if the recipient picks up the phone, still silence on both sides. Any solution? Thank you in advance.

Check your SIP and NAT settings. You'll have problems if your internet connection or the voip server you are connecting to are behind a NAT.

You should use a STUN-server!

@Poof
Hi Poof,
Sorry for the trivial question but I geuss that answer isn't that obvious as it seems. YOu've mentioned that you're using X-Lite with some specific settings. I've downloaded the software using the link you had provided. I did manage to specify the SIP proxy and other SIP related settings during the first run of X-Light.
My question is: HOW DO YOU CHANGE OTHER SETTINGS? In case I need to change SIP IP HOW DO I DO THAT? I didn't succeed with finding searate file responsible for configuration nor I cold find settings changes option in the application itself.
I'd appreciate if you could advice me on these mattares.

TyTN and SJPhone
Hi,
I get horrible sound delays with SJPhone + TyTN. I tried all the settings from this forum and many others and although the sound quality seems OK (I didn't see any significant improvement because of the USB headsed) the delay is 2 to 3 times bigger (up to 1.5-2 s) than on my Wizard.
Please let me know if the above mentioned settings don't give you any delay. If there's no delay, could you please let me know the ROM (and any possible improvements) that you're using?
Please follow this thread also for news:
http://forum.labs.softjoys.com/viewtopic.php?t=409&postdays=0&postorder=asc&start=20
As for the X-Lite application - I get also delays and bad sound quality. As for its interface - it makes you go nuts, and even more. I never managed to find out how to change the settings for one SIP-account. (through the registry ? this is a joke, right?) Even the PC version is made as if that guy wanted to make a patience testing quiz, not a softphone.
Thank you all.

USB headset
It seems it has something to do wih the USB headset. If I use it - SJPhone gets stuck. If I don't use it - SJPhone runs fine and even the sound quality is acceptable

realn said:
Hi,
I get horrible sound delays with SJPhone + TyTN. I tried all the settings from this forum and many others and although the sound quality seems OK (I didn't see any significant improvement because of the USB headsed) the delay is 2 to 3 times bigger (up to 1.5-2 s) than on my Wizard.
Please let me know if the above mentioned settings don't give you any delay. If there's no delay, could you please let me know the ROM (and any possible improvements) that you're using?
Please follow this thread also for news:
http://forum.labs.softjoys.com/viewtopic.php?t=409&postdays=0&postorder=asc&start=20
As for the X-Lite application - I get also delays and bad sound quality. As for its interface - it makes you go nuts, and even more. I never managed to find out how to change the settings for one SIP-account. (through the registry ? this is a joke, right?) Even the PC version is made as if that guy wanted to make a patience testing quiz, not a softphone.
Thank you all.
Click to expand...
Click to collapse
You can change the settings in the X-Lite app by dialing *311 and *611, these take you to the settings pages. I have however not been able to connect to the network in any way, perhaps you can shed light on the right settings, pof? I am using a voipstunt account, but I have no idea what settings I should use to get a connection to the internet. I have entered the voipstunt settings I found on their website and my account data, but for some reason the app wil not connect.
edit: For some reason when dialing a fixed line phone numer, the Caller is is displayed on the screen as the whole phone numer followed by @voipstunt.com, e.g [email protected]. It looks like the app is trying to reach a voipstunt subsciber instead of a fixed line. How did you get this to work pof? The app keeps trying for a while and then reports Call failed: 480, temporarily not available.
edit 2: Duh, I really have to learn to try more before I post here. I think that by editting the right options and using it over 3G instead of AS I have been able to connect. I cannot try any calls however, none of my contacts with fixed lines appears to be home at the moment (Or they are refusing my calls, also a likely possibility)
Really annoying though is that the app does not sound the waiting tone when it is calling a no., so you have no idea wether or not it is dialing or the connection is just not being made.

I've just installed the latest sjphone beta for ce, to use with fwd. I can't find where to change the advanced audio options. In fact the only audio control I can find is the audio wizard. Can anyoine help me.
In addition my usb headphones long since stopped working, would sound and mic be better with a bluetooth headset (in my case the itech r35) or through the phone itself?
Currently audio is unuseable using the phone, and apparently not working at all with the bluetooth headset.
Your assistance appreciated.

Related

recording calls on wizard: SOLUTION

I have a working piece of soft:
[edit] Funny, their sire reads:
http://1800message.com/
CONFIDENTIAL, NOT FOR PUBLIC DISPLAY. DEMO SITE ONLY.
[/edit]
http://1800message.com/SPWM5CallRec.cab
http://king-bg.info/Temp/c500/soft/SPWM5CallRec.cab
It works, I have this to say:
1. I placed a shortcut to it in my STARTUP so it starts upon bootup, do you have any idea how I can make it start MINIMIZED?
2. As with all similar programs, the other party sound is with lower volume, but still can hear it
3. Records are in some internal format and can be played only with this program
Other the that I like it and it can be useful to you
Also note that in your country it may be illegal to record the conversations.
I use it mainly when someone call me with directions to some place ot phone numbers and so..
Something seems kinda fishy here, I highly doubt a company would post anything "highly confidential" and "not for public display" on PUBLIC INTERNET. Anyone else try this program? Seems like it could contain some malware/virus etc..
MilanoRex said:
Something seems kinda fishy here, I highly doubt a company would post anything "highly confidential" and "not for public display" on PUBLIC INTERNET. Anyone else try this program? Seems like it could contain some malware/virus etc..
Click to expand...
Click to collapse
I don't know what it is but it works on my PPC
do a google and it will pop-up on several other forums.
Well sounds fishy for me too...
Anyone else tried it?
this program only works if you have your speaker loud enough for your microphone to pick up the sound from it. I talked to their tech support last month and it went something like this.
> i've been playing around with pmvault and pm recorder on an htc wizard
> phone. Vault works flawlessly and is so convenient. Recorder doesn't
> record incoming audio though. My voice can be heard fine, but not the
> person I'm talking to. I know that the wizard devices are pocket pcs and
> not smartphones, but WM5 for ppc is supposed to run programs for both. Any
> thoughts on it?
>
The Wizard does not support the dual audio path. the HTC Tornado and Cingular 2125 both support it, but the PPC Wizard does not. Sorry about that. It is a hardware limitation on the device.
as already has been said,
the wizard will only record the audio picked up by the microphone,
if the speaker is loud enough the sound is picked up.
You may also want to read http://www.pocketpcmag.com/blogs/index.php?blog=3&p=513&more=1 on this subject - it gives a nice overview of what you can expect from PPC PE devices and what applications there're to (even automatically) record phone calls.
from my understanding it must be possible to access the incoming GSM audio stream - somehow it must be handed over to the CE-side, as the bluetooth driver also gets that stream - or did I get it wrong??? *confused*
Mamaich says that the GSM audio is wired directly into the bluetooth hardware.
V
vijay555 said:
Mamaich says that the GSM audio is wired directly into the bluetooth hardware.
V
Click to expand...
Click to collapse
so does that mean it is also not possible to record a phone call if you are using a BT headset?
Or a little bluetooth device that does the recording? ...

BTAudioToogle for Hermes

Hi,
i can't use the BTAudioToogle Tool for my XDA trion.
Someone the same problem ?
or better:
Someone with a solution here ?
Same for me. I have enabled BTaudiotoggle, I can hear the headset (Motorola HS850) go live but the audio either from WM player or TCMP still comes from the speaker and not the headset.
Hope someone comes up with the answer soon.
Rob
Got the same problem. No sound from BT.
Had something similiar to this with my old unit, to fully enable it I would hit the headset button (which now starts up voice command, let it time out, and then play whatever music i wanted to. I would verify that now but i am at work, and don't think they would appreciate the music blaring if i am wrong on this one
When I hit the button on the headset, it starts the Voice Dialer, the audio cuts in for a second or two, then drops back to the device speaker.
It nearly works, hope someone can hack this soon, just whats needed for podcasts and the like. No good for music tho!
Rob
I would also be very interested in a solution to this problem as I used to use BTaudiotoggle to listen to Tomtom commands in the car (normally have the music too loud to hear the commands through the loudspeaker ).
Worked great with my XDA Mini S but doesn't work with my new MDA Vario II and I didn't really want to have to buy stereo headphones, just wanted to be able to use my standard mono bluetooth headset like before.
If there is no way of using this program, are there any other programs that will send all audio to a mono BT Headset?
yep would really like an updated version of BTaudio too so i can listen to some audio books via my mono headset
You should test the trial version of bluemusic from teksoftco.
www.teksoftco.com . It gives ou a full help file on how to use the software and you have 30 sec to test that it working. I know that it works on the devices having TI Omap processors so it should work for all of you guys.
Cheers,
Raul
Just tried it out. It does the same thing that the other sotware does, mainly enable the headset where you can hear a hiss out of it, but still kees playing out of the back speaker.
My experience is a rassah's. All the Bluemusic software appears to do on my Vario II is cause the bluetooth headset to hiss slightly (whilst sound is still blasted out of the phone's speaker).
Also FWIW the teksoftco site doesn't appear to work too well on the PIE browser - defaulting to a no frames version with just a login box as far as I can see.
Needless to say I have uninstalled the software again.
Rufus.
@RufusA and @rassah guys you should check if you don't have the same problem as ulischultz in this thread :
http://forum.xda-developers.com/viewtopic.php?t=61739
We already tested the software with him on his treo device and as you can see in the thread " after pressing the button on the headset, the sound was redirected". This is mentioned in the help section of the software. ( on the universal/exec for example this step is not needed)
@RufusA - thanks for visiting the ppc version of the webpage (which is still under construction) - even though the subject is irelevant in this topic. I will send you a PM when its finished and tell me your opinion then (even though you have to admit that not many companies have a ppc version of their website - not to mention the smaller ones like ours).
If the problem still persists there is an opened thread on the forum :
http://www.teksoftco.com/forum/viewtopic.php?t=162
Please submit all the malfunctionality and we will fix them.
Cheers,
rain
I downloaded the trial too and had the same problem as before unfortunately.
I did get a little further in so much as, if I pressed the call button on my BT Headset as per the instructions, I could get the music/audio transferred to the headset for approx. 5 seconds but then it would revert back to the phones loudspeaker. I couldn't get the 30 seconds that the trial software advertises
Fingers crossed someone will be able to work out a fix for this soon.
Thanks Nicky for the input. As i see the problem of bt headset being disconnected after 5-10 sec is a general one (and unfortunatelly is a problem in the RUU). We are trying to find a workarround with ulischultz but wouldn't want to get to driver level as clearly it will be fixed by HTC in the next RUU release if they don't want this devices smashed to their heads.
I will keep you updated if we find a solution for the interrupt issue.
Regards,
Raul
Solution
I have identified a solution to this which is working nearly perfectly for me. However, if you do use this then using the BT headset to trigger the voice dial/voice command/voice commander will no longer work.
Acquire a copy of of the BTAudioToggle software inc. BTAudioOn.exe
Copy this to a location on the phone.
Using a registry editor amend the following entries from
HKEY_LOCAL_MACHINE\SOFTWARE\OEM\VoiceCommand
Path = location of BTAudioOn.Exe
e.g. Path = \Program Files\BTAudio\BTAudioOn.Exe
VoiceCmdDuration = 86400 (DEC) = 24 hours
This says for how long (in seconds) the audio will be passed to the headset for before timing out.
This however, will timeout earlier if no audio is coming through. I am not sure what will happen if something like TomTom is running but not speaking for a while. I have not performed timings as yet.
To activate audio through headset, press the main control button of the headset as if answering call/activating voice command etc. To deactivate, just press the button again.
Voice control apps will still work, but must be triggered from the phone itself, but voice will be picked up by the BT headset.
There appear to be some small bugs with this, such as after a phone call, using headset or not, the audio will stop being passed after hangup.
Please let me know if this work for you!
Looks an interesting solution. I've installed BTAudioOn on my storage card, and changed the VoiceCommand Path entry.
However I couldn't find a VoiceCmdDuraion entry under
HKEY_LOCAL_MACHINE\SOFTWARE\OEM\VoiceCommand
so I've added a new DWord of that name with the value 86400.
Yet this doesn't appear to have made a significant difference i.e. Pressing talk button on Jabra headset produces 10 secs of sound before "timing" out.
Have I made a mistake, or do I need to have something else installed to get this to work?
TIA - Rufus.
I was going to try and make the suggested changes to the registry but I don't know how and am not sure what program I need to do it.
Could someone please let me know what program I need to install to be able to change the registry?
Thanks
Vs1979:
IT REALLY WORKS!!!!!!!!!
I can't tell you how happy I am!!!!
I did it the way you described it. However I also did not have an entry "VoiceCmdDuration" I created the DWORD-entry and it works now!
Great!
Thanks very much for that great solution!
@RufusA
As i gave you the link to the other thread you're not the only user experiencing this. There are several others complaining about this RUU bug.
@Nicky
You need to install a ppc 2005 regeditor (for example Resco Explorer has one built in, or you can find one on buzzdev site).
RufusA said:
Looks an interesting solution. I've installed BTAudioOn on my storage card, and changed the VoiceCommand Path entry.
However I couldn't find a VoiceCmdDuraion entry under
HKEY_LOCAL_MACHINE\SOFTWARE\OEM\VoiceCommand
so I've added a new DWord of that name with the value 86400.
Yet this doesn't appear to have made a significant difference i.e. Pressing talk button on Jabra headset produces 10 secs of sound before "timing" out.
Have I made a mistake, or do I need to have something else installed to get this to work?
TIA - Rufus.
Click to expand...
Click to collapse
Hi,
Did you Soft reset your device?
I made the registry change only, have not installed BTAudioOn and all my Voice command Audio etc... now comes through the headset and does not time out after a few seconds. I did find though that decreasing this value to lets say 60, would actually time the audio feed out even if not in use so I have stuck in a huge figure, will still need to do more testing to see if drains the battery any quicker and see if I can find another stirng which will do more for me.
Hi,
it work not for me
i have changed the path to \xx\BTAudioOn.EXE
i have add the VoiceDuration = 86400 (DWord DEC)
but it is the same problem, after 2 seconds the sound goes back to PPC.

Can bluetooth headset trigger auto answer?

Apologies if this is an FAQ, but I've had a quick look and drawn a blank.
I've just got my first Windows mobile phone (Vario II) and one of the things I really miss compared to my old Nokia, is that when I connect my bluetooth headset, I'd like the phone to switch to 'auto answer' and for the volume to be set to max. When I disconnect the headset, I'd like the phone to refert to a 'normal' or 'general' profile.
I require this because I use it on a motorcycle in conjunction with an intercom system, and I need the phone to auto answer after say 2 rings.
Is this possible on a smartphone?
Regards,
Glenn
Join the club mate......
I've been using the Vario2 in combination with a Nolan N-102 with the N-comm BT kit on it.....
I've been #$^&# with it for weeks now and I've made some progression...
First you need a program that allows you to select profiles like Nokia used to have...
I use PocketzenPhone but maybe there are some other(better) programs to do that.....
So then u can swith to a bike profile I've made and enable auto answer....
I've run the cab file to redirect BT sounds to my helmet in stereo (floats somewhere on this forum)
The only thing I can't do at the moment is enable Voicedial from the helmet...
If I press the button designed to start it ........f%ck all happens....
Still working on that but I'm running out of ideas....so any help would be appreciated...
Danny.
Pdanny said:
Join the club mate......
I've been using the Vario2 in combination with a Nolan N-102 with the N-comm BT kit on it.....
I've been #$^&# with it for weeks now and I've made some progression...
First you need a program that allows you to select profiles like Nokia used to have...
I use PocketzenPhone but maybe there are some other(better) programs to do that.....
So then u can swith to a bike profile I've made and enable auto answer....
I've run the cab file to redirect BT sounds to my helmet in stereo (floats somewhere on this forum)
The only thing I can't do at the moment is enable Voicedial from the helmet...
If I press the button designed to start it ........f%ck all happens....
Still working on that but I'm running out of ideas....so any help would be appreciated...
Danny.
Click to expand...
Click to collapse
Hi, the reason you can't activate voice dialing from your headset might be to do with the BT Audio cab you have installed to redirect sound through your headset. If the cab you have installed is the most common one floating around then this actually disables the launch of voice dialing in favour of being able to toggle between sound in the headset and sound on the phone (pressing and holding down the call button for a few seconds on your headset normally).
If you look in the registry HKLM>software>OEM>voicecommand, if launchapenable has a value of 0 then it is disabled. You can enable it again by changing the value to 1 but this will mean that your headset button will now not work as an audio toggle feature because it will launch the voicedial software every time.
Not sure if this is the answer to your problem but it sounds like it might be, hope this helps
Am trying as we speak....thanks for the reply....see wat happens...
D.
Well.....Ive got good news and bad news....
The good news is that I can trigger voicecommand now......
The bad news is that MS voice command 1.6 is not reconizing my accent...(dutch)...
So out of 10 tries it never called the number i wanted.....
So I tried the build in SDdialer.....and that one is doing a better job....
However I can't make the sounds to stick in my helmet........
I mean...
With MSVC by pressing the button on the helmet I could redirect the sound to the helmet and get a voicecommand tone at the same time....
By symply not speaking or saying '"cancel" it would cancel the voicecommand but the sound stayed in the helmet.....
With SDdialer following the same steps as above the sounds does not stay in the helmet but goes back to the speaker......
Any ideas????
BTW is there a dutch version of MS voice command?
If you go back into the registry, in the same location as before, check the value that is in VoiceCmdDuration (This is the amount of time the voice prompt stays active for in seconds) .. the audio cab file usually sets this to 86400 (24 hrs in seconds), if yours is low eg. 10, 20, 30 etc.., set it to 86400 and that may sort out the problem.
Duration is set fort 24 hrs....already..
Funny thing is that MSVC is not cutting out and the sddialer is...
Regsetting stay the same.....
By pressing the button on helmet I just change the exe file.....
Only option is to try and get MsVC to work and get use to my voice....
D.
Hmmm booking slow process.....tryed to call with MsVC and now 2 out 2....
Ordered to play media from helmet......worked..
This is only sitting in the livingroom with helmet on.....looks absolutely silly but thats besides the point
P$ssing with rain here so hoping for better weather to go for a roadtest...
So thing needed for me to get it to work...
-MsVC 1.6
-Bluetooth stereo cab
-Regedit from the MsVC topic..
-PocketzenPhone for designing profiles.....however thinking on removing that...and see how that works.....
D.
I am glad that you are at least part way there to solving the problem
I don't have Voice Command on my phone. On the rare occasion I use voice dialling I use the standard SDdialer program but my sound diversion does not revert back to the handset like yours.
I must have changed something on it to get it working but I am afraid I don't know what because, when I was trying to get it working, I tried absolutely everything and it was quite a while ago now so I have forgotten what I did
It sounds like Voice Command is going to be okay for you though so that is good.
By the way, Phonealarm is also another good profile switching program.
Thanks for the replies guys, but I think I may have accidentally discovered my own solution.
On my T-mobile vario II, if I go to the Phone->Settings and select the 'more' tab (need to scroll along the last tab at the bottom of the screen) there is an option to 'Automatic pickup' which will auto answer a call after x number of rings.
I had always assumed this would kick-in even if no headset was present. However, I've just done some simple testing, and it looks like the auto answer only kicks-in if the phone is currently in comms with a headset (I used a bluetooth one but probably the same for the supplied 'hands free' kit).
So this functions exactly as I want it to.
Oh, and Pdanny, for background info I'm using a Nolan 101 (no bluetooth) with speakers and mic installed. These connect to my 'Starcom' intercom (via an old fasioned curly lead) which allows me to hear directions from my 'TomTom' and also take phone calls via the starcom/phone bluetooth partnership. Down side is that the wife can also talk at me .
As I never want to initiate a call while riding, this setup works just perfect for me. I don't need to remember to change the phone setup either before or after mounting the bike. As soon as the bike ignition is turned on, the intercom partners with the phone. Then if I receive a call, it auto answers and I can take the call. Once the ignition is switched off, the phone reverts to normal non-auto answer.
In my research for this issue I came across an app called 'phonealarm' (from pocketmax.net), it was the manual for this that made me try the above experiment. This looks like a neat app and I may still end up installing it as long as it does not hog the processor.
[edit]OOps sorry Nicky, just noticed you already mentioned phonealarm. I'd be interested in any comments you have about this app, good ot bad [/edit]
Once again, thanks for the replies, and I hope this thread helps someone in the future.
Regards,
Glenn
Phonealarm......give that a try thanks.....
Im also going to test with the buils in auto pick up.....
I knew it was there but i assumed that it would ALWAYS auto pick up...
It seems that that is not the case therefore making the Pocketzenphone and possibly phonealarm obsolete.....
I also get all the sounds over BT in my helmet....incl TT
Also... I don't have a wife .......sounds like a perfect world hey???
Keep you posted on the outcome of the xperiment....
Grtz
Danny
Hi knnelg, glad you managed to sort your problem. I always knew the option for autoanswer was in the settings but like you, I had assumed that it would autoanswer all calls regardless of whether a headset was connected so it is handy to know that it only applies when in headset mode.
You asked about opinions on Phonealarm, I think it is a great program. I have used it on my Vario II and my last phone, an XDA Mini S, and it is has always worked fine, no problems at all.
I really missed having phone profiles when I switched to PDA style phones so Phonealarm was one of the first 3rd party apps I ever bought and I wouldn't be without it now Also, Bruce, the developer of phonealarm, is very good at listening to users input and if enough people make a suggestion about an improvement or tweak to the program, he will implement it in future versions which is really nice.
One of the other programs Pocketmax does, Alarmtoday, is useful too.

VOIP - Earpiece fix for OMAP phones

If you are trying to use VOIP on many phones you will notice that the audio comes out of the rear speaker. If your phone is based on OMAP and uses the TWL3016 baseband process (e.g. excalibur, herald, Pheobus) then I have a fix for you. This fix should work with Skype too.
It is a service that overrides settings inside the baseband processor by watching the registry value for the Speaker setting:
HKLM\System\State\Hardware\
Speaker
When it sees a change in the value of this key it will change the audio routing. This key is changed whenever the Speaker option is changed in the phone canvas.
Currently it will only take action when there is a change! This is important as the routing gets reset whenever the phone mode changes, whenever the media player runs and so on.
It also monitors a system wide named events "AUDIO_SPKON" and "AUDIO_SPKOFF". Kick either event and it will see it and make the change.
If anyone wants to write a home screen plugin then you simply need to add:
HANDLE hSpkOn = CreateEvent( NULL,0,0,L"AUDIO_SPKON")
...
SetEvent( hSpkOn );
...
If anybody is interested then post a reply and I will clean up the code and put it up (right now it still uses code from a larger project and needs parts trimming out).
Regards,
Silver
--
CAB file automatically starts the service.
- The Source includes a Solution that builds all the pieces. Open with VS2005. You need the WM6 SDKs
- The CAB file install 2 exes in Program Files\AudioRouting. SpkOn and SpkOff i.e. Turn on and off the speaker.
that would be a sweet fix for fring. I tried using it once or twice, but i did not want the whole coffeeshop hearing my conversation. Have you gotten it to work with a bluetooth headset as well? that would be the greates thing!
will look forward to updates
Bluetooth Headset
If you turn off the speaker the audio will stop coming out of the speaker - but it may have side effects with BT. I have not tried anything with BT.
If it does not work I can certainly make it work.
One issue is detecting handsfree mode (this is another reg key under HKLM\System\State) then doing the right thing. If I find some time then I'll have a look.
Alternatively, it might just magically work. Certainly setup your call then try the SpkOff.exe.
Would this work on the wizard too?
ammarr said:
Would this work on the wizard too?
Click to expand...
Click to collapse
I do not have one to test but it has an OMAP850 in there so I would think it likely that it would work.
TheSilverRing said:
If you are trying to use VOIP on many phones you will notice that the audio comes out of the rear speaker. If your phone is based on OMAP and uses the TWL3016 baseband process (e.g. excalibur, herald, Pheobus) then I have a fix for you. This fix should work with Skype too.
It is a service that overrides settings inside the baseband processor by watching the registry value for the Speaker setting:
HKLM\System\State\Hardware\
Speaker
When it sees a change in the value of this key it will change the audio routing. This key is changed whenever the Speaker option is changed in the phone canvas.
Currently it will only take action when there is a change! This is important as the routing gets reset whenever the phone mode changes, whenever the media player runs and so on.
It also monitors a system wide named events "AUDIO_SPKON" and "AUDIO_SPKOFF". Kick either event and it will see it and make the change.
If anyone wants to write a home screen plugin then you simply need to add:
HANDLE hSpkOn = CreateEvent( NULL,0,0,L"AUDIO_SPKON")
...
SetEvent( hSpkOn );
...
If anybody is interested then post a reply and I will clean up the code and put it up (right now it still uses code from a larger project and needs parts trimming out).
Regards,
Silver
--
CAB file automatically starts the service.
- The Source includes a Solution that builds all the pieces. Open with VS2005. You need the WM6 SDKs
- The CAB file install 2 exes in Program Files\AudioRouting. SpkOn and SpkOff i.e. Turn on and off the speaker.
Click to expand...
Click to collapse
Thanks a lot it is working wonderfully.
Any chance to have this program on TOUCH (OMAP 850 based)?
Cheers...
Kindly can you make a cab so this service starts automatically. Because first I have to make a call and then use the speaker off application to switch it to earphone.
tipu2185 said:
Kindly can you make a cab so this service starts automatically. Because first I have to make a call and then use the speaker off application to switch it to earphone.
Click to expand...
Click to collapse
I have the same ROM and softphone as you
can you explain what are your settings in AGEphone and how do you toggle ?
two icons in AudioRouter folder looks like non executable files
whenever I press on them nothing indicates that change has been made
so I don't know if this did something or not, all in all I always have speakerphone in AGEphone, not the internal one
jazzzy said:
I have the same ROM and softphone as you
can you explain what are your settings in AGEphone and how do you toggle ?
two icons in AudioRouter folder looks like non executable files
whenever I press on them nothing indicates that change has been made
so I don't know if this did something or not, all in all I always have speakerphone in AGEphone, not the internal one
Click to expand...
Click to collapse
Well, it works like this that first you have to start some voice stream i.e. voice call or music player once the voice start coming through your phone's speaker then you should execute the speaker off application and it will start coming from your earphone rather than speaker. Nothing automatic. I hope we get a solution that as voice switches to speaker that change should be detected and routed back to earphone. so lets see if the person who posted it replies.
tipu2185 said:
then you should execute the speaker off application and it will start coming from your earphone rather than speaker.
Click to expand...
Click to collapse
that's what I'm doing however as I stated, nothing indicates execution, no busy icon or something like that so I suspect that it doesn't launch
jazzzy said:
that's what I'm doing however as I stated, nothing indicates execution, no busy icon or something like that so I suspect that it doesn't launch
Click to expand...
Click to collapse
Apperantly nothing appears thats true but if you keep your music player opened and a song is playing then you will notice that it stops coming from speaker and is routed to earphone.
well it turns out that it sometimes just does not work and reinstall is required however
right now this app is unusable for voip because I have to turn speaker off after connection is made
and not having "alt-tab" requires me to do a lot of clicking just to press speaker off and come back to voip softphone
which in the end takes "huge" amount of time while caller is waiting
jazzzy said:
well it turns out that it sometimes just does not work and reinstall is required however
right now this app is unusable for voip because I have to turn speaker off after connection is made
and not having "alt-tab" requires me to do a lot of clicking just to press speaker off and come back to voip softphone
which in the end takes "huge" amount of time while caller is waiting
Click to expand...
Click to collapse
Sorry been very busy of late.
You should just have to hit the speakerphone button during the call rather than going to the speaker off (you may have to do it twice).
One issue is that the phone *always* resets the audio path, so the service needs to always set it back, at least when speakerphone mode is not enable.
I actually have code in place to do this automatically now, but I will need to strip out a bunch of code before posting. I'll try to get to that in the next few hours.
Actually this code is a special case for our application and will nto work in the general case. Yet.
tipu2185 said:
Well, it works like this that first you have to start some voice stream i.e. voice call or music player once the voice start coming through your phone's speaker then you should execute the speaker off application and it will start coming from your earphone rather than speaker. Nothing automatic. I hope we get a solution that as voice switches to speaker that change should be detected and routed back to earphone. so lets see if the person who posted it replies.
Click to expand...
Click to collapse
It is not possible to know when a call on any random VOIP device. Take for instane Skype - how is it possible to figure out that a skype call is now active?
The TAPI interface allows cellular calls to be detected, but as cellular calls are not the problem then this is no help.
TAPI may allow detection of a call over MS VOIP though, bymonitoring the registry in the right place.
This is the crux of the problem - I am looking though!
I assume this one is not working on a S730, because it has no OMAP processor ?
buggers999 said:
I assume this one is not working on a S730, because it has no OMAP processor ?
Click to expand...
Click to collapse
That is Correct.
TheSilverRing said:
That is Correct.
Click to expand...
Click to collapse
While unfortunate for me , I am glad that someone solved this long lingering problem for the older devices.
Is there any similar solution for MSM7200 based phones (TyTN II (Kaiser)) ?
Why earpice sound volume is very low ?

Bluetooth Quick Connect / Favorites Today Plugin and/or Command-line app

I'm a Desktop .Net developer with NO bluetooth experience and only a bit of low-level networking experience so I'm speaking from limited knowledge, but not complete ignorance.
I use my phone as an A2DP source and AVRCP client for quite a few devices (Jabra JX20 Pura, Jabra BT3030, Windows Vista, various BT speaker systems) and Alpine BT300) around my house, garage, car, and on the go. They all work wonderfully (some have better range than others, some better sound), but using any of them presents a couple common issues.
Some devices (like my car), constantly seek out the last paired device until they connect, while most of the other require a connection to be initiated from the phone. The phone doesn't care which is around or has the best signal, just which one successfully connects first.
I'd like an app that could have profiles setup which would let me control certain variables OR at a more basic function (see below):
Bluetooth Profile
Device Priority
Minimum Strength (to be used when more than one device has the same priority)
That would be my ultimate goal, but in the meantime I'd be happy with something as simple as a command line app that could be bound to a key or shortcut which would try to connect to a predefined list of BT MACs for a given profile and stop when the first one connects successfully. Variations on this might allow a connection attempt to a specific device instead of a list. This way I could have StartMenu or Today shortcuts.
The point here is largely to have to avoid nagivigating all the menus needed to initiate an A2DP connection, but I'm sure there are MANY other uses people would find.
If someone could point me in the right direction (I'm researching already of course) to the namespace(s) and or class(es) in .Net 2 or newer which would allow me to enumerate and/or initiate connections, this may be something I could bring to the community (assuming it doesn't already exist, and I have asked MANY times).
I've created a poll also to see what kind of interest is out there for this software and how much support I might receive.
I've been knocking an app up to suit my own personal A2DP needs... and a lot of yours by the look of things ;-) Things it does:
Kinetic scrolling finger friendly list of A2DP devices known to your phone (tap to select then tap again to attempt connection).
Toolbar buttons indicating active A2DP connection status (tap to disconnect active connection).
Bluetooth devices applet shortcut.
Switch bluetooth on (a good few of my devices need the phone to be discoverable so the app forces the phone to be discoverable at all times *blush*).
Switch bluetooth off.
Shortcut to program launcher list (automatically displays this list when you initiate a connection to a selected device... and there's items to display in the list of course).
Command line access (via secondary exe) allowing you to attempt connection (to a named , the last connected or first found device) and disconnect an active A2DP connection. I've only really tested the named device connection but the other 2 modes *should* work
QVGA / VGA and orientation aware.
I've been wanting to work towards getting it up on XDA... but time constraints (and a baby on the way ) have gotten in the way and it's unlikely I'll have the time to do it for a good while. I'd be happy to pass on the code to someone willing to take it further if that's any use. It's written (very quickly!) in VB.net BTW.
It uses a few bits and bobs from other people though:
A2DPToggle's "a2dp.exe" to handle initiating a connection.
Icons from lord only knows where I found them.
The kinetic list code found on here (http://forum.xda-developers.com/showthread.php?t=333124&highlight=klist). IIRC, I used the gingercat updated version and tweaked it to my own needs. There's many a kludge I've put in to the code to get things working quick-smart (D-Pad navigation mainly).
InTheHand 32feet.NET libraries (http://inthehand.com/content/32feet.aspx). These work with MS Bluetooth stack only.
So permission from the respective folks above would be needed before releasing it into the wild I guess.
Here's a screeny
Hey great tool! When I click a device will it auto connect or only open the BT Explorer and will it work with Broadcom BT Stack? Thanks
Oops, meant to say it's been developed for the MS bluetooth stack only. Sorry about that.
When you attempt to connect to a device it first checks the device is reachable and only then attempts to initiate an A2DP connection.
Northernmost said:
I've been knocking an app up to suit my own personal A2DP needs... and a lot of yours by the look of things ;-) Things it does:
Click to expand...
Click to collapse
Absolutely. I can get around in VB.Net and C# just fine. If you don't want to publish the code publicly, PM me your email address and I'll invite you to my Sharepoint site (easiest way I know to share files and manage communique), otherwise attach here.
It sounds like you've already covered 99% of what I was looking for, but I'd be more than happy to do what I can to more the idea forward, even taking suggestions from others in this thread.
About the BT stack, I'm running a Vogue with a ROM cooked in PPCKitchen, how do I determine which stack I'm running and can that be changed?
rainabba said:
About the BT stack, I'm running a Vogue with a ROM cooked in PPCKitchen, how do I determine which stack I'm running and can that be changed?
Click to expand...
Click to collapse
I've no idea what stack Vogues come with but the MS stack device list looks like the attachment below. If yours looks the same it's the MS one. I guess the Vogue forum should have any info on swapping stacks if it's possible.
Sounds like I found the correct people to answer my question about BT. Is there a way / how can I: enable my Mogul 6800 phone to transmit the sound that would normally go through the speaker to my BT headset in order to listen to streaming audio from the net using Kinoma Play which goes out and picks up all sorts of "radio programs" , i.e. not using a direct URL. I am also not able to listen to audio files from the Audio Recorder through anything except the speaker, even not through a head phone. Do I need to download a program or set up my phone differently. I currently have Titan WM6.1 Build 20755 GPS kitchen from PPC Geeks. Thanks so much for your help.
jminor4326 said:
Sounds like I found the correct people to answer my question about BT. Is there a way / how can I: enable my Mogul 6800 phone to transmit the sound that would normally go through the speaker to my BT headset in order to listen to streaming audio from the net using Kinoma Play which goes out and picks up all sorts of "radio programs" , i.e. not using a direct URL. I am also not able to listen to audio files from the Audio Recorder through anything except the speaker, even not through a head phone. Do I need to download a program or set up my phone differently. I currently have Titan WM6.1 Build 20755 GPS kitchen from PPC Geeks. Thanks so much for your help.
Click to expand...
Click to collapse
You need an A2DP capable device (high quality), connected, THEN start your audio program OR use a program called Audio Gateway with a basic Bluetooth headset (low quality audio).
thank you very much.
Northernmost, how about that source code? If you want to pass it along less privately than a post here, PM me and I'll provide a solution (source control, WSS, etc.)
Sent you a PM the other day. Let's go the private way for now.

Categories

Resources