(Optional) Setting System Parameters
Context
The AR G3 router working in SIP AG mode can exchange information with a softswitch device using SIP to implement call services. Different countries and regions use different voice parameter standards; therefore, set voice parameters on the SIP AG in accordance with local standards.
- Setting Upper and Lower Thresholds for Hookflash Pressing Parameters
- Setting the MWI Mode
- Configuring the Codec Mode for Voice Services
- Setting Ringing Parameters
- Enabling the Function That Reduces the Feed on Locked Ports
- Setting CLIP Parameters in Offhook State
- Setting CLIP Parameters in Onhook State
- Loading the Voice Prompt File and Voice Service Logic File
- Configuring a Media Port
- Verifying the System Configuration
Setting Upper and Lower Thresholds for Hookflash Pressing Parameters
Context
The upper and lower thresholds for hookflash pressing determine the hookflash duration. Hookflash or flash is a button on a telephone that simulates quickly hanging up and then picking up again (a quick off-hook/on-hook/off-hook cycle). The hookflash can be pressed by a calling party or a called party.
The softswitch provides services after the hookflash button is pressed. The following describes the common scenarios after a hookflash press:
- Hookflash pressed by a called party: If the called party UserA wants to transfer an incoming call to UserB, UserA can press the hookflash and dial the number of UserB.
- Hookflash pressed by a calling party: UserA calls UserB. UserB answers the call and talks with UserA. UserA can press the hookflash and dial the number of UserC after hearing a special dial tone.
- If UserC is busy, UserA can press the hookflash and talk with UserB.
- If UserC does not respond for a long period of time, UserA can press the hookflash and talk with UserB.
- If the phone of UserC rings, UserA hangs up and UserB hears the ringback tone. UserC picks up the phone and talks with UserB.
- Whether a called party can be transferred to a toll call is restricted by the outgoing right of the called party.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
voice
The voice view is displayed.
- Run:
flash-hook lower lower-value
The lower threshold for hookflash pressing is set.
By default, the lower threshold for hookflash pressing is 100 ms.
- Run:
flash-hook upper upper-value
The upper threshold for hookflash pressing is set.
By default, the upper threshold for hookflash pressing is 350 ms.
The lower threshold for hookflash pressing must be 50 ms less than the upper threshold for hookflash pressing.
Setting the MWI Mode
Configuring the Codec Mode for Voice Services
Context
You can configure the G.711 codec mode for voice services so that the user device can work in compliance with the local standard G.711, also known as Pulse Code Modulation (PCM), is a commonly used waveform codec. G.711 defines two main compression algorithms, the µ-law algorithm (used in North America & Japan) and A-law algorithm (used in Europe and China). A-law encoding takes a 13-bit signed linear audio sample as input. μ-law encoding takes a 15-bit signed linear audio sample as input.
Setting Ringing Parameters
Context
Different countries and regions use different ringing standards. You can set the AC amplitude of the ringing current to adjust the ringing tone volume, voice pitch, cadence ratio, and initial ringing function on a device to meet local standards.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
voice
The voice view is displayed.
- Run the following commands based on user requirements.
Run:
ring frequency { 16hz | 25hz | 50hz }
The frequency of the ringing current is set.
By default, the frequency of the ringing current is 25 Hz.
Run the ring voltage voltage-value command to set the ringing voltage.
By default, the ringing voltage is 45 Vrms.
Run:
user-defined-ring ring-index { first-ring first-ring-period | first-interval first-interval | second-ring second-ring-period | second-interval second-interval | third-ring third-ring-period | third-interval third-interval }*
The cadence ratio of a specified user-defined ring type is set.
Run:
stop-initial-ring { enable | disable }
The initial ringing function is enabled or disable.
By default, this function is enabled, which indicates that the initial ring is stopped.
Setting CLIP Parameters in Offhook State
Context
When the CLIP service is registered, CLIP parameters in offhook state need to be configured on the device so that the device can work with the phone terminal. Generally, default parameter settings are used. If CLIP parameters are not set properly, change relevant CLIP parameters.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
voice
The voice view is displayed.
- Run the following commands as required.
Run:
clip offhook ack-fsk-interval ack-fsk-interval
The interval between the time when the ACK message is received and the time when the frequency-shift keying (FSK) is transmitted in offhook state is set.
Run:
clip offhook dtas-ack-interval dtas-ack-interval
The maximum duration between the time when the dual tone-alerting signal (DT-AS) is transmitted and the time when the ACK message is received in offhook state is set.
Run:
clip offhook dtas-duration dtas-dur-value
The duration of the dual tone-alerting signal (DT-AS) in offhook state is set.
Run:
clip offhook dtas-level dtas-level
The level of the DT-AS in offhook state is configured.
Run:
clip offhook fsk-level fsk-level
The level of the FSK in offhook state is configured.
Run:
clip offhook mark-signal-bit mark-signal-bit
The number of bits of the FSK synchronization mask in offhook state is set.
Setting CLIP Parameters in Onhook State
Context
When the CLIP service is registered, CLIP parameters in onhook state need to be configured on the device so that the device can work with the phone terminal. Generally, default parameter settings are used. If CLIP parameters are not set properly, change relevant CLIP parameters.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
voice
The voice view is displayed.
- Run the following commands as required.
Run:
clip onhook channel-seize-bit channel-seize-bit
The number of bits seized by a channel in onhook state is set.
Run:
clip onhook dtas-duration dtas-dur-value
The duration of the DT-AS in onhook state is set.
Run:
clip onhook dtas-fsk-interval dtas-fsk-interval
The interval between the time when the DT-AS is transmitted and the time when the FSK is transmitted in onhook state is set.
Run:
clip onhook dtas-level dtas-level
The level of the DT-AS in onhook state is configured.
Run:
clip onhook fsk-level fsk-level
The level of the FSK in onhook state is configured.
Run:
clip onhook mark-signal-bit marksignal-bit
The number of bits of the FSK synchronization mask in onhook state is set.
Loading the Voice Prompt File and Voice Service Logic File
Context
A prompt tone is the voice prompt heard by the calling and called users when the calling user initiates a call. For example, when the calling user calls the called user, the calling user hears the prompt tone indicating that the called user is busy. A voice prompt file stores all voice prompt tones. The voice service logic file defines the service exchange process.
The system software has the default voice prompt file and voice service logic file. Voice prompt tone rules and services (including three-way conversation, three-party service, teleconference, call transfer, and call waiting) have different usage scenarios in different countries. You can customize the voice prompt voice and voice service logic file according to service requirements.
Procedure
- Make the voice prompt file and voice service logic file and generate a file with file name extension .res or .cc.
For details about generating the voice prompt file and voice service logic file with file name extension .res or .cc, please contact technical support personnel.
You make the voice prompt file and voice service logic file into the same file or two different files with file name extension .res or .cc and then load the file to the device.
- Upload or download the voice prompt file and voice service logic file to the device's memory.
- Load the voice prompt file and voice service logic file. You can load the voice prompt file and voice service logic file using either of the following methods.
- Method 1: Perform the following operation in the user view:
- Run the load voice-package filename command to load the voice prompt file/voice service logic file.
When you use this method to load the voice prompt file and voice service logic file, the files take effect immediately after being loaded and the voice prompt file and voice service logic file for next startup are modified.
- Run the load voice-package filename command to load the voice prompt file/voice service logic file.
- Method 2: Perform the following operation in the user view:
- Run the startup voice-package filename command to load the voice prompt file.
To make the current voice prompt file and voice service logic file continue to take effect and the new voice prompt file and voice service logic file take effect during next startup, use this method.
- Run the reboot to restart the device.
- Run the startup voice-package filename command to load the voice prompt file.
- Method 1: Perform the following operation in the user view:
Configuring a Media Port
Verifying the System Configuration
Procedure
- Run the display voice configuration command to verify the voice configuration.
- Run the display voice user-defined-ring [ring-index ] command to check user-defined ring information.
- Run the display voice clip command to verify the CLIP parameter settings.
- Run the display startup command to check the loaded voice prompt file and voice service logic file.
- Run the display voice media-bandwidth-control command to verify the CAC configuration on the SIP AG and uplink bandwidth occupied by voice data.
- Setting Upper and Lower Thresholds for Hookflash Pressing Parameters
- Setting the MWI Mode
- Configuring the Codec Mode for Voice Services
- Setting Ringing Parameters
- Enabling the Function That Reduces the Feed on Locked Ports
- Setting CLIP Parameters in Offhook State
- Setting CLIP Parameters in Onhook State
- Loading the Voice Prompt File and Voice Service Logic File
- Configuring a Media Port
- Verifying the System Configuration