|
LanScape Centrex Proxy Server™ - User's Reference |
|
RegistrarThe Centrex Proxy Server® includes integrated registrar capabilities.
Registrar capabilities allow the Centrex Proxy Server® to maintain a list
of "registered" users in your VOIP domain and to route calls
to destinations within your domain. You can think of the registrar capabilities
as maintaining a list of all users that are currently "logged into"
your VOIP domain. Registrar Name: The
registrar function of the Centrex Proxy Server® requires a name. You can
specify any valid SIP user name or unused phone extension in this field. This
setting allows you to specify if your registration database is case sensitive.
If you assign phone numbers to your VOIP domain that consist of only numbers
(extension numbers), you do not have to be concerned with this setting.
If however you allow users to have valid SIP user names that contains
characters, then you can specify case enforcement using this setting. This
values allows you to configure the default registration interval that
will be applied if a SIP user agent registers and does not explicitly
define the registration duration using a SIP "Expires" header
or a SIP "expires" parameter in SIP "Contact" headers. For
most installations, you will want to select this option. When you do,
the registrar database information is maintained in memory. For crash
recovery purposes, the registrar database information is also written
to a recovery file image. This registrar scheme is very fast and is suitable
for most uses. This
setting controls how often the registry database recovery file is updated.
You might want to increase this value to obtain improved registration
performance. This
setting also controls how often the registry database recovery file is
updated. The registry database information will periodically be written
to the recovery file image at this interval (if it has changed). Use database interface: If
you deploy more than one Centrex Proxy Server® and they are being used
to load share the same domain or load sharing multiple related domains,
then you will want to select this setting. Using this setting allows the
registration database to be external to the Centrex Proxy Server® application.
What this means is that two or more Centrex Proxy Servers can share the
same registration database for the same domain. You can also share a single
registration database between multiple related domains. Allows
you to specify and configure a LanScape registrar database driver that
can be used to access your external registration database. This additional
capability is supplied by LanScape as a dynamic Link Library (not included
in the Personal version of the proxy). You must use this setting to specify
the location of this DLL driver. The name of the driver DLL is RegistrarDatabaseDriver.dll. Once
the external database driver DLL is located, you can press this button
to configure your external database settings. When you press this button,
the following dialog will be displayed: Dbq=D:\MyRegistrarDatabase\RegistrarDatabase.mdb; Uid=; Pwd=; Example 2 - Access database on remote machine. Requires a share to be created: Driver={Microsoft Access Driver (*.mdb)}; Dbq=\\DatabaseServer\D\MyRegistrarDatabase\RegistrarDatabase.mdb; Uid=; Pwd=; Example 3 - Access database on remote machine, using IP address. Requires a share to be created: Driver={Microsoft Access Driver (*.mdb)}; Dbq=\\192.168.1.80\D\MyRegistrarDatabase\RegistrarDatabase.mdb; Uid=; Pwd=; Driver={MySQL ODBC 3.51 Driver}; Server=localhost; Database=registrardatabase; User=root; Password=rootpassword; Option=4; Driver={MySQL ODBC 3.51 Driver}; Server=DatabaseServer; Database=registrardatabase; User=root; Password=rootpassword; Option=4; Once you specify your ODBC connect string in the dialog above, you can verify that you can connect to the database by pressing the "Test Connection" button.
Monitor registration database for expired entries: When
this setting is enabled, it allows the Centrex Proxy Server® to remove
all expired registration entries from the user database. This capability
is enabled as a precautionary measure against SIP clients who do not un-register
with the Centrex Proxy Server®. This setting helps to keep database and
memory requirements low. The
Centrex Proxy Server® has the ability to send SIP NOTIFY events to user
who wish to receive them. NOTIFY events are sent to a user when someone
new registers with the VOIP domain or if a user leaves (un-registers)
from the VOIP domain. The NOTIFY events that are sent allows intelligent
SIP clients to maintain a list of who is available for calls. This type
of functionality is termed "presence" information. All LanScape
soft phones support this capability. The SIP user
agent is subscribing to the "user available" event. This SUBSCRIBE sip:Registrar@lanscapecorp.com:7000 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17da23c To: <sip:Registrar@lanscapecorp.com:7000> Call-Id: ad2b9eed-c075-4d02-9707-55c1853a9114-00000498@192.168.1.2 CSeq: 24992323 SUBSCRIBE Expires: 3600 Max-Forwards: 70 Contact: <sip:1244@lanscapecorp.com:7000> User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com) Event: user-available Content-Length: 0 <<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (0 Ms, From: 192.168.1.2:7000) <<<< SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.2:10000;received=192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17da23c To: <sip:Registrar@lanscapecorp.com:7000> Call-ID: ad2b9eed-c075-4d02-9707-55c1853a9114-00000498@192.168.1.2 CSeq: 24992323 SUBSCRIBE User-Agent: LanScape Centrex Proxy/3.40 (www.LanScapeCorp.com) Content-Length: 0 SUBSCRIBE sip:Registrar@lanscapecorp.com:7000 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17da24b To: <sip:Registrar@lanscapecorp.com:7000> Call-Id: 2c705f39-0782-4d7c-94e7-ea2809d07c54-00000498@192.168.1.2 CSeq: 24992338 SUBSCRIBE Expires: 3600 Max-Forwards: 70 Contact: <sip:1244@lanscapecorp.com:7000> User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com) Event: user-unavailable Content-Length: 0 <<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (15 Ms, From: 192.168.1.2:7000) <<<< SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.2:10000;received=192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17da24b To: <sip:Registrar@lanscapecorp.com:7000> Call-ID: 2c705f39-0782-4d7c-94e7-ea2809d07c54-00000498@192.168.1.2 CSeq: 24992338 SUBSCRIBE User-Agent: LanScape Centrex Proxy/3.40 (www.LanScapeCorp.com) Content-Length: 0 Unsubscribing The Centrex Proxy Server® starts to send "user-available" events to inform the user agent about new users. the "param" value of the event header contains a '|' delimited list of information. The first 2 fields are for a single user. Field 1 specifies the SIP user agent name and field 2 is a description. Multiple NOTIFY SIP messages can be sent to a user agent if there are
many registered users. <<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (47 Ms, From: 192.168.1.2:7000) <<<< NOTIFY sip:1244@192.168.1.2:10000 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.2:7000;branch=z9hG4bKf43df9245731c4422d1789454ac3a4912 From: <sip:Registrar@192.168.1.2:7000>;tag=17d5a42 To: <sip:1244@192.168.1.2:10000> Call-ID: 0a11d131-45c4-4cbd-89dc-d7f87afd622c@192.168.1.2 CSeq: 25010748 NOTIFY Contact: <sip:Registrar@192.168.1.2:7000> Event: user-available;param=voicemail|The company voicemail server|1234|Engineering Lab|1235|Ted McGraw|1236|Julie Marx|1237|Sales Department|1238|Tom Anderson|1239|Jack Crenshaw|1244|Temporary Visitor Max-Forwards: 70 User-Agent: LanScape Centrex Proxy/3.40 (www.LanScapeCorp.com) Content-Length: 0 >>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (0 Ms, To: 192.168.1.2:7000) >>>> SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.2:7000;branch=z9hG4bKf43df9245731c4422d1789454ac3a4912 From: <sip:Registrar@192.168.1.2:7000>;tag=17d5a42 To: <sip:1244@192.168.1.2:10000> Call-Id: 0a11d131-45c4-4cbd-89dc-d7f87afd622c@192.168.1.2 CSeq: 25010748 NOTIFY User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com) Content-Length: 0 . The SIP user agent may be logged into the VOIP domain for hours and hours... . . . >>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (8407 Ms, To: 192.168.1.2:7000) >>>> SUBSCRIBE sip:Registrar@lanscapecorp.com:7000 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17de283 To: <sip:Registrar@lanscapecorp.com:7000> Call-Id: 5ed36358-def4-495e-969b-e4e878782025-00000498@192.168.1.2 CSeq: 25007038 SUBSCRIBE Expires: 0 Max-Forwards: 70 Contact: <sip:1244@lanscapecorp.com:7000> User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com) Event: user-available Content-Length: 0 <<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (8407 Ms, From: 192.168.1.2:7000) <<<< SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.2:10000;received=192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17de283 To: <sip:Registrar@lanscapecorp.com:7000> Call-ID: 5ed36358-def4-495e-969b-e4e878782025-00000498@192.168.1.2 CSeq: 25007038 SUBSCRIBE User-Agent: LanScape Centrex Proxy/3.40 (www.LanScapeCorp.com) Content-Length: 0
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (31 Ms, To: 192.168.1.2:7000) >>>> SUBSCRIBE sip:Registrar@lanscapecorp.com:7000 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17de2a2 To: <sip:Registrar@lanscapecorp.com:7000> Call-Id: 867704cb-2579-40fd-8828-833dfdb5c612-00000498@192.168.1.2 CSeq: 25007069 SUBSCRIBE Expires: 0 Max-Forwards: 70 Contact: <sip:1244@lanscapecorp.com:7000> User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com) Event: user-unavailable Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (31 Ms, From: 192.168.1.2:7000) <<<< SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.2:10000;received=192.168.1.2:10000 From: <sip:1244@lanscapecorp.com:7000>;tag=17de2a2 To: <sip:Registrar@lanscapecorp.com:7000> Call-ID: 867704cb-2579-40fd-8828-833dfdb5c612-00000498@192.168.1.2 CSeq: 25007069 SUBSCRIBE User-Agent: LanScape Centrex Proxy/3.40 (www.LanScapeCorp.com) Content-Length: 0 Registrar Event Names: You can change the names of the
"user-available" and "user-unavailable"
notification events described above. If the default names are not suitable,
change them to whatever you require. |