Configuring Test Call Endpoints
The Test Call Rules table lets you test SIP signaling (setup and registration) and media (DTMF signaling) of calls between a simulated phone on the device and a remote IP endpoint. These tests include both incoming and outgoing calls, where the test endpoint can be configured as the caller or called party. The simulated phone and remote endpoints are defined by SIP URIs (user@host) and the remote endpoint can be defined as an IP Group or IP address.
Test calls can be dialed automatically at a user-defined interval or manually when required. When the device initiates a SIP test call, it sends a SIP INVITE towards the remote SIP User Agent (e.g., a SIP proxy server or softswitch). The device simulates the SIP call setup process, managing SIP 1xx responses and completing the SIP transaction with a SIP 200 OK after a user-defined duration.
When the remote SIP UA initiates the call with the device's test call endpoint, the test call ends when the remote UA ends the call (i.e., sends a SIP BYE message). Alternatively, the duration of the test call can be determined by the incoming SIP INVITE message, as described in Using SIP INVITE to Specify Test Call Duration.
● | By default, you can configure up to five test call rules. However, you can increase this number by installing a License Key that licenses the required number. For more information, contact the sales representative of your purchased device. |
● | The device's Call Admission Control (CAC) feature (see Configuring Call Admission Control) doesn't apply to Test Calls. |
● | To configure a Test Call endpoint for measuring and reporting MOS to WebRTC clients, see Reporting MOS Triggered by WebRTC Client |
● | You can also run a test call using the device's REST API. For more information, refer to the document REST API for SBC-Gateway-MSBR Device |
The following procedure describes how to configure Test Call rules through the Web interface. You can also configure it through ini file [Test_Call] or CLI (configure troubleshoot > test-call test-call-table).
➢ | To configure a Test Call: |
1. | Open the Test Call Rules table (Troubleshoot menu > Troubleshoot tab > Test Call folder > Test Call Rules). |
2. | Click New; the following dialog box appears: |
3. | Configure a test call according to the parameters described in the table below. |
4. | Click Apply, and then save your settings to flash memory. |
Test Call Rules Table Parameter Descriptions
Parameter |
Description |
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Common | |||||||||||||||||||||||||||||||||||||||||||
'Index' |
Defines an index number for the new table row. Note: Each row must be configured with a unique index. |
||||||||||||||||||||||||||||||||||||||||||
'Endpoint URI' endpoint-uri [Test_Call_EndpointURI] |
Defines the endpoint's URI. This can be defined as a user or user@host. The device identifies this endpoint only by the URI's user part. The URI's host part is used in the SIP From header in REGISTER requests. The valid value is a string of up to 150 characters. By default, the parameter is not configured. Note: The parameter is mandatory. |
||||||||||||||||||||||||||||||||||||||||||
'Called URI' called-uri [Test_Call_CalledURI] |
Defines the destination (called) URI (user@host). The valid value is a string of up to 150 characters. By default, the parameter is not configured. |
||||||||||||||||||||||||||||||||||||||||||
'Route By' route-by [Test_Call_RouteBy] |
Defines the type of routing method. This applies to incoming and outgoing calls.
Note:
|
||||||||||||||||||||||||||||||||||||||||||
'IP Group' ip-group-id [Test_Call_IPGroupName] |
Assigns an IP Group where the test call is sent to or received from. By default, no value is defined. To configure IP Groups, see Configuring IP Groups. Note:
|
||||||||||||||||||||||||||||||||||||||||||
'Destination Address' dst-address [Test_Call_DestAddress] |
Defines the destination host. The valid value is an IP address[:port] in dotted-decimal notation or a DNS name[:port]. Note: The parameter is applicable only if you configure the 'Route By' parameter to Dest Address. |
||||||||||||||||||||||||||||||||||||||||||
'SIP Interface' sip-interface-name [Test_Call_SIPInterfaceName] |
Assigns a SIP Interface. This is the SIP Interface to which the test call is sent and received from. By default, no value is defined. To configure SIP Interfaces, see Configuring SIP Interfaces. Note: The parameter is applicable only if the 'Route By' parameter is configured to Dest Address. |
||||||||||||||||||||||||||||||||||||||||||
'Application Type' application-type [Test_Call_ApplicationType] |
Defines the application type for the endpoint. This associates the IP Group and SRD to a specific SIP interface.
|
||||||||||||||||||||||||||||||||||||||||||
'Destination Transport Type' dst-transport [Test_Call_DestTransportType] |
Defines the transport type for outgoing calls.
Note: The parameter is applicable only if you configure the 'Route By' parameter to Dest Address. |
||||||||||||||||||||||||||||||||||||||||||
'QoE Profile' qoe-profile [Test_Call_QOEProfile] |
Assigns a QoE Profile to the test call. By default, no value is defined. To configure QoE Profiles, see Configuring Quality of Experience Profiles. |
||||||||||||||||||||||||||||||||||||||||||
'Bandwidth Profile' bandwidth-profile [Test_Call_BWProfile] |
Assigns a Bandwidth Profile to the test call. By default, no value is defined. To configure Bandwidth Profiles, see Configuring Bandwidth Profiles. |
||||||||||||||||||||||||||||||||||||||||||
Media |
|||||||||||||||||||||||||||||||||||||||||||
'Offered Audio Coders Group' offered-audio-coders-group-name [Test_Call_OfferedCodersGroupName] |
Assigns a Coder Group, configured in the Coders Groups table, whose coders are added to the SDP Offer in the outgoing Test Call. If not configured, the device uses the Coder Group specified by the 'Extension Coders Group' parameter of the IP Profile associated with the rule's IP Group (see the 'IP Group' parameter above). To configure Coder Groups, see Configuring Coder Groups. Note:
|
||||||||||||||||||||||||||||||||||||||||||
'Allowed Audio Coders Group' allowed-audio-coders-group-name [Test_Call_AllowedAudioCodersGroupName] |
Assigns an Allowed Audio Coders Group, configured in the Allowed Audio Coders Groups table, which defines only the coders that can be used for the test call. For incoming test calls, the device accepts the first offered coder that is supported and allowed. If not configured, the device uses the Allowed Audio Coders Group specified by the 'Allowed Audio Coders' parameter of the IP Profile associated with the rule's IP Group (see the 'IP Group' parameter above). To configure Allowed Audio Coders Groups, see Configuring Allowed Audio Coder Groups. Note: The parameter's settings override the corresponding parameter of the IP Profile associated with the rule's IP Group. |
||||||||||||||||||||||||||||||||||||||||||
'Allowed Coders Mode' allowed-coders-mode [Test_Call_AllowedCodersMode] |
Defines the mode of the Allowed Coders feature for the Test Call.
Note: Except for Not Configured, the parameter's settings override the corresponding parameter of the IP Profile associated with the rule's IP Group. |
||||||||||||||||||||||||||||||||||||||||||
'Media Security Mode' media-security-mode [Test_Call_MediaSecurityMode] |
Defines the handling of RTP and SRTP.
Note:
|
||||||||||||||||||||||||||||||||||||||||||
'Play DTMF Method' play-dtmf-method [Test_Call_PlayDTMFMethod] |
Defines the method used by the devicefor sending DTMF digits that are played to the called party when the call is answered.
Note:
|
||||||||||||||||||||||||||||||||||||||||||
Authentication Note: These parameters are applicable only if the 'Call Party' parameter (below) is configured to Caller. |
|||||||||||||||||||||||||||||||||||||||||||
'Auto Register' auto-register [Test_Call_AutoRegister] |
Enables automatic registration of the endpoint. The endpoint can register to the device itself or to the 'Destination Address' or 'IP Group' parameter settings (see above).
|
||||||||||||||||||||||||||||||||||||||||||
'Username' user-name [Test_Call_UserName] |
Defines the authentication username. The valid value is a string of up to 60 characters. By default, no value is defined. |
||||||||||||||||||||||||||||||||||||||||||
'Password' password [Test_Call_Password] |
Defines the authentication password. By default, no password is defined. Note: The parameter cannot be configured with wide characters. |
||||||||||||||||||||||||||||||||||||||||||
Test Setting |
|||||||||||||||||||||||||||||||||||||||||||
'Call Party' call-party [Test_Call_CallParty] |
Defines if the test endpoint is the initiator (caller) or receiving side (called) of the test call.
|
||||||||||||||||||||||||||||||||||||||||||
'Maximum Channels for Session' max-channels [Test_Call_MaxChannels] |
Defines the maximum number of concurrent channels for the test session. For example, if you have configured an endpoint "101" and you configure the parameter to "3", the device automatically creates three simulated endpoints - "101", "102" and "103" (i.e., consecutive endpoint URIs are assigned). The default is 1. |
||||||||||||||||||||||||||||||||||||||||||
'Call Duration' call-duration [Test_Call_CallDuration] |
Defines the call duration (in seconds). The valid value is -1 to 100000. The default is 20. A value of 0 means infinite. A value of -1 means that the parameter value is automatically calculated according to the values of the 'Calls per Second' and 'Maximum Channels for Session' parameters. Note: The parameter is applicable only if you configure 'Call Party' to Caller. |
||||||||||||||||||||||||||||||||||||||||||
'Calls per Second' calls-per-second [Test_Call_CallsPerSecond] |
Defines the number of calls per second. Note: The parameter is applicable only if you configure 'Call Party' to Caller. |
||||||||||||||||||||||||||||||||||||||||||
'Test Mode' test-mode [Test_Call_TestMode] |
Defines the test session mode.
Note: The parameter is applicable only if you configure 'Call Party' to Caller. |
||||||||||||||||||||||||||||||||||||||||||
'Test Duration' test-duration [Test_Call_TestDuration] |
Defines the test duration (in minutes). The valid value is 0 to 100000. The default is 0 (i.e., unlimited). Note: The parameter is applicable only if you configure 'Call Party' to Caller. |
||||||||||||||||||||||||||||||||||||||||||
'Play' play [Test_Call_Play] |
Enables the playing of a tone to the answered side of the call.
The NetAnn parameters include the following:
The following shows an example of a Request-URI with NetAnn parameters that instruct the device to play three times (loops) the tone that is defined at Index 15 in the PRT file: INVITE sip:200@1.1.1.1;early=yes;play=15;repeat=3 Note:
When the IP-to-IP call fails, the device uses the alternative routing rule to re-route the call to the Test Call module, which sends a SIP 183 response to the caller, playing the specified tone. |
||||||||||||||||||||||||||||||||||||||||||
'Play Tone Index' play-tone-index [Test_Call_PlayToneIndex] |
Defines the tone that you want played from the installed PRT file, to the called party when the call is answered. The valid value is the index number (1-80) of the tone in the PRT file. By default (-1), the device plays the tone defined at index 22 "acDialTone2". Note:
|
||||||||||||||||||||||||||||||||||||||||||
'Schedule Interval' schedule-interval [Test_Call_ScheduleInterval] |
Defines the interval (in minutes) between automatic outgoing test calls. The valid value range is 0 to 100000. The default is 0 (i.e., scheduling is disabled). Note: The parameter is applicable only if you configure 'Call Party' to Caller. |