Command with FXS Gateway
login:
19.4.2 Peer-to-Peer
Mode
Peer-to-Peer Mode allows users to call other VoIP devices without the proxy server. When
in Peer-To-Peer mode, FXS Gateway will send INVITE message directly to the destination IP
address once the dial is finished. One can use PhoneBook, which will dial predefined phone
number, and press “#” (optional, to accelerate the dial) as end of dial. Or, users can use
SpeedDial button, which is mapping to user defined PhoneBook, Button1 to PhoneBookIndex1,
and Button2 to PhoneBookIndex2…etc..
To configure Peer-To-Peer Mode in FXS Gateway, follow the steps below:
Step 1.
Set Peer-To-Peer Mode, using “h323” command
usr/config$ sip –mode 0
Note: mode 0 is for Peer-To-Peer mode, while mode 1 is for Proxy mode.
Step 2.
Configure PhoneBook, using “pbook” command.
Users can refer to chapter 19.7.9 [pbook] command for more information.
usr/config$ pbook –add name TEST1 ip 10.1.1.1 e164 10
Note: The command is to add a record onto PhoneBook. After the command completed, you
can type “pbook –print” to see if the input record is correct.
When adding a record to Phone Book, users do not have to reboot the machine, and the
record will be effective immediately. For phonebook configuration, please refer to
Chapter 19.7.9.
19.4.3 Behind IP-Sharing Mode
One Sets FXS Gateway
The function is for user whose network environment is behind IP Sharing device. It is said FXS
Gateway is connected to the IP Sharing device(Router).
An example such as ADSL network is in the following.
Command List
19-7