33
Usage:
gk [-add type1 [[type2]...]] [-delete h323] [-ttl value
[-enable 0/1] [-security enable/disable]
-print Display the enabled debug flags.
-enable Enable simple gatekeeper
-ttl Set TTL value
-add Add dynamic endpoint
(h323 ID, E164, IP, port, type)
-delete Delete dynamic endpoint
-security enable Enable security check
-security disable Disable security check
-security add Add security record
-security delete Delete security record
Example:
gk -add h323 256 192.168.1.1 1720 0
gk -delete h323
gk -security delete h323
gk -security add h323
Parameters Usage:
-print print current embedded gatekeeper information and
configurations.
-enable to enable gatekeeper feature (0: disable, 1: enable).
-ttl to set timer for TTL(Time To Live).In this period of time, if
endpoint doesn’t send RRQ to GK,GK will determine this
endpoint as not exist anymore and delete it from registered list.
-add To add an endpoint that doesn’t send RRQ to GK. User can
predefine an endpoint in GK, and GK will treat this endpoint has
already registered to GK, though it doesn’t send register request
to GK. (gk –add “H.323 ID” “e164” “IP address” “signaling port”
“gateway type,0=terminal,1=gateway”, for example, gk –add test
123 10.1.1.1 1720 0)
Note: After you reboot the machine, the register information will
disappear.
-delete To delete dynamic endpoint which user added formerly.
(gk –delete “H.323 ID”)
-security enable To enable security check. If this function is enabled, GK
will only accept registration request from endpoints, which
are added with gk –security add command.
-security disable To disable security check.
-security add To add endpoints to register to GK which enable security
check.(gk –security add “H.323 ID”)
-security delete To delete endpoints that added formerly in security check
list.(gk –security delete “H.323 ID”)
5.16 [voice] command
The voice command is associated with the audio setting information. There
are four voice codecs (g.729a optional) supported by VoIP FXO gateway.