Local VoIP Call with SIP

I want to make SIP a peer-to-peer VoIP call in android. This call must be made on the local network without the need for Internet access. In fact, I do not want to use an external server to register profiles. But I do not know what to write in serverDomain in the profile. This is the constructor

public SipProfile.Builder (String username, String serverDomain)

Suppose one ip is 192.168.1.2 and the other is 192.168.1.3

So, when initializing the function, what should I pass as serverDomain to the constructor?

+2
source share
1 answer

I would suggest that the URI in the From: header comes out as username @ServerDomain, so your local IP address will be fine. There is not enough other information for any registration in any case.

+1
source

All Articles