Registration Related Functions - Snom 4S Administrator's Manual

Sip proxy/registrar version 2.30
Table of Contents

Advertisement

[
S N O M
Example: conv_enum("+49-30-39833-0") returns "0.3.3.8.9.3.0
.3.9.4.e164.arpa".

Registration Related Functions

known
The function known determines if the account name provided as
argument has an assigned username. This is the case if the account has
been set up on the proxy. It is not necessary that the password is set.
Example: known("1234") returns "true"
registered
The function registered is similar to the known function. However,
in this case the proxy checks if at least one registration exists for the
provided account name. That means that it will be possible to proxy a
request to this user.
Example: registered("1234") returns "false"
resolvable_contact
The function resolvable_contact does not take any parameters.
It checks if the contact in the current request can be resolved
from the proxy point of view. If the proxy has a NAT address, this function
will always return true. Otherwise, the proxy will check if the request
contains a Path header and if that is the case, it is assumed that the
contact is resolvable. If this is also not the case, the proxy will return false
if one of the contacts is a private address.
The proxy does not perform DNS resolution to check if a address
is a private address. The primary goal with this function is to avoid stupid
registration attempts from behind NAT so that customers receive a notice
when their network is not setup correctly for handling NAT.
register
The function register takes as parameter an account name. It
registers the contacts provided in the current request with the current
account and sends a success response back to the user agent client.
4 S P
/ R
R O X Y
E G I S T R A R
M
]
A N U A L
snom technology AG • 45

Advertisement

Table of Contents
loading

Table of Contents