PDA

View Full Version : {SOLVED} VoIP support missing?


norus
9th June 2007, 12:04 PM
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.

norus
10th June 2007, 09:01 PM
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.

jockyw2001
10th June 2007, 09:09 PM
Yes please translate. Thx!

norus
12th June 2007, 11:18 AM
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 (http://forum.xda-developers.com/showthread.php?t=299950) 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 (http://www.resco.net/pocketpc/explorer), installed it, enabled "Show all files" feature and found the files.

Then I opened Resco Registry and set the following:

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:

<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="&lt;provision key='1232ab01' name='Asterisk PBX'&gt;
&lt;provider name='Asterisk PBX' /&gt;
&lt;user account='4000' password='try2hack'
uri='sip:4000@asteriskserver.com'
allowedauth='digest'/&gt;
&lt;sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='proxy'&gt;
&lt;session party='First' type='pc2pc' /&gt;
&lt;session party='First' type='pc2ph' /&gt;
&lt;/sipsrv&gt;
&lt;sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='registrar'/&gt;
&lt;/provision&gt;" />
</characteristic>
</wap-provisioningdoc>

Now you need to put _setup.xml in a CAB-file. Download Microsoft Cabinet Software Development Kit (http://support.microsoft.com/kb/310618) 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:

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.

jockyw2001
12th June 2007, 01:13 PM
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)

jockyw2001
12th June 2007, 02:31 PM
Btw, I tried WM6 SIP Config Tool (here (http://forum.xda-developers.com/showthread.php?t=303493)), but it crashes.

Did anyone get it to work?

norus
12th June 2007, 02:47 PM
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.



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)

Ok, cause I searched for that option but did not find it.

kast
12th June 2007, 10:20 PM
Btw, I tried WM6 SIP Config Tool (here (http://forum.xda-developers.com/showthread.php?t=303493)), but it crashes.

Did anyone get it to work?


Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.

Ka.

wvangroesen
16th June 2007, 06:38 PM
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

norus
16th June 2007, 08:06 PM
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

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? :)

wvangroesen
17th June 2007, 09:37 AM
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.

norus
17th June 2007, 01:01 PM
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.

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.

jockyw2001
21st June 2007, 04:41 PM
Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.

Ka.
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)

jockyw2001
22nd June 2007, 11:22 AM
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.
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)

jockyw2001
24th June 2007, 02:24 PM
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 fuck 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)

wvangroesen
24th June 2007, 03:00 PM
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!

jockyw2001
24th June 2007, 03:42 PM
- 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'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?

wvangroesen
24th June 2007, 06:55 PM
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?

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.

kast
25th June 2007, 01:43 PM
Hi,
anybody had luck connecting to PBXES.com?

Thanks,
Ka.

jockyw2001
25th June 2007, 02:45 PM
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?

kast
25th June 2007, 03:33 PM
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?

Please tell me the details (Provider, proxy name) and I'll open an account with them and test my tool against it.

I had no issues with the providers I use, I'll be glad to fix it for yours if you tell me which provider it is.

You can do that via PM if you want.

(I'm NOT asking for user id / password, just the provider name, provider proxy)

Ka.

jockyw2001
26th June 2007, 09:38 AM
- 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.

Interesting, will try that client also.
I have read some user reports about the iPAQ 514 voip client. This is also a WM6 smartphone with OMAP 850. Users seem to be quite happy with the VoIP client. I will definitely try to get hold of that client.

http://www.hpsales.co.uk/extra.asp?extension=ABB&product_number=FA908AA%23ABB

wvangroesen
26th June 2007, 10:24 PM
Interesting, will try that client also.
I have read some user reports about the iPAQ 514 voip client. This is also a WM6 smartphone with OMAP 850. Users seem to be quite happy with the VoIP client. I will definitely try to get hold of that client.

Interesting :-) I still prefer the 'integrated' voip since it so easy to use. I can't get my finger on it but my guess my issue is 'RTC' related.

Btw I ran into fring. They have a wm6 client in beta since last week which works fine on the s710. They support SIP, MSN , Googel Talk and Skype (Out). SIP works ok with Asterisk. Sound is good. Have to use headset to get rid of echo. I can hear the other party quite clear. Volume of mic could be better. I was pretty impressed...

