Android Question How to use sip between two device?

bjfhs

Active Member
Licensed User
Longtime User
I know the device's IP,and I don't want use sip server ,and only want to call between the two device,what can I do?Thanks.
 

bjfhs

Active Member
Licensed User
Longtime User
You need to learn the SIP protocol. I guess that it will be quite complicate to build a SIP server.
Thank you.SIP or Webrtc, I don't know which is the better one?Perhaps I need to learn it.
 
Upvote 0

bjfhs

Active Member
Licensed User
Longtime User
B4X:
Sip.Initialize2("SIP", "sip:bjfhs@iptel.org", "XXXXX")
Sip.Register
I get error Registration failed.
 
Upvote 0

bjfhs

Active Member
Licensed User
Longtime User
Today ,I try to build a sip server with yate.I can find it online on another PC ,but when I use Sip.Register,Registration failed.
You can find yat2:http://docs.yate.ro/wiki/Download#Windows

Sip.Initialize2("SIP", "sip:test@192.168.0.216:5060", "123")
when I set port 5060,it work.
 
Last edited:
Upvote 0

bjfhs

Active Member
Licensed User
Longtime User
Now I can hear from device A to device B , BUt can't here device B to device A,Why?
The two device work in the same local network.
 
Last edited:
Upvote 0

bjfhs

Active Member
Licensed User
Longtime User
Try with a commercial phone(there are free or or free to test), so you can check configuration of SIP server, on both smartphones. Sometimes it's harder to configure a server instead of a client!
Thank you for your kindly,I'll try for it and tell you result.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…