Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I am searching for a way to make a point-to-point VoIP call between two Android devices without having any intermediate server (SIP server) or an Internet connection. I just have an access point (or multiple access point connect via LAN) and I want to make VoIP calls over Wi-Fi only. Is this possible?

share|improve this question
    
I've rephrased your question a bit as app recommendations are generally off-topic (they are essentially shopping recommendations). However, if there is an app out there that supports this functionality it will be just as much a valid answer to this re-phrased question as your original one. –  eldarerathis Apr 24 '12 at 19:47
add comment

2 Answers

You can use CSipSimple to add a local SIP account on both phones without having the need for an intermediate SIP proxy (or server).

Add a general 'Local' account. You only have to provide a SIP username for it.

When that is done on both phones you can call the other phone:

  • You have to know the IP address or dns name of the other phone
  • You need to know the just set up SIP username of the other phone
  • Dial 'SIPusername@IP-address' to call the other phone
  • You need to switch from the initially shown number pad to the extended 'SIP uri' input window

Click on the green marked spot in the left image to navigate to the SIP input activity :

enter image description hereenter image description here

share|improve this answer
    
Have just tried CSipSimple's "Local" mode with "Wi-Fi hotspot" feature. It fails because of "no network => won't listen 5060" idea... –  Vi0 Jul 22 '12 at 13:03
    
Are you logged in into any wifi network? That's the only prerequisite (the OP already stated to have an access point) –  ce4 Jul 22 '12 at 13:29
    
The device is acting as Wi-Fi AP itself. One device is AP, other device is it's client. On client device all OK, but on AP device it's "no network". –  Vi0 Jul 22 '12 at 18:10
1  
3rd phone will work. "ip route" is Linux-level thing, but the problems lies in Android level. It does not like when network is being configured not by Android. –  Vi0 Jul 22 '12 at 22:22
1  
Submitted an issue: code.google.com/p/csipsimple/issues/detail?id=1843 –  Vi0 Jul 23 '12 at 15:37
show 5 more comments

Use uSipServer + SipDroid (or whatever SIP client) configured at an explicit IP address.

Like one device has uSipServer, started Wi-Fi AP (in "Tethering" menu) and SipDroid connected to test1@127.0.0.1. Other device connects to Wi-Fi and use SIP account test2@192.168.43.1 and calls to "test1".

Update: Have just tested that this configuration actually works:

  1. Put first device in "Portable Hotspot" mode (Settings -> Wireless & networks -> Tethering & portable hotspot -> Portable Wi-Fi hotspot)
  2. Start uSipServer on the first device
  3. Connect the second device to AP created by the first (Setting -> Wireless & networks -> Wi-Fi settings -> Wi-Fi networks -> "X10i" (or whatever name)
  4. Start SipDroid on the second device, specifying, for example, "qqq" as user and "192.168.43.1" as SIP server. The indicator goes green.
  5. Start SipDroid on the first device, speciftgin, for example, "eee" as user and "192.168.43.1" or "127.0.0.1" as server. The indicator stays yellow.
  6. Can phone from the second device to the first, specifying "eee" in the lower call field; can phone from the first device to the second, specifying "qqq" in the lower call field. No external entities (like extra access points or cellular provider) involved.

I tried other SIP clients (like CSipSimple and Linphone), but they refuse to work on the first device when no "normal" network is configured. And SipDroid (which is fortunately dumb enough to overlook network "absence") is not codec-compatible with everything else I tried.

Note that if there are other network connections present, SipDroid may confuse them and send the wrong IP to it's peer resulting in "one way" phone. Test with only Wi-Fi hotstop/Wi-Fi client enabled.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.