- localProfile
- the SIP profile to receive incoming calls for
- incomingCallPendingIntent
- When an incoming call is received, the SIP service will call Android.App.PendingIntent.Send(Android.Content.Context, Android.App.Result, Android.App.Result) to send back the intent to the caller with SipManager.IncomingCallResultCode as the result code and the intent to fill in the call ID and session description information. It cannot be null.
- listener
- to listen to registration events; can be null
Type Reason Java.Lang.NullPointerException if incomingCallPendingIntent is null Android.Net.Sip.SipException if the profile contains incorrect settings or calling the SIP service results in an error
Opens the profile for making calls and/or receiving generic SIP calls. The caller may make subsequent calls through SipManager.MakeAudioCall(SipProfile, Android.Net.Sip.SipProfile, Android.Net.Sip.SipProfile, Android.Net.Sip.SipProfile). If the auto-registration option is enabled in the profile, the SIP service will register the profile to the corresponding SIP provider periodically in order to receive calls from the provider. When the SIP service receives a new call, it will send out an intent with the provided action string. The intent contains a call ID extra and an offer session description string extra. Use SipManager.GetCallId(Android.Content.Intent) and SipManager.GetOfferSessionDescription(Android.Content.Intent) to retrieve those extras.