Edit

Share via


RealTimeEndpoint.AddSipExtension(String) Method

Definition

Adds an extension to the list of supported extensions for Invite. If an incoming Invite message has a required header that does not exist in this list, it will be automatically rejected with 420. Once an item is added to this list, it cannot be removed. This list does not affect outgoing Invites for which the application is responsible for adding any necessary headers such as "Supported" or "Require" headers for specific SIP extensions.

public:
 void AddSipExtension(System::String ^ extension);
public void AddSipExtension (string extension);
member this.AddSipExtension : string -> unit
Public Sub AddSipExtension (extension As String)

Parameters

extension
String

The extension to add.

Exceptions

Thrown if extension is null.

Thrown if the extension is empty or already exists in collection.

Applies to