http://www.fring.com/

jockyw2001
27th June 2007, 12:28 AM
Yeah, fring is technically very impressive. It even works via GPRS/Edge, since they tunnel the VoIP traffic.
I only wonder what their businessmodel is and whether they can be trusted. They can eavesdrop all traffic including all your accountdetails. I will definitely not sell my soul to them.

Btw, some years ago I used X-Lite on an iPaq with WinCE. It worked quite well, but it seems they discontinued the product for mobile devices. I just found that old version X-Lite 1.02, will try it t'morrow. An extensive VoIP phone list can be found here: http://en.wikipedia.org/wiki/Comparison_of_VoIP_software

EDIT: I tried X-Lite on S710, but unfortunately it doesn't work. It seems not able to communicate via a network interface. It's a pity, it always worked excellent on iPaq.

jockyw2001
27th June 2007, 03:40 PM
The attachment provides an interesting overview of the WM6 VoIP client.

Enjoy

Xsil
3rd July 2007, 01:23 PM
Im stuck at this step of installing the voip.cab created with cabarc

C:\mscsdk\bin>cabarc N voip.cab _setup.xml

I create a voip.cab and when I try to install,
I get an error that the installation failed.

I tried my own xml settings the settings posted in this forum, and even an empty one.

<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"></parm>
</characteristic>
</wap-provisioningdoc>

it always fails to install.

any idea what Im doing wrong,
all other steps work perfect, but I had to set my security settings to security off with security configuration manager.

jockyw2001
3rd July 2007, 04:20 PM
Your _setup.xml is faulty. Make sure you don't use special characters in e.g. provider name etc.

Xsil
4th July 2007, 10:29 AM
thanks,
I worked on the _setup.xml file and now I can install it,

but I couldnt make a voip call yet.

(the home screen said internet telephonie available for a while)

is there any other feedback then the home screen.
are there any voip applications available?

Could it be a problem that I only have a data tariff (I can surf but not phone)?

jockyw2001
4th July 2007, 02:52 PM
Many, if not all, mobile operators don't want you to VoIP, so they block SIP and/or RTP ports. Try it via Wlan and make sure your firewall is not in the way.

Xsil
5th July 2007, 09:27 AM
Ok,
I have it running.

sound comes not from the earpiece!
does anybody know what the wm6voip.cab does in detail?

is there any other application than phone on the market that uses the earpiece?

jockyw2001
5th July 2007, 12:23 PM
Maybe this helps:
http://msdn2.microsoft.com/en-us/library/aa926533.aspx

Menneisyys
6th July 2007, 09:55 PM
Check out http://forum.xda-developers.com/showthread.php?t=315654 for a FULL review of Fring.

sebdiaz
8th August 2007, 11:28 PM
Great job Norus, I connected with WiFi my office Asterix PBX, but I only received calls, I can't make calls from my smartphone.
Regards,

Tornado Smartphone WM6_Tornado_VA_Alpha_01

www.casablancawines.com/sebastian

norus
9th August 2007, 09:17 AM
Great job Norus, I connected with WiFi my office Asterix PBX, but I only received calls, I can't make calls from my smartphone.
Regards,

Tornado Smartphone WM6_Tornado_VA_Alpha_01

www.casablancawines.com/sebastian

Hm, works fine here. Maybe problem in the Asterisk's extensions.conf? Or your "type" in sip.conf is set to only receiving calls?

sebdiaz
16th August 2007, 11:05 PM
Thanks Norus, But where can I find the sip.cong file ?
Cheers,
Sebastian

norus
16th August 2007, 11:12 PM
Thanks Norus, But where can I find the sip.cong file ?
Cheers,
Sebastian

Ehm, on the Asterisk server? I have the configs in /etc/asterisk

sebdiaz
17th August 2007, 12:23 AM
Norus, my type in sip.conf is "friend", allowing send and receive calls. If I receive a call to my Smartphone I can manage all options hold, transfer even conf. My problem it's that I can make a call. dialing ... and immediately call ended.
Thanks,
Sebastian

sebdiaz
17th August 2007, 04:24 PM
Norus, can you tell me where can I get the ipdialplan.xml file ?
Regards,
Sebastian

