
6.13. [sip]
This command is to configure SIP related parameters.
usr/config$ sip
SIP stack information and configuration
Usage:
sip [-print] [-mode pxmode] [-outpx IPaddmress][-transport type]
sip [-px address] [-px2 address] [-pxport number] [-prefix prefixstring]
[-line1 number] [-line2 number] [-line3 number] [-line4 number]
[-expire t1] [-port udpPort] [-rtp rtpPort]
sip -print
-print Display SIP stack information and configuration.
-mode Configure as Peer-to-Peer mode:0/Proxy mode:1/Gateway mode:2.
-px Primary Proxy server address. (IPv4 address or dns name)
-px2 Secondary Proxy server address. (IPv4 address or dns name)
-pxport Proxy server port. (the port of proxy)
-outpx OutBound Proxy server address. (IPv4 address or dns name)
-prefix Specify prefix string, use it when UserID contains alphabets
(if UserID uses numerals, specify as null)
-line1 TEL1 Phone number.
-line2 TEL2 Phone number.
-line3 TEL3 Phone number.
-line4 TEL4 Phone number.
-pbsearch Search phone book 0:off/1:on.
-expire The relative time after which the message expires(0 ~ (2^31-1))
-port SIP local UDP port number (2326~5070), Default: 5060
-rtp RTP port number (2326~65534), Default: 16384
Example:
sip -mode 1
sip -px 210.59.163.171 -line1 70 -line2 71 -line3 72 -line4 73
Parameter Usage:
-print
Show the SIP current settings
-mode
Select the P2P, Proxy or Gateway mode, 0 = P2P, 1 = Proxy,
2 = Gateway.
-px
To specify Proxy address when FXS Gateway is in proxy mode.
Proxy address can be IPv4 address or DNS name.
-px2
To specify Secondary Proxy server address.
-pxport
To configure proxy server signaling port, default value is 5060, if
there is no special request of Proxy server, please don’t change
this value.
71
Kommentare zu diesen Handbüchern