Android Question Walkie Talkie over cell Networks

MODERN TALKING

Active Member
Licensed User
Longtime User
Hi Tigrot and guys,

Sorry for delay. Have some alcoholism-related issues

Haven't been able to log in for more than a week

Posting the Code TOMORROW - GUARANTED or you send the Mafia after me
 
Upvote 0

MODERN TALKING

Active Member
Licensed User
Longtime User
Remember guys, this is NOT my work

It is from THIS FORUM, maybe by Erel himself :D

I modified only a little

You have to register an email USERNAME at www.iptel.org - with a PASSWORD

Then use like this:

B4X:
'Example: Sip.Initialize2("SIP", "sip:[email protected]", "password")
Sip.Initialize2("SIP", "sip:[email protected]", "schlager")

And your other Phone or a Friend, another USERNAME & PASSWORD - so Compile one APK with User1 and change Code, then Compile for User2 - or have 2 separate Projects

So USER1:

B4X:
'Example: Sip.Initialize2("SIP", "sip:[email protected]", "password")
Sip.Initialize2("SIP", "sip:[email protected]", "schlager")

'Example: CurrentCall = Sip.MakeCall("sip:[email protected]", 10)
CurrentCall = Sip.MakeCall("sip:[email protected]", 10)

And USER2:

B4X:
'Example: Sip.Initialize2("SIP", "sip:[email protected]", "password")
Sip.Initialize2("SIP", "sip:[email protected]", "eurodance")

'Example: CurrentCall = Sip.MakeCall("sip:[email protected]", 10)
CurrentCall = Sip.MakeCall("sip:[email protected]", 10)

Don't forget to add the SIP .xml & .jar to Libraries
 
Upvote 0

coslad

Well-Known Member
Licensed User
Longtime User
Hi guys, I like your solution but I don't like to depend from a public server, is there a way to install a my own server into a windows, Linux or Android device?

Thanks
 
Upvote 0

coslad

Well-Known Member
Licensed User
Longtime User
Thanks ,I tried sip solution but seems that android device without telephone sim doesn't support sip protocol, example ,I tested onto some tablet and they doesn't support sip protocol , is there any way to use sip onto all android devices ?
 
Upvote 0

tigrot

Well-Known Member
Licensed User
Longtime User
Thanks ,I tried sip solution but seems that android device without telephone sim doesn't support sip protocol, example ,I tested onto some tablet and they doesn't support sip protocol , is there any way to use sip onto all android devices ?
Not all Android versions nativelly support SIP. Since the Library uses the internal support, you are never sure to get this feature working.
Look https://developer.android.com/guide/topics/connectivity/sip.html According to this document every post 2.3.1 should support SIP, but some tablet misses this support. Maybe producer took await support to have more spare memory. This happens in tablets but never in smartphones, as far as I know.
I think too that "sembra facile, ma non è mai vero!".
Ciao
Mauro
 
Last edited:
Upvote 0
Top