User`s manual

MediaPack
SIP User's Manual 236 Document #: LTRT-65408
8.11 Proxy or Registrar Registration Example
The REGISTER message is sent to the Registrar’s IP address (if configured) or to the
Proxy’s IP address. The message is sent per gateway or per gateway endpoint according
to the ‘AuthenticationMode’ parameter. Usually the FXS gateways are registered per
gateway port, while FXO gateways send a single registration message, where Username is
used instead of phone number in From/To headers. The registration request is resent
according to the parameter ‘RegistrartionTimeDivider’. For example, if
‘RegistrationTimeDivider = 70’ (%) and Registration Expires time = 3600, the gateway
resends its registration request after 3600 x 70% = 2520 sec. The default value of
‘RegistrartionTimeDivider’ is 50%.
REGISTER sip:servername SIP/2.0
VIA: SIP/2.0/UDP 212.179.22.229;branch=z9hG4bRaC7AU234
From: <sip:101@sipgatewayname>;tag=1c29347
To: <sip:101@sipgatewayname>
Call-ID: 10453@212.179.22.229
Seq: 1 REGISTER
Expires: 3600
Contact: sip:101@212.179.22.229
Content-Length: 0
The ‘servername’ string is defined according to the following rules:
The ‘servername’ is equal to ‘RegistrarName’ if configured. The ‘RegistrarName’ can
be any string.
Otherwise, the ‘servername’ is equal to ‘RegistrarIP’ (either FQDN or numerical IP
address), if configured.
Otherwise the ‘servername’ is equal to ‘ProxyName’ if configured. The ‘ProxyName’
can be any string.
Otherwise the ‘servername’ is equal to ‘ProxyIP’ (either FQDN or numerical IP
address).
The ‘sipgatewayname’ parameter (defined in the ini file or set from the Web browser), can
be any string. Some Proxy servers require that the ‘sipgatewayname’ (in REGISTER
messages) is set equal to the Registrar/Proxy IP address or to the Registrar/Proxy domain
name.