[sip – MicroNet Technology SP5001A/S User Manual

Page 76

Advertising
background image

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]

[-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.

-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.

-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 (5060~5070), Default: 5060

-rtp RTP port number (2326~65534), Default: 16384

Example:

sip -mode 1

sip -px 210.59.163.171 -line1 70

Parameter Usage:

-print

Show the SIP current settings

-mode

Select the P2P mode or Proxy mode, 0 = P2P, 1 = Proxy

-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.

-outpx

Set IP Address or URL address (Domain Name Server must be
configured. Please refer to Network Configure) of outbound Proxy
server.

-prefix

when your username contains alphabets, for example sip1123,
then specify the prefix string as “sip”.

-line1

Assign gateway’s line number

-pbsearch

enable/disable phone book search function under Proxy Mode. If

75

Advertising