diff --git a/README.md b/README.md index b3ca6b5..ddf94dc 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,30 @@ ConnectOptions.Builder connectOptionsBuilder = new ConnectOptions.Builder(access .build(); ``` +### Custom Parameters + +Custom Parameters is now supported in `CallInvite`. `CallInvite.getCustomParamaters()` returns a map of custom parameters sent from the caller side to callee. + +```Java +// Pass custom parameters in TwiML + + + + + bob + + + + + +``` +`callInvite.getCustomParameters()` returns a map of key-value pair passed in the TwiML. + +``` +"caller_first_name" -> "alice" +"caller_last_name" -> "smith" +``` + ## Emulator Support The SDK supports using emulators except in the following known cases: