... | @@ -89,9 +89,12 @@ If all the configuration is ok, this function will start the core components of |
... | @@ -89,9 +89,12 @@ If all the configuration is ok, this function will start the core components of |
|
|
|
|
|
**Step 5. Permission:** Make sure to ask for permissions for Audio record and Make Calls in your app. Otherwise the sdk wont work.
|
|
**Step 5. Permission:** Make sure to ask for permissions for Audio record and Make Calls in your app. Otherwise the sdk wont work.
|
|
|
|
|
|
**Step 6. Call Handling:** The aforementioned `SIPWrapper.startSIP(Context,AppConfig)` function will initialize **CallHandler**, a class for all types of call related activites. You can now make a call by simply using `CallHandler.makeCall(number:String)` function.
|
|
**Step 6. Call Handling:** The aforementioned `SIPWrapper.startSIP(Context,AppConfig)` function will initialize **CallHandler**, a class for all types of call related activites. You can now make a call by simply using `CallHandler.makeCall(number:String)`
|
|
function and end call by using`CallHandler.endCall()` function. You can receive Peer to Peer calls by using `CallHandler.acceptCall(callid:String)`.
|
|
function and end call by using`CallHandler.endCall()` function. You can receive Peer to Peer calls by using `CallHandler.acceptCall(callid:String)`.
|
|
|
|
|
|
|
|
When you are invoking CallHandler.makeCall function, keep a check for `SIPProvider.callState == CallState.READY`. If it is not in ready state, call can not commence.
|
|
|
|
|
|
|
|
|
|
Check out the **[Call Handling guide](Call-Handling)** for details on Handling of calls using this SDK and UI integration with Native App.
|
|
Check out the **[Call Handling guide](Call-Handling)** for details on Handling of calls using this SDK and UI integration with Native App.
|
|
|
|
|
|
|
|
|
... | | ... | |