CustomCallingContext Class
- java.
lang. Object - com.
azure. communication. callautomation. models. CustomCallingContext
- com.
public final class CustomCallingContext
Custom calling context details.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
addSipUui(String value)
Add a custom context sip UUI header. |
| void |
addSipX(String key, String value)
Add a custom context sip X header. |
| void |
addSipX(String key, String value, SipHeaderPrefix prefix)
Add a custom context sip X header. |
| void |
addVoip(String key, String value)
Add a custom context voip header. |
| Map<String,String> |
getSipHeaders()
Get list of custom context SIP headers |
| Map<String,String> |
getVoipHeaders()
Get list of custom context VOIP headers |
Methods inherited from java.lang.Object
Method Details
addSipUui
public void addSipUui(String value)
Add a custom context sip UUI header. The Key always remains 'User-To-User'
Parameters:
addSipX
public void addSipX(String key, String value)
Add a custom context sip X header. The provided key is appended to 'X-MS-Custom-' in last.
Parameters:
addSipX
public void addSipX(String key, String value, SipHeaderPrefix prefix)
Add a custom context sip X header. The provided key is appended to 'X-' or "X-MS-Custom-" in last.
Parameters:
addVoip
public void addVoip(String key, String value)
Add a custom context voip header.
Parameters:
getSipHeaders
public Map<String,String> getSipHeaders()
Get list of custom context SIP headers
Returns:
getVoipHeaders
public Map<String,String> getVoipHeaders()
Get list of custom context VOIP headers
Returns: