User manual
VOPTech GoIP User Manual
Voptel Technology Co., Ltd All Rights Reserved. 48
Media agent mode:
Mode 1: media encryption and agent (supported by all versions of relay servers).
Mode 2: media encryption and agent, supporting the transit over the specified port
(supported by V2 relay server).
Mode 3: media encryption and agent for the conversion of RTP data to TCP packet,
supporting the transit over the specified port (supported by the relay server
later than V2).
3.5.7 Dialing Rule
The GoIP supports number dialing by rules. You can specify dialing rules in the dialing rule
parameter of the “Call Forwarding”.
3.5.7.1 Format of Dialing Rules
1. You can specify multiple rules, which are separated by the delimiter ‘|’. For example,
“00:-00|0:-0+86|:+86755”.
2. The number is matched from the left of the dialing rules to the right. When the number
matches the correct rule, the number stops matching. Otherwise, the number continues to
match the next rule.
3. The rule format is “AA:-aa+bb”, such as “0:-0+86”. Where, “AA” indicates the number to
match and “-aa+bb” indicates detailed actions to be taken on the number. If the number is
successfully matched, “aa” is deducted and “bb” is added. If the number fails to match, the
number continues to match the next rule. If no digit after the colon is specified, such as
“00:”, it indicates that no actions are taken when “00” is matched and the number exits the
matching. If no digit before the colon is specified, such as “+86755”, it indicates that
instead of matching, actions are taken on the number directly.
4. You can specify a range for matching of dialing rules. The rule format is “[A-B]A:-aa+bb”
or “A[A-B]:-aa+bb”. For example, you can specify the range of numbers beginning with 2
to 8 as “[2-8]: -aa+bb” or numbers beginning with 13 to 15 as “1[3-5]: -aa+bb”.
Examples:
1. Rule: 0:|:+0755
a. The input number is “02083185711” and the output number is “02083185711”.
b. The input number is “83185700” and the output number is “075583185700”.