Wednesday, February 27, 2008

Webphone from Vodafone Portugal

Vodafone Portugal launched a service that can help you saving some costs in roaming, when you are connected to the Internet with your laptop: a softphone that can make and receive calls using the normal cellphone number.


How it works?

To start using the software it is necessary to download it from Vodafone Portugal webpage, and install it on the Windows PC (so far I am not aware that this can be installed on MAC or Linux).

The installation is very easy and is based on a wizard.
Then, after executing the application a dialog box will ask the phone number and the password. The phone number is the regular mobile phone number in the Portuguese format, and the password is the same that is used to access the MyVodafone website. If the user does not have a password in MyVodafone can just apply for one online.

After inserting the login data, the system will ask for a password that is delivered to the phone by SMS. It is mandatory to input the password delivered by SMS, otherwise the application will not login into the network. This is used to increase the security level, and is only necessary the first few days.
After logging in the software works like a normal phone and you will be able to:
  • Send SMS
  • Send MMS
  • Start calls/video calls, that will display your caller ID in the phone you are calling
  • Receive calls/video calls, if the option is select at login time
This is a great application to use your phone number when overseas, and while connected to the internet. Technical Details This application is a normal SIP application customized for Vodafone by a company called Wit Software. This application has other extras other than the SIP implementation:
  • Send SMS and MMS
  • Allow chat between users that use the application, technically based on Jabber.
If you want to use this service from another SIP client, or Virtual PBX, better forget about it, because Vodafone, for security reasons, changed the SIP protocol header fields: the fields From/To/Contact are encrypted with a custom implementation.

It would be nice to use my Portuguese phone number over the 3G network here in Singapore, but Vodafone made it a bit difficult but not impossible.


Free calls

On 26-February-2008 Vodafone offered free calls to their network,if the calls would be initiated from the webphone. But, apparently their system was down when I was trying to use it, and I tried at several different hours in the day. Maybe their system could not handle the load or... my Internet Service Provider did something. But, I was receiving a SIP error 504: Gateway Timeout after sniffing the traffic on my network.

UPDATE: 3-March-2008
It seems the problem I had was not related with the load on their system. After exchanging a few emails with Vodafone Data Support, and trying some of their suggestions, I figured out that the application cannot login when the "Forward calls to my computer" option is activated. If I deactivate this option, the application logs in and I can use it to call. However, I cannot receive calls on the application. But, if I divert the calls in my phone to +351661xxxxxxxxx where is xxxxxxxxx is my phone number it works perfectly.
This problem was related to the call forward, as I tried to register my phone in a country where roaming was not available. If the phone is registered in a country where roaming is available this is not a problem.

6 comments:

RUMODIGITAL said...

Olá Hugo,

O teu blog foi a única informação interessante que encontrei sobre o webphone. Tenho tentado utilizar o asterisk com tal serviço, mas até o momento não consegui...seria muito bom pelo menos poupava um gsm gateway.
Chegaste a conseguir?
Abraço, Doug

Hugo said...

Ola,

Basicamente os headers the SIP estao encriptados e nao e possivel usar o protocolo SIP normal.

Eu nao tive tempo para continuar a investigacao, e criar um modulo especial no Asterisk para lidar com estas alteracoes ao SIP. No entanto fui capaz de quebrar a encryptacao que a vodafone usa nos headers the SIP.

O facto de a vodafone usar o SIP alterado prende-se com o facto de evitar as chamadas SIM "Boxes", o que tambem afecta clientes que queriam ter funcionalidades mais avancadas.

Eu ja portei o meu numero de telefone para outro operador, pois esta era mesmo a unica "feature" que me interessava na Vodafone. Outros operadores tem planos tarifarios que se adaptam melhor a mim, dado que so vou a portugal de vez em quando. Mas se pudesse receber e fazer chamadas atraves do meu cliente no PC (que tem varias contas configuradas e faz o routing), seria optimo.

RUMODIGITAL said...

Olá Hugo,

É bom saber que tem pessoal a investigar tal possibilidade...estive a analisar o tráfego sip e aquilo não me parece muito complexo, talvez é uma questão de substituir alguns dados num header personalizado, mas não sou nenhum especialista e tenho pouco conhecimento. De qualquer forma não vem a ser nenhuma fraude era mesmo só para evitar a utilização de um gateway gsm (elevado custo) além das funcionalidades. Tens um server asterisk? Estou a fazer muitos testes com o meu...podíamos trocar muita informação.

Aproveito para desejar um Feliz Natal.
Abraço, Doug

Hugo said...

Depois de saber como construir os headers encryptados nao e muito dificil.

E necessario escrever um novo modulo para o Asterisk de modo a reimplementar o ficheiro sip.c para suportar este novo "protocolo". Isto resolve a parte do SIP.

Depois a parte de Real Time Media [o som] nao sei se tem alguma particularidade especial. Caso tenha a coisa fica bastante mais complicada.

fueg0 said...

Alguma solucao?
Queria por isto a dar no X-Lite no Mac-OS-X.
Mas começo a ver que a unica solucao 'e usar Windows.

Uhm, alguma esperança de ter isto para Mac?

Hugo said...

No X-Lite nao dava. Logo, enquanto nao sair nada para Mac nao deve dar.