m (1 revision imported: Migrating from SESN to SESDK) |
(→Genesys Container: Adding Log_options_endpoint) |
||
Line 38: | Line 38: | ||
| colspan=5 | <div id="sdk_policy">'''policy'''</div> | | colspan=5 | <div id="sdk_policy">'''policy'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=17| |
| colspan=4 | <div id="sdk_endpoint">'''endpoint'''</div> | | colspan=4 | <div id="sdk_endpoint">'''endpoint'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=16 | |
| audio_qos | | audio_qos | ||
| Number | | Number | ||
− | | The integer value representing the DSCP bits to set for RTP audio packets. | + | | The integer value representing the DSCP bits to set for RTP audio packets. The value should be <tt>4 * Preferred DSCP value</tt>. |
|- | |- | ||
| include_os_version_in_user_agent_header | | include_os_version_in_user_agent_header | ||
Line 56: | Line 56: | ||
|- | |- | ||
| ip_versions | | ip_versions | ||
− | | | + | | IPv4<br> |
− | |||
− | |||
− | |||
empty | empty | ||
− | | A value of <tt>IPv4 | + | | A value of <tt>IPv4</tt> or an empty value means that the application selects an available local IPv4 address. |
− | + | Default: <tt>IPv4</tt>.<br> | |
− | |||
− | |||
− | Default: <tt>IPv4 | ||
NOTE: This parameter has no effect if the <tt>public_address</tt> option specifies an explicit IP address. | NOTE: This parameter has no effect if the <tt>public_address</tt> option specifies an explicit IP address. | ||
|- | |- | ||
| public_address | | public_address | ||
| String | | String | ||
− | | Local IP address | + | | Local IP address of the machine. This setting can be an explicit setting or a special value that the SDK uses to automatically obtain the public address. |
'''Valid Values:'''<br> | '''Valid Values:'''<br> | ||
This setting may have one of the following explicit values: | This setting may have one of the following explicit values: | ||
− | *An IP address. For example, <tt>192.168.16.123</tt> for IPv4 | + | *An IP address. For example, <tt>192.168.16.123</tt> for IPv4. |
− | *A bare host name | + | *A bare host name, for example, <tt>epsipwin2</tt>. |
This setting may have one of the following special values: | This setting may have one of the following special values: | ||
*<tt>$auto</tt>—The SDK selects the first valid IP address on the first network adapter that is active (status=up) and has the default gateway configured. IP family preference is specified by the '''policy.endpoint.ip_versions''' setting. | *<tt>$auto</tt>—The SDK selects the first valid IP address on the first network adapter that is active (status=up) and has the default gateway configured. IP family preference is specified by the '''policy.endpoint.ip_versions''' setting. | ||
− | *<tt>$ipv4</tt> or <tt>$ipv6</tt>—Same behavior as the <tt>$auto</tt> setting but the SDK restricts the address to a particular IP family. | + | *<tt>$ipv4</tt><!-- or <tt>$ipv6</tt>-->—Same behavior as the <tt>$auto</tt> setting but the SDK restricts the address to a particular IP family. |
*<tt>$host</tt>—The SDK retrieves the standard host name for the local computer using the <tt>gethostname</tt> system function. | *<tt>$host</tt>—The SDK retrieves the standard host name for the local computer using the <tt>gethostname</tt> system function. | ||
− | + | *An adapter name or part of an adapter name prefixed with <tt>$</tt>. For example, <tt>$Local Area Connection 2</tt> or <tt>$Local</tt>. The specified name must be different from the special values <tt>$auto</tt>, <tt>$ipv4</tt>, and <tt>$host</tt>. | |
− | *An adapter name or part of an adapter name prefixed with <tt>$</tt>. For example, <tt>$Local Area Connection 2</tt> or <tt>$Local</tt>. The specified name must be different from the special values <tt>$auto</tt>, <tt>$ipv4</tt>, <tt>$host | ||
'''Default Value:''' Empty string which is fully equivalent to the <tt>$auto</tt> value.<br> | '''Default Value:''' Empty string which is fully equivalent to the <tt>$auto</tt> value.<br> | ||
− | If the value is specified as an explicit host name | + | If the value is specified as an explicit host name, the <tt>Contact</tt> header includes the host name for the recipient of SIP messages (SIP Server or SIP proxy) to resolve on their own. For all other cases, including <tt>$host</tt>, the resolved IP address is used for <tt>Contact</tt>. The value in SDP is always the IP address. |
|- | |- | ||
| rtp_inactivity_timeout | | rtp_inactivity_timeout | ||
| Number | | Number | ||
− | | Timeout interval for RTP inactivity. Valid values are positive integers. A value of <tt>0</tt> means that this feature is not activated. A value <tt>1</tt> or higher indicates the inactivity timeout interval in seconds. Default: <tt> | + | | Timeout interval for RTP inactivity. Valid values are positive integers. A value of <tt>0</tt> means that this feature is not activated. A value <tt>1</tt> or higher indicates the inactivity timeout interval in seconds. Default: <tt>30</tt>. Suggested values: <tt>1</tt> through <tt>150</tt>. |
|- | |- | ||
| rtp_port_min | | rtp_port_min | ||
| Number | | Number | ||
− | | The integer value representing the minimum value for an RTP port range. Must be within the valid port range of <tt> | + | | The integer value representing the minimum value for an RTP port range. Must be within the valid port range of <tt>8000</tt> to <tt>65535</tt>. If the minimum value is not specified or set to an invalid value, the default value of (<tt>8000</tt>) is used for <tt>rtp_port_min</tt>. Setting the minimum to a value that is larger than the maximum is considered an error and will result in a failure to initialize the endpoint. |
|- | |- | ||
| rtp_port_max | | rtp_port_max | ||
| Number | | Number | ||
− | | The integer value representing the maximum value for an RTP port range. Must be within the valid port range of <tt> | + | | The integer value representing the maximum value for an RTP port range. Must be within the valid port range of <tt>8000</tt> to <tt>65535</tt>. If the maximum value is not specified or set to an invalid value, the default maximum <tt>9000</tt> is used for <tt>rtp_port_max</tt>. Setting the maximum to a value that is less than the minimum is considered an error and results in a failure to initialize the endpoint. |
|- | |- | ||
| signaling_qos | | signaling_qos | ||
| Number | | Number | ||
− | | The integer value representing the DSCP bits to set for SIP packets. | + | | The integer value representing the DSCP bits to set for SIP packets. Integer value should be configured to <tt>4 * Preferred DSCP value</tt>. |
|- | |- | ||
| sip_port_min | | sip_port_min | ||
| Number | | Number | ||
− | | The integer value representing the minimum value for a SIP port range. Must be within the valid port range of <tt>1</tt> to <tt>65535</tt>. If the minimum | + | | The integer value representing the minimum value for a SIP port range. Must be within the valid port range of <tt>1</tt> to <tt>65535</tt>. If the minimum value is not specified or set to an invalid value, the default value of <tt>5060</tt> is used for <tt>sip_port_min</tt>. Setting the minimum to a value that is larger than the maximum is considered an error and will result in a failure to initialize the endpoint. |
|- | |- | ||
| sip_port_max | | sip_port_max | ||
| Number | | Number | ||
− | | The integer value representing the maximum value for a SIP port range. Must be within the valid port range of <tt>1</tt> to <tt>65535</tt>. If the | + | | The integer value representing the maximum value for a SIP port range. Must be within the valid port range of <tt>1</tt> to <tt>65535</tt>. If the maximum value is not specified or set to an invalid value, the default value of <tt>5080</tt> is used for <tt>sip_port_max</tt>. Setting the maximum to a value that is less than the minimum is considered an error and will result in a failure to initialize the endpoint. |
|- | |- | ||
| sip_transaction_timeout | | sip_transaction_timeout | ||
| Number | | Number | ||
| SIP transaction timeout value in milliseconds. Valid values are <tt>1</tt> through <tt>32000</tt>, with a default value of <tt>4000</tt>. The recommended value is <tt>4000</tt>. | | SIP transaction timeout value in milliseconds. Valid values are <tt>1</tt> through <tt>32000</tt>, with a default value of <tt>4000</tt>. The recommended value is <tt>4000</tt>. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| vq_report_collector | | vq_report_collector | ||
| | | | ||
− | | See [[ | + | | See [[ConfiguringforAppleOS#Producing_RTCP_Extended_Reports|Producing RTCP Extended Reports]] |
|- | |- | ||
| vq_report_publish | | vq_report_publish | ||
| | | | ||
− | | See [[ | + | | See [[ConfiguringforAppleOS#Producing_RTCP_Extended_Reports|Producing RTCP Extended Reports]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| answer_sdp_priority | | answer_sdp_priority | ||
Line 156: | Line 134: | ||
Default value: <tt>0</tt> | Default value: <tt>0</tt> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=14| |
| colspan=5 | <div id="sdk_session">'''session'''</div> | | colspan=5 | <div id="sdk_session">'''session'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=13 | |
| agc_mode | | agc_mode | ||
Line 166: | Line 144: | ||
| If set to 0, AGC (Automatic Gain Control) is disabled; if set to 1, it is enabled. Default: 1. Other values are reserved for future extensions. This configuration is applied at startup, after which time the <tt>agc_mode</tt> setting can be changed to <tt>1</tt> or <tt>0</tt> from the main sample application. | | If set to 0, AGC (Automatic Gain Control) is disabled; if set to 1, it is enabled. Default: 1. Other values are reserved for future extensions. This configuration is applied at startup, after which time the <tt>agc_mode</tt> setting can be changed to <tt>1</tt> or <tt>0</tt> from the main sample application. | ||
NOTE: It is not possible to apply different AGC settings for different channels in multi-channel scenarios. | NOTE: It is not possible to apply different AGC settings for different channels in multi-channel scenarios. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| auto_answer | | auto_answer | ||
− | | | + | | 0<br> |
+ | 1 | ||
| If set to 1, all incoming calls should be answered automatically. | | If set to 1, all incoming calls should be answered automatically. | ||
|- | |- | ||
Line 197: | Line 170: | ||
|- | |- | ||
| dtx_mode | | dtx_mode | ||
− | | | + | | 0<br> |
+ | 1 | ||
| Valid values: 0 or 1. If set to 1, DTX is activated. | | Valid values: 0 or 1. If set to 1, DTX is activated. | ||
|- | |- | ||
| reject_session_when_headset_na | | reject_session_when_headset_na | ||
− | | | + | | 0<br> |
+ | 1 | ||
| Valid values: 0 or 1. If set to 1, the SDK should reject the incoming session if a USB headset is not available. | | Valid values: 0 or 1. If set to 1, the SDK should reject the incoming session if a USB headset is not available. | ||
|- | |- | ||
Line 220: | Line 195: | ||
2 = play ringtone internally (event Ringing disabled)<br> | 2 = play ringtone internally (event Ringing disabled)<br> | ||
3 = play ringtone internally and enable event Ringing.<br> | 3 = play ringtone internally and enable event Ringing.<br> | ||
− | Default Value: | + | Default Value: 3<br> |
Specifies whether to enable the ringing tone. | Specifies whether to enable the ringing tone. | ||
|- | |- | ||
Line 241: | Line 216: | ||
− | Uncompressed PCM audio must 16 bit mono or stereo and have a frequency of 8, 16, or 32 KHZ. | + | Uncompressed PCM audio must be 16 bit mono or stereo and have a frequency of 8, 16, or 32 KHZ. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| rowspan=6 | | | rowspan=6 | | ||
Line 276: | Line 225: | ||
| audio_in_device | | audio_in_device | ||
− | For more information, see [[ | + | For more information, see [[ConfiguringforAppleOS#Audio_Device_Settings|Audio Device Settings]] |
| String | | String | ||
| Microphone device name | | Microphone device name | ||
Line 296: | Line 245: | ||
| Valid values: 0 or 1. If set to 0, the audio devices specified in <tt>audio_in_device</tt> and <tt>audio_out_device</tt> are used by the SDK. If set to 1, the SDK uses a headset as the preferred audio input and output device and the audio devices specified in <tt>audio_in_device</tt> and <tt>audio_out_device</tt> are ignored. | | Valid values: 0 or 1. If set to 0, the audio devices specified in <tt>audio_in_device</tt> and <tt>audio_out_device</tt> are used by the SDK. If set to 1, the SDK uses a headset as the preferred audio input and output device and the audio devices specified in <tt>audio_in_device</tt> and <tt>audio_out_device</tt> are ignored. | ||
|- | |- | ||
− | | colspan=5 | <div id="sdk_codec">'''codecs'''</div>— See [[ | + | | colspan=5 | <div id="sdk_codec">'''codecs'''</div>— See [[ConfiguringforAppleOS#Working_with_Codec_Priorities|Working with Codec Priorities]] |
|- | |- | ||
| colspan=5 | <div id="sdk_proxies">'''proxies'''</div> | | colspan=5 | <div id="sdk_proxies">'''proxies'''</div> | ||
Line 314: | Line 263: | ||
Default Value: Empty string<br/><br/> | Default Value: Empty string<br/><br/> | ||
A SIP domain is an application layer configuration defining the management domain of a SIP proxy. The configured value should include <tt>hostport</tt> and may include <tt>uri-parameters</tt> as defined by RFC 3261. The scheme, <tt>userinfo</tt>, and <tt>transport</tt> URI parameters are included automatically.<br/><br/> | A SIP domain is an application layer configuration defining the management domain of a SIP proxy. The configured value should include <tt>hostport</tt> and may include <tt>uri-parameters</tt> as defined by RFC 3261. The scheme, <tt>userinfo</tt>, and <tt>transport</tt> URI parameters are included automatically.<br/><br/> | ||
− | If set to an empty string, SIP Endpoint SDK | + | If set to an empty string, SIP Endpoint SDK uses the parameters from the <tt>Connectivity</tt> section to construct the SIP domain value as it did in previous versions. |
|- | |- | ||
| password | | password | ||
| String | | String | ||
− | | Proxy password | + | | Proxy password. Password configured for DN object. |
|- | |- | ||
| reg_interval | | reg_interval | ||
Line 328: | Line 277: | ||
| Valid Values: <tt>0</tt> or <tt>1</tt><br> | | Valid Values: <tt>0</tt> or <tt>1</tt><br> | ||
Default Value: <tt>0</tt><br> | Default Value: <tt>0</tt><br> | ||
− | This setting controls whether or not SIP Endpoint SDK should re-register itself when receiving a mismatched IP address in the <tt>received</tt> parameter of a <tt>REGISTER</tt> response. This helps resolve the case where SIP Endpoint SDK for | + | This setting controls whether or not SIP Endpoint SDK should re-register itself when receiving a mismatched IP address in the <tt>received</tt> parameter of a <tt>REGISTER</tt> response. This helps resolve the case where SIP Endpoint SDK for OS X has multiple network interfaces and obtains the wrong local IP address. A value of 0 (default) disables this feature and a value of 1 enables re-registration. |
|- | |- | ||
| reg_timeout | | reg_timeout | ||
| Number | | Number | ||
− | | The period, in seconds, after which registration should expire. A new <tt>REGISTER</tt> request will be sent before expiration. Valid values are integers greater than or equal to <tt>0</tt>. If the setting is <tt>0</tt> | + | | The period, in seconds, after which registration should expire. A new <tt>REGISTER</tt> request will be sent before expiration. Valid values are integers greater than or equal to <tt>0</tt>. If the setting is <tt>0</tt>, then registration is disabled, putting the endpoint in standalone mode. If the setting is <tt>empty</tt>/<tt>null</tt>, the default value of <tt>1800</tt> seconds is used. |
|- | |- | ||
| rowspan=6 | | | rowspan=6 | | ||
Line 349: | Line 298: | ||
| timeout | | timeout | ||
| Number | | Number | ||
− | | | + | | Subscription expiration timeout in seconds.<br> |
+ | Valid values: any positive integer. If the setting is missing or set to <tt>0</tt>, the default value of <tt>1800</tt> is used. | ||
|- | |- | ||
| transport | | transport | ||
Line 359: | Line 309: | ||
| user | | user | ||
| String | | String | ||
− | | | + | | Mailbox number this line subscribes to. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| colspan=5 | <div id="sdk_system">'''system'''</div> | | colspan=5 | <div id="sdk_system">'''system'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=7 | |
| colspan=4 | <div id="sdk_diagnostics">'''diagnostics'''</div> | | colspan=4 | <div id="sdk_diagnostics">'''diagnostics'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=6 | |
| enable_logging | | enable_logging | ||
Line 412: | Line 325: | ||
| log_file | | log_file | ||
| String | | String | ||
− | | Log file name, for example, <tt>SipEndpoint.log</tt> | + | | Log file name, for example, <tt>SipEndpoint.log</tt><br> |
+ | Valid values: Full path or relative path to the log file. | ||
|- | |- | ||
| log_level | | log_level | ||
Line 424: | Line 338: | ||
| log_options_endpoint | | log_options_endpoint | ||
| Number | | Number | ||
− | | | + | | Valid values: <br/> |
− | Valid values: <br/> | ||
0 – 4, same as <tt>log_level</tt>.<br/> | 0 – 4, same as <tt>log_level</tt>.<br/> | ||
− | + | 10 = Logging disabled.<br/> | |
− | |||
|- | |- | ||
| logger_type | | logger_type | ||
− | | <tt> | + | | <tt>external</tt> |
− | | If set to <tt> | + | | If set to <tt>external</tt>, an external logger is used. |
|- | |- | ||
− | + | | rowspan=6 | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | rowspan= | ||
| colspan=4 | <div id="sdk_security">'''security'''</div> | | colspan=4 | <div id="sdk_security">'''security'''</div> | ||
|- | |- | ||
− | | rowspan= | + | | rowspan=5 | |
| cert_file | | cert_file | ||
| String | | String | ||
− | | | + | | Full path pointing to the certificate file used as a client-side certificate for outgoing TLS connections and as a server-side certificate for incoming TLS connections.<br> |
+ | For example, <tt>/users/Desktop/certificate/hostname_cer.pem</tt> | ||
|- | |- | ||
| tls_enabled | | tls_enabled | ||
Line 492: | Line 367: | ||
| Indicates whether to use SRTP | | Indicates whether to use SRTP | ||
|- | |- | ||
− | | | + | | priv_key_file |
− | | | + | | String |
+ | | Ful path to the <b>endpoint private key</b> file used for client-side authentication for outgoing TLS connections.<br> | ||
+ | For example, <tt>/users/Desktop/certificate/hostname_priv_key.pem</tt> | ||
|- | |- | ||
− | | | + | | ca_list_file |
− | |||
| String | | String | ||
− | | | + | | Full path to the <b>Certificat Authority's list file</b>.<br> |
− | + | For example, <tt>/users/Desktop/certificate/ca/ca_cert.pem</tt> | |
− | |||
|} | |} | ||
Revision as of 01:36, July 6, 2016
Contents
Default SipEndpoint.config Settings
Using the Default Configuration File
You can find the default configuration file in the following location:
<installation folder>/Configuration/SipEndpoint.config
This file contains XML configuration details that affect how your SIP Endpoint SDK application behaves. The inital settings are the same as those specified for use with the QuickStart application that is included with your SIP Endpoint SDK release.
Configuration settings are separated into two containers: the Basic Container holds the connectivity details that are required to connect to your SIP Server, while the Genesys Container holds a variety of configuration settings.
Basic Container
The first Container ("Basic") holds the basic connectivity details that are required to connect to your SIP Server. This container has at least one connection (Connectivity) element with the following attributes:
<Connectivity user="DN" server="SERVER:PORT" protocol="TRANSPORT"/>
If you are using a configuration that supports Disaster Recovery and Geo-Redundancy, there may be multiple connection elements present with each specifying a separate possible connection. Refer to the configuration settings of that feature for details. You will have to make the following changes and save the updated configuration file before using the SIP Endpoint SDK:
- user="DN" — Supply a valid DN for the user attribute.
- server="SERVER:PORT" — Replace SERVER with the host name where your SIP Server is deployed, and PORT with the SIP port of the SIP Server host. (The default SIP port value is 5060.)
- protocol="TRANSPORT" — Set the protocol attribute to reflect the protocol being used to communicate with SIP Server. Possible values are UDP, TCP, or TLS.
Genesys Container
The second Container ("Genesys") holds a number of configurable settings that are organized into domains and sections. These settings do not have to be changed, but can be customized to take full control over your SIP Endpoint SDK applications.
An overview of the settings in this container and the valid values for these settings is provided here:
Domain | Section | Setting | Values | Description | |
---|---|---|---|---|---|
policy
| |||||
endpoint
| |||||
audio_qos | Number | The integer value representing the DSCP bits to set for RTP audio packets. The value should be 4 * Preferred DSCP value. | |||
include_os_version_in_user_agent_header | Number | If set to 1, the user agent field includes the OS version the client is currently running on. Default: 1. | |||
include_sdk_version_in_user_agent_header | Number | If set to 1, the user agent field includes the SDK version the client is currently running on. Default: 1. | |||
ip_versions | IPv4 empty |
A value of IPv4 or an empty value means that the application selects an available local IPv4 address.
Default: IPv4. | |||
public_address | String | Local IP address of the machine. This setting can be an explicit setting or a special value that the SDK uses to automatically obtain the public address.
Valid Values:
This setting may have one of the following special values:
Default Value: Empty string which is fully equivalent to the $auto value. If the value is specified as an explicit host name, the Contact header includes the host name for the recipient of SIP messages (SIP Server or SIP proxy) to resolve on their own. For all other cases, including $host, the resolved IP address is used for Contact. The value in SDP is always the IP address. | |||
rtp_inactivity_timeout | Number | Timeout interval for RTP inactivity. Valid values are positive integers. A value of 0 means that this feature is not activated. A value 1 or higher indicates the inactivity timeout interval in seconds. Default: 30. Suggested values: 1 through 150. | |||
rtp_port_min | Number | The integer value representing the minimum value for an RTP port range. Must be within the valid port range of 8000 to 65535. If the minimum value is not specified or set to an invalid value, the default value of (8000) is used for rtp_port_min. Setting the minimum to a value that is larger than the maximum is considered an error and will result in a failure to initialize the endpoint. | |||
rtp_port_max | Number | The integer value representing the maximum value for an RTP port range. Must be within the valid port range of 8000 to 65535. If the maximum value is not specified or set to an invalid value, the default maximum 9000 is used for rtp_port_max. Setting the maximum to a value that is less than the minimum is considered an error and results in a failure to initialize the endpoint. | |||
signaling_qos | Number | The integer value representing the DSCP bits to set for SIP packets. Integer value should be configured to 4 * Preferred DSCP value. | |||
sip_port_min | Number | The integer value representing the minimum value for a SIP port range. Must be within the valid port range of 1 to 65535. If the minimum value is not specified or set to an invalid value, the default value of 5060 is used for sip_port_min. Setting the minimum to a value that is larger than the maximum is considered an error and will result in a failure to initialize the endpoint. | |||
sip_port_max | Number | The integer value representing the maximum value for a SIP port range. Must be within the valid port range of 1 to 65535. If the maximum value is not specified or set to an invalid value, the default value of 5080 is used for sip_port_max. Setting the maximum to a value that is less than the minimum is considered an error and will result in a failure to initialize the endpoint. | |||
sip_transaction_timeout | Number | SIP transaction timeout value in milliseconds. Valid values are 1 through 32000, with a default value of 4000. The recommended value is 4000. | |||
vq_report_collector | See Producing RTCP Extended Reports | ||||
vq_report_publish | See Producing RTCP Extended Reports | ||||
answer_sdp_priority | config NULL Empty offer |
Valid values: config, NULL, or Empty—the endpoint selects the first codec from the codec configuration listed in both the codec configuration and the SDP offer. | |||
sip_port_binding | 0 NULL Empty 1 |
Valid values: 0, NULL, or Empty—opens the SIP port to listen on any interface Default value: 0 | |||
session
| |||||
agc_mode | 0
1 |
If set to 0, AGC (Automatic Gain Control) is disabled; if set to 1, it is enabled. Default: 1. Other values are reserved for future extensions. This configuration is applied at startup, after which time the agc_mode setting can be changed to 1 or 0 from the main sample application.
NOTE: It is not possible to apply different AGC settings for different channels in multi-channel scenarios. | |||
auto_answer | 0 1 |
If set to 1, all incoming calls should be answered automatically. | |||
auto_answer_delay | Number | Valid values: Number in milliseconds. Time in milliseconds to wait before auto-answering. The recommended and default value is 1500 milliseconds. | |||
dtmf_method | Rfc2833
Info |
Method to send DTMF | |||
echo_control | 0 1 |
Valid values: 0 or 1. If set to 1, echo control is enabled. | |||
noise_suppression | 0 1 |
Valid values: 0 or 1. If set to 1, noise suppresion is enabled. | |||
dtx_mode | 0 1 |
Valid values: 0 or 1. If set to 1, DTX is activated. | |||
reject_session_when_headset_na | 0 1 |
Valid values: 0 or 1. If set to 1, the SDK should reject the incoming session if a USB headset is not available. | |||
sip_code_when_headset_na | Number | Defaul Value: 480 If a valid SIP error code is supplied, the SDK rejects the incoming session with the specified SIP error code if a USB headset is not available. | |||
vad_level | Number | Sets the degree of bandwidth reduction. Valid values: 0 – 3 — from 0 (conventional VAD) to 3 (aggressive high). | |||
ringing_enabled | Number | Valid values: 0, 1, 2, or 3. 0 = event Ringing disabled | |||
ringing_timeout | Number | Valid Values: Empty, 0, or a positive number Default Value: 0 | |||
ringing_file | String | Valid values: Empty or the path to the ringing sound file. The path may be a file name in the current directory or the full path to the sound file. Default Value: ringing.wav kWavFormatPcm = 1, PCM, each sample of size bytes_per_sample
| |||
device
| |||||
audio_in_device
For more information, see Audio Device Settings |
String | Microphone device name | |||
audio_out_device | String | Speaker device name | |||
capture_device | String | Capture device name | |||
headset_name | String | The name of the headset model | |||
use_headset | Number | Valid values: 0 or 1. If set to 0, the audio devices specified in audio_in_device and audio_out_device are used by the SDK. If set to 1, the SDK uses a headset as the preferred audio input and output device and the audio devices specified in audio_in_device and audio_out_device are ignored. | |||
codecs — See Working with Codec Priorities
| |||||
proxies
| |||||
proxy<n>
| |||||
display_name | String | Proxy display name | |||
domain | String | Valid Values: Any valid SIP domain Default Value: Empty string | |||
password | String | Proxy password. Password configured for DN object. | |||
reg_interval | Number | The period, in seconds, after which the endpoint starts a new registration cycle when a SIP proxy is down. Valid values are integers greater than or equal to 0. If the setting is empty or negative, the default value is 0, which means no new registration cycle is allowed. If the setting is greater than 0, a new registration cycle is allowed and will start after the period specified by regInterval. | |||
reg_match_received_rport | Number | Valid Values: 0 or 1 Default Value: 0 | |||
reg_timeout | Number | The period, in seconds, after which registration should expire. A new REGISTER request will be sent before expiration. Valid values are integers greater than or equal to 0. If the setting is 0, then registration is disabled, putting the endpoint in standalone mode. If the setting is empty/null, the default value of 1800 seconds is used. | |||
mailbox | |||||
password | String | Mailbox password | |||
server | String | Proxy server address and port for this mailbox | |||
timeout | Number | Subscription expiration timeout in seconds. Valid values: any positive integer. If the setting is missing or set to 0, the default value of 1800 is used. | |||
transport | udp
tcp |
Transport protocol to use when communicating with server | |||
user | String | Mailbox number this line subscribes to. | |||
system
| |||||
diagnostics
| |||||
enable_logging | Number | Valid values: 0 or 1. Disable or enable logging. | |||
log_file | String | Log file name, for example, SipEndpoint.log Valid values: Full path or relative path to the log file. | |||
log_level | Number | Valid values: 0 – 4. Log levels: 0 = "Fatal"; 1 = "Error"; 2 = "Warning"; 3 = "Info"; 4 = "Debug". | |||
log_options_provider | String | Valid values for webrtc = (warning, state, api, debug, info, error, critical). For example: gsip=2, webrtc=(error,critical) | |||
log_options_endpoint | Number | Valid values: 0 – 4, same as log_level. | |||
logger_type | external | If set to external, an external logger is used. | |||
security
| |||||
cert_file | String | Full path pointing to the certificate file used as a client-side certificate for outgoing TLS connections and as a server-side certificate for incoming TLS connections. For example, /users/Desktop/certificate/hostname_cer.pem | |||
tls_enabled | Number | If set to 1, connection with TLS transport will be registered. Default: 0. | |||
use_srtp | String
disabled
optional |
Indicates whether to use SRTP | |||
priv_key_file | String | Ful path to the endpoint private key file used for client-side authentication for outgoing TLS connections. For example, /users/Desktop/certificate/hostname_priv_key.pem | |||
ca_list_file | String | Full path to the Certificat Authority's list file. For example, /users/Desktop/certificate/ca/ca_cert.pem |
Additional Configuration Options
The default configuration file may not contain all settings that may be used with the SIP Endpoint SDK; additional settings can be added to change certain behaviors. Check Configuring SIP Endpoint SDK for .NET for a discussion of these additional settings.