MG6000 Series Media Gateway User
’
s Manual
- 79 -
5.1.10.2
Edit routing map
a). Configuration
IAD(8)#
edit gw-table
Current configuration:
--------------------------------------------------------------------------------
No. |Prefix Code|Len |Type|IP Address |Port|Cut |Extra Code |PhoneContext
0 12315 5 SIP 138.0.0.221 5060 3 020
1 82598555 8 SIP 138.0.0.221 5060 0
--------------------------------------------------------------------------------
Total item:2
->Please input the item expected to edit <0-1>:0
-> Please input phone number(prefix)[12315]:1231568
-> Is prefix'yes'or'no'[yes]:
-> Specify number length'yes'or'no'[yes]:
-> Number length[5]:9
-> Please input phone routing type(0-SIP;1-TEL)[0]:
-> Please input routing IP address[138.0.0.221]:
-> Peer gateway port(0-65535)[5060]:
-> Interception length of master phone routing [3]:4
-> Master phone routing need extra prefix'yes'or'no'[yes]:
-> Number prefix[020]:
b). Display
IAD(8)#
show gw-table
--------------------------------------------------------------------------------
No. |Prefix Code|Len |Type|IP Address |Port|Cut |Extra Code |PhoneContext
0 1231568 9 SIP 138.0.0.221 5060 4 020
1 82598555 8 SIP 138.0.0.221 5060 0
--------------------------------------------------------------------------------
Total item:2
5.1.10.3
Delete routing map
a). Configuration
IAD(8)#
delete gw-table
--------------------------------------------------------------------------------
No. |Prefix Code|Len |Type|IP Address |Port|Cut |Extra Code |PhoneContext
0 1231568 9 SIP 138.0.0.221 5060 4 020
1 82598555 8 SIP 138.0.0.221 5060 0
--------------------------------------------------------------------------------
Total item:2
->Start index[0]:0
->End index [0]:0
->Modified configuration anyway ?'yes'or'no'[no]:yes
b). Display