FXS Gateway Overview
- 66 -
VP v1.42 stack open sucessfully.
login:
21.4.2
Gateway mode
Gateway mode means that all channels use only one account to register proxy
server, but proxy must provide this function.
Step 1.
If you have one accounts included user name and password, you need to
configure the accounts using “security” command.
An example is demonstrated below:
usr/config$ security –line 1 –name 12345 –password 12345
Note:
This is to set username (userid) as “12345”, password as “12345” into line1,
which means line1 can accept incoming calls after successfully registered to
Proxy server.
Step 2.
You must specify Proxy address obtained from your service provider. And the
Proxy address can be IPv4 address as well as DNS name.
Several important SIP parameters are listed below when setting proxy
mode:“–px”, ”–line1” and ”–line2”.
An example is demonstrated below:
usr/config$ sip –mode 2
usr/config$ sip –px 210.68.222.33 -line1 0506 –line2 0507
Note:
1. This is to set proxy address as “210.68.222.23”, line1 number as “0506”,
line2 number as “0507”
2. The line number of line1 and line2 depends on what you get from your
service provider.
Step 3.
Ather the configuration [commit] and [reboot] the device.
usr/config$ commit
usr/config$ reboot
Step 4.
Wait for FXS Gateway initializing in Proxy mode. It should take around 40
seconds. And you will see the below information displayed on Hyper-Terminal if
the registration is successful.
usr/config$
. Rebooting...It will take 40 seconds....Attached TCP/IP interface to cpm
unit 0
Attaching interface lo0...done
WorkMode : PROXY_MODE