MicroNet Technology SP5054A/S Manual De Usuario

Descargar
Página de 57
 
35
Example : Call out from FXO Line 
 
Proxy Mode Usage: Set gateway under proxy mode. Create a Hotline 
table with “line ” command. 
--------------------------------------------------------------- 
usr/config$ line - config 1 hotline 1001 
--------------------------------------------------------------- 
In this example means: if user picks up phone set of FXO Line1, gateway 
will automatically dial out “1001”. 
 
P2P Mode Usage: Set gateway under P2P mode. Create phone book table 
with “pbook ” command. Create a Hotline table with “line ” command. 
--------------------------------------------------------------- 
usr/config$ pbook - add name micronet ip 10.1.1.1 e164 1001   
usr/config$ line - config 1 hotline 1001 
--------------------------------------------------------------- 
In this example means: if user dials into FXO Line1, gateway will 
automatically dial out IP address of “1001”. 
 
 
 
2.14 [route] 
 
Routing table for your calls 
--------------------------------------------------------------- 
usr/config$ route 
Routing table information and configuration 
Usage: 
route -add [prefix number][dst number][e164 number] 
      [min number][max number][hunt number] 
route -delete index 
route -modify index [prefix number][dst number][e164 number] 
      [min number][max number][hunt number] 
route -ip [dst number][e164 number] 
route -fxo [dst number][e164 number] 
route -print      Routing table information. 
       prefix    The prefix of dialed number. 
              dst            Destination port(FXO:1/IP:2). 
       e164      Destination e164 number(when destination is FXO). 
       min       Min digits.(0 ~ 255) 
       max      Max digits.(0 ~ 255) 
       hunt      Hunt method for busy forward