excludeNonStandardSipHeader

open fun excludeNonStandardSipHeader(@Nullable accountId: String, @NonNull method: String, @NonNull responseCode: String, @NonNull name: String)

Exclude non-standard SIP header.

This method excludes a non-standard SIP header included with includeNonStandardSipHeader.

Parameters

accountId

ID of the account to exclude the non-standard SIP header from; null if feature Multiple Accounts is not provided.

method

Method in which the SIP header should not be included.

responseCode

Response code the SIP header should not be included to; see includeNonStandardSipHeader for the description.

name

SIP header name; should start with "X-".


open fun excludeNonStandardSipHeader(@IntRange(from = 0) index: Int, @NonNull method: String, @NonNull responseCode: String, @NonNull name: String)

Exclude non-standard SIP header.

This method excludes a non-standard SIP header included with includeNonStandardSipHeader.

Parameters

index

Index of the account to exclude the non-standard SIP header from; 0 ≤ index <getAccountCount; 0 if feature Multiple Accounts is not provided.

method

Method in which the SIP header should not be included.

responseCode

Response code the SIP header should not be included to; see includeNonStandardSipHeader for the description.

name

SIP header name; should start with "X-".