sebdiaz
17th August 2007, 06:12 PM
Norus, I used total commander from http://www.ghisler.com/smartphone.htm to modify ipdialplan.xml.

<dialplan xmlns='http://schemas.microsoft.com/embedded/VoIP'>
<dialplan-header>
<host>#use_sipsrv_host_name#</host>
</dialplan-header>
<!-- Dial Plan rules -->
<!-- IP address rules -->
<rule pattern='\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
restrict='Cell,SMS'
/>

On #use_sipsrv_host_name# use my asterisk IP.

But nothing happens yet. I'm still can't dial in a call
Thanks, Sebastian

bassmannjack
11th September 2007, 02:49 PM
Then I opened Resco Registry and set the following:

HKLM\System\VoIP\SIP
EnablePort5060 = 1

I have a question to the above code: I what HKEY map should it be created.

Kind regards
Jacky

norus
12th September 2007, 02:08 PM
Then I opened Resco Registry and set the following:

HKLM\System\VoIP\SIP
EnablePort5060 = 1

I have a question to the above code: I what HKEY map should it be created.

Kind regards
Jacky

This is _not_ required. It will probably work with your default settings. Please, try first.

And you don't need to create a key. You just need to set the value of EnablePort5060 from "0" to "1", if it's set to "0".

dchen4649
22nd October 2007, 07:34 PM
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.

Please advice what I should do if "Internet Calling" option does not show up.

I installed http://218.93.115.138/d900/patch/WM6VoIP.CAB successfully. After the installation, I verified that the presence of the following files in the "\Windows" directory.
ipdialplan.xml
dnsapi.dll
voipphonecanvas.dll
rtcdll.dll

But, "Internet Calling" option does not show up when I navigated to "Start > Settings > Phone".

Please help.

Thank you.

Iannik
26th October 2007, 08:02 PM
I did it and it works fine with Voipstunt.
Voip calling are possible only with wifi? not via usb to a pc?

dick99999
6th January 2008, 09:40 PM
Hi Guys,
[...........]
- 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.
[........]


Did you actually get sound through the phones ear peace? I also got no sound form the black version and replaced the rtcdll as you mentioned. The sound the came through the handsfree rear speaker only in my case, an S710.
Also the menu option to swich during a call between the speaker and ear peace did not have any effect.

ljesh
8th February 2008, 06:30 AM
Ok, God bless you norus.

I got now Internet Calling: Available.

I made _setup.xml for VoipCheap (got the informations from here (http://www.voipcheap.com/en/sipp.html)) but when I dial, the call goes through my regular line and when I get back to home screen I get "Internet Calling: No Service" which after a while turns to Available, as soon as i call goes to No Service, etc...

Can someone send me the _setup.xml file with voipcheap configuration in which I should enter only my username & pass and cabarc it? I'm suspecting it to be with some error.

Thanks alot in advance!

Edit: This (http://forum.xda-developers.com/showpost.php?p=1722549&postcount=1064) post saved my life :)
The mistake I made was in uri i had entered username@voipcheap.com. It should have been username@sip.voipcheap.com
Thanks :)

P.S: Anyone found the bug for "Searching..." all the time? :S

zagzou
25th July 2009, 02:46 PM
I am running windows mobile 6.1 on ipaq data messenger and I am experiencing a low volume problem went through a couple of posts but can't find the solution
I have tried multiple rtc.dll and adjusted the maxvolume registry key with no success
Any idea how this can be fixed

YOSEFE
26th July 2009, 08:58 PM
norus,

I installed the newly created voip cab file for my vox which runs wm6.5 (a xda-dev rom).

It installs with a warning that it might not work properly because the software was created for a previous software of windows. Installs succesfully. When I check for verification of installation by browsing to "\Windows\System\" there is no "VoIP" folder.

I am on the BT Broadband Anywhere service in the UK.

Can you offer me help here please?

birdibird
26th July 2009, 11:10 PM
an easy alternative is to install Nimbuzz.
This nice program supports sip, and has the sound perfectly routed to the earphone.
Besides that it also supports skype, including skype calling! and also msn, icq, gtalk and facebook,

perfect little proggie!