Snom 4S manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Snom 4S. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoSnom 4S vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Snom 4S você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Snom 4S, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Snom 4S deve conte:
- dados técnicos do dispositivo Snom 4S
- nome do fabricante e ano de fabricação do dispositivo Snom 4S
- instruções de utilização, regulação e manutenção do dispositivo Snom 4S
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Snom 4S não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Snom 4S e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Snom na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Snom 4S, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Snom 4S, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Snom 4S. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    snom 4S N AT Filter Admin Man ual snom 4S NAT Filter Version 2.11[...]

  • Página 2

    snom 4S NAT Filter Version 2.11 © 2004-2005 snom technology Aktiengesellschaft. All Rights Reserv ed. This document is supplied by snom technology AG for information purposes only to licensed users of the snom 4S NA T filter and is supplied on an “ AS IS” basis, that is, without any warranties whatsoev er , express or implied. Information in [...]

  • Página 3

    snom technology AG • 3 Table of Contents 1 Overview .......................................................... 5 1.1 Applications ...................................................................... 6 1.2 Features ........................................................................... 6 2 Architecture .......................................[...]

  • Página 4

    4 • Contents [ S N O M 4S NA T F I L T E R ] 4.3.4 Media Ports .............................................................................................................................................................................. 35 4.3.5 Port Budgets ........................................................................................[...]

  • Página 5

    snom technology AG • 5 1 Overview Network address translation (NA T) is a reality today . There have been man y discussions about the evil and the good of this network topol- ogy and the replacement by IP version 6. However , operators and busi - ness want to offer V oIP services today and therefore must address the problem. The snom 4S NA T Filt[...]

  • Página 6

    6 • Overview [ S N O M 4S NA T F I L T E R ] 1.1 Applications The filter can be used in the following scenarios: • Corporations. Corporations which operate their infrastructure be - hind NA T and/or firewalls can talk to the public Internet through the filter . • Operators. Oper ators offer the NA T trav ersal feature to their cus - tomers[...]

  • Página 7

    snom technology AG • 7 [ S N O M 4S NA T F I L T E R ] • Both http and https as web interface for simple access from any- where on the Internet. • The filter supports Inter active Connectivity Establishment (ICE). User agents that support this feature will optimize the media path for the shortest possible delay . • Media relay is establish[...]

  • Página 8

    8 • Overview [ S N O M 4S NA T F I L T E R ] • The first exception is a REGISTER request. When a user agent tries to register and needs the support of the filter , the filter will set up a local data structure representing the user agents. It will make sure that the connection to the user agents stays alive. It will also make sure that reque[...]

  • Página 9

    snom technology AG • 9 2 Architecture 2.1 The NAT Filter and SIP In the SIP architecture, the SBC acts as the first proxy that is contacted by user agents. There are two ways to make sure that the rel- evant tr affic gets routed trough the filter: • User agents can be set up to use the filter as outbound pro xy . When using this method, all[...]

  • Página 10

    10 • Architecture [ S N O M 4S NA T F I L T E R ] to register and needs the support of the SBC, the SBC will set up a local data structure representing the user agents. It will make sure that the connection to the user agents stays alive. It will also make sure that requests destined to the user agents will be forwarded properly . • The second [...]

  • Página 11

    snom technology AG • 11 [ S N O M 4S NA T F I L T E R ] 2.2.1 How does NAT work? NA T is essentially a translation table that maps public IP address and ports combinations to private IP address and port combinations. The translation table is implicitly set up when a packet is sent from the priv ate network to the public network. The association i[...]

  • Página 12

    12 • Architecture [ S N O M 4S NA T F I L T E R ] In SIP it is legal to send from a different port than the receiving port. When this is being done, there is no way of supporting these de- vices behind NA T . However , some phones offer an option that disables this mechanism so that the sending port is the same as the receiving port. T ypically ,[...]

  • Página 13

    snom technology AG • 13 [ S N O M 4S NA T F I L T E R ] devices that have been designed without ha ving NA T in mind. These devices can register only for a short period of time, so that the REG- ISTER messages keep the port association open (the SIP messages are used to keep the port association). Also, these devices need a NA T -aw are media ser[...]

  • Página 14

    14 • Architecture [ S N O M 4S NA T F I L T E R ] When the NA T Filter sees a message that contains information about sending media (session description protocol, SDP), it opens a local globally routable port on behalf of the user agent and patches these mes- sages in a wa y that the destination will send media via this port. The NA T Filter will[...]

  • Página 15

    snom technology AG • 15 [ S N O M 4S NA T F I L T E R ] 2.3 SBC Behaviour 2.3.1 Registering When a user agent registers, it puts its IP address in the top Via. If the user agent is on public Internet or properly supports NA T , this Via will match the perceived IP address. In this case the SBC does not interfere with the registering process and j[...]

  • Página 16

    16 • Architecture [ S N O M 4S NA T F I L T E R ] 0637ced821ef40a3;ua=c9b140ab598290e5bb491e9c3aaca440 Via: SIP/2.0/UDP 203.145.183.113:12975;branch=z9hG4bK- abx3au3mxb01;rport=17401 From: <sip:denny@snomag.de>;tag=k9p6fmeg7h To: <sip:denny@snomag.de>;tag=epuy85kzm5 Call-ID: 3c26701d7cb9-pady07b5783t@203-145-183-113 CSeq: 14 REGISTER [...]

  • Página 17

    snom technology AG • 17 [ S N O M 4S NA T F I L T E R ] simply not programmed to allocate an address properly or because it is behind symmetrical NA T , which makes it impossible to properly allocate this address. In this case, the help of the media SBC will make sure that media will always be deliv ered properly . The media filter supports the [...]

  • Página 18

    18 • Architecture [ S N O M 4S NA T F I L T E R ] a=rtpmap:0 pcmu/8000 a=rtpmap:8 pcma/8000 a=rtpmap:3 gsm/8000 a=rtpmap:18 g729/8000 a=rtpmap:2 g726-32/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=silenceSupp:off - - - - The NA T Filter changes the private address to a globally routable address and inserts the local port. [...]

  • Página 19

    snom technology AG • 19 [ S N O M 4S NA T F I L T E R ] The distribution of user agents to a server is performed using DNS SRV (RFC 2782). This means that you need to list the available serv - ers on DNS level; the user agents must perform DNS SRV look ups and pick one of the servers (possible using the detection algorithms described below). The [...]

  • Página 20

    20 • Architecture [ S N O M 4S NA T F I L T E R ] The snom 4S NA T Filter includes a STUN server that operates on the SIP UDP port. User agents should send their test packets to the SIP port. 2.6 Requirements on User Agents Generally , there are two categories of user agents: The non NA T aware user agents and the STUN/ICE capable user agents. 2.[...]

  • Página 21

    snom technology AG • 21 [ S N O M 4S NA T F I L T E R ] 2.7 Defining the Maximum Session Time There are a couple of timeout -related settings that terminate a call when certain events fire (see below). However , when prepaid cards are being used, operators w ant to limit the call duration to a certain time. The SBC has a mechanism to terminate [...]

  • Página 22

    22 • Architecture [ S N O M 4S NA T F I L T E R ] 2.[...]

  • Página 23

    snom technology AG • 23 3 Installation If y ou want to install the product on your own, this chapter will provide you with the necessary information. 3.1 Windows The Windows v ersion of the NA T Filter comes with an InstallShield application that should make the installation very simple for y ou. Before you start the installation, you might want [...]

  • Página 24

    24 • Installation [ S N O M 4S NA T F I L T E R ] netstat command to check which ports are being used on that machine. Y ou can change the ports later; however you should at least make sure that y ou can access the administration web interface of the NA T Filter with an open port. Also, please make sure that you have the necessary administrator r[...]

  • Página 25

    snom technology AG • 25 [ S N O M 4S NA T F I L T E R ] If you agree to the license agreement, the next screen will ask you to enter the license code and to select the ports of the NA T Filter . The hostnames are a list of host identifications that identify this installation. T ypically , it is the list of DNS FQHN names for the used host. Y ou [...]

  • Página 26

    26 • Installation [ S N O M 4S NA T F I L T E R ] forget the port number , you need to look it up later , using the netstat command. After entering the license information and the port numbers, the InstallShield program will ask you for the installation directory . T ypically it proposes a reasonable directory; however you may change the director[...]

  • Página 27

    snom technology AG • 27 [ S N O M 4S NA T F I L T E R ] may manually start the application using the services manager . The last InstallShield dialog offers you the option to start the NA T Filter . If you choose this option, you don’t have to go to the services manager . T o see the NA T Filter service, go to the Control Panel, select “ Ad -[...]

  • Página 28

    28 • Installation [ S N O M 4S NA T F I L T E R ] 3.2 Linux After you downloaded the RPM from our web site you can either install it via the gr aphical administration frontend of your Linux distribu- tion or you can use the command line interface (CLI). For the gr aphical installation please consult the documentation of your Linux distribution fo[...]

  • Página 29

    snom technology AG • 29 [ S N O M 4S NA T F I L T E R ] this is the first installation of the snom 4S proxy on this host from a RPM package please use the following command to install the software: rpm -ihv snomnatf-2.10.*.rpm If you already installed an older RPM version of the proxy please use the following command instead: rpm -Uhv snomnatf-2[...]

  • Página 30

    30 • Installation [ S N O M 4S NA T F I L T E R ] 3.[...]

  • Página 31

    snom technology AG • 31 4 Configuration 4.1 Logging In First of all, you need to log in to the server (see figure 2). The default login name is “admin” and there is no password set (you should change this if it has not already been done for you). The login creates a session. This session will timeout after a cer - tain time (by default, one[...]

  • Página 32

    32 • Confi gur ation [ S N O M 4S NA T F I L T E R ] For http and https, you need to know the port numbers when y ou want to log in. W e recommend not using the standard ports. Oper ating a server on the public internet usually leads to a lot of denial of service at- tacks on the standard ports. For sip, you must decide if you want to run the se[...]

  • Página 33

    snom technology AG • 33 [ S N O M 4S NA T F I L T E R ] 4.3 System Settings 4.3.1 Logging The Log Level defines the granularity with which messages are written into the log. A log level 0 means that only the most urgent 4.[...]

  • Página 34

    34 • Confi gur ation [ S N O M 4S NA T F I L T E R ] messages are written, a log level of 9 means that all possible log mes- sages are written. If the Log Filename is set, all log messages are also written to the indicated file. If the file name contains a dollar character , the dollar will be replaced with the current date. Using this method,[...]

  • Página 35

    snom technology AG • 35 [ S N O M 4S NA T F I L T E R ] NA T Filter . Because the NA T Filter itself can be operated in a server farm, you can set up a completely redundant server setup . Please see also the list of explicit outbound proxies. 4.3.4 Media Ports The Media Port Begin and Media Port End indicate the range of ports that are used for m[...]

  • Página 36

    36 • Confi gur ation [ S N O M 4S NA T F I L T E R ] The Hide Routing flag will replace route sets with a unique route index when requests or responses are sent to a registered user agent. Via headers are also replaced with one Via header . This feature has sev- eral advantages. First of all, it will reduce the packet size significantly , espe[...]

  • Página 37

    snom technology AG • 37 [ S N O M 4S NA T F I L T E R ] Unfortunately , only a small percentage of existing user agents deal properly with this situation. When y ou turn the flag on, the filter will only let the first 2xx response pass through to the user agent. Subsequent 2xx responses will be blocked by the filter; instead the filter will [...]

  • Página 38

    38 • Confi gur ation [ S N O M 4S NA T F I L T E R ] If you set this variable, the NA T filter will attempt to compress the message until it fits into the size. By default, it will use the short names (e.g. “l” instead of “Content -Length”). If this should not be enough, it will start to remove headers. These headers are: “User-Agent[...]

  • Página 39

    snom technology AG • 39 [ S N O M 4S NA T F I L T E R ] packet. This setting does not only help you in making the packets shorter , it can also help you to keep some parts of the SIP message secret. For example, you might want to remove P-Asserted- Identity headers from all SIP messages, because you don’t want others to see which identities you[...]

  • Página 40

    40 • Confi gur ation [ S N O M 4S NA T F I L T E R ] 4.4 Timeout Settings In contrast to previous v ersions, the time related settings have been summarized on this new management web page. The filter differentiates between registration related settings and call related settings. 4.4.1 Register Timeouts The Refresh Interval for the UA is the num[...]

  • Página 41

    snom technology AG • 41 [ S N O M 4S NA T F I L T E R ] 4.4.2 Call Timeouts Unfortunately , in SIP little attention has been given to the prob- lem of a user agent disconnecting from the network without further no- tification. This situation typically occurs on power failure or system crash or when the Internet connection becomes una vailable. I[...]

  • Página 42

    42 • Confi gur ation [ S N O M 4S NA T F I L T E R ] is not answered after a certain timeout, the filter assumes that the call is over and will not start again. The setting Timeout for Unestablished Calls addresses this problem. Please keep in mind that the ringing phone also falls into this category . Therefore, you should pick a value signi?[...]

  • Página 43

    snom technology AG • 43 [ S N O M 4S NA T F I L T E R ] T o restrict the login, you should set a username („admin“ is the default) and a password. Y ou need to enter the password twice, so that typing mistakes do not block y our NA T Filter . The Session Timeout is the number of seconds after which the NA T Filter web serv er deletes the sess[...]

  • Página 44

    44 • Confi gur ation [ S N O M 4S NA T F I L T E R ] 4.6 Outbound Proxy List In addition to the previously mentioned outbound proxy you may specify a number of dedicated outbound proxies. This feature is typically being used in the following scenarios: • Integration of PSTN gateway . If you set the outbound proxy of the PSTN gateway to the fi[...]

  • Página 45

    snom technology AG • 45 [ S N O M 4S NA T F I L T E R ] The algorithm for searching the outbound proxy is simple. The filter first goes through to the list of outbound proxies and tries to match the hostname in the request-URI of the request to the provided Domain . If it does not find a match, it will take the outbound proxy in the general se[...]

  • Página 46

    46 • Confi gur ation [ S N O M 4S NA T F I L T E R ] 4.9 Trace The NA T Filter keeps a list of the last tr ace entries in memory . Y ou may view this list by selecting the trace link. The handling of the page is similar to the handling of the log page. Each line contains an abstract of the received or sent packet. The Time column shows you when [...]

  • Página 47

    snom technology AG • 47 [ S N O M 4S NA T F I L T E R ] The Source/Destination indicates the IP address where the packet was sent or received. The Header column contains the abstr act. By clicking on the header link, you may see the complete pack et. 4.10 Call History The call history should help you understand what’ s going on on your system. [...]

  • Página 48

    48 • Confi gur ation [ S N O M 4S NA T F I L T E R ] was terminated because the maximum session time has been reached. This time is indicated by the P-Session- Timeout header . 4.11 Current Ports It is important to see which calls are active on the filter . The Current P orts web page lists the calls where the filter performs relaying on media[...]

  • Página 49

    snom technology AG • 49 [ S N O M 4S NA T F I L T E R ] 4.12 Currently Handled UA This table shows the currently handled UA with their SIP URI and their associated IP address. The third column shows the SIP request type that this binding is using. T ypically , this will be a REGISTER or SUBSCRIBE request. User agents may have more than one entry [...]

  • Página 50

    50 • Confi gur ation [ S N O M 4S NA T F I L T E R ] 4.[...]

  • Página 51

    snom technology AG • 51 5. Web Server Integration The SBC can use a web server as application server . This way you can use PHP , ASP and anything you like to implement the logic for your SIP traffic. F or example, if you want to redirect a call to a specific gateway , you can do this easily on the web server . The SBC will just use the results[...]

  • Página 52

    52 • W eb Server Integration [ S N O M 4S NA T F I L T E R ] 5.1 Interface to the Web Server The interface to the web serv er is built upon http. The communi- cation is a request/response protocol. The SBC requests information from the application server , and the application server answers. The reverse communication direction is neither possible[...]

  • Página 53

    snom technology AG • 53 [ S N O M 4S NA T F I L T E R ] • If the packet was already authenticated or internally generated, the further processing of the packet can start. • If the request is a register request and the registration is still valid, the packet forwarded to the further processing. This behaviour can be disabled with the “Challe[...]

  • Página 54

    54 • W eb Server Integration [ S N O M 4S NA T F I L T E R ] correctly . The web requests that the SBC sends to the application server has the following parameters: • The parameter “action” is set to “auth” . By looking at this parameter , the application server can easily find out that it should do a pass - word lookup. • The par am[...]

  • Página 55

    snom technology AG • 55 [ S N O M 4S NA T F I L T E R ] is authenticated. • If realm, username and password are set, the request is regularly processed. Because it is possible to send more than credential with one au - thentication request, the applications server can update passwords that have just been changed. By using this “piggyback” m[...]

  • Página 56

    56 • W eb Server Integration [ S N O M 4S NA T F I L T E R ] • The parameter “explanation” contains the explaining text that is added behind the code in the SIP response. T ypical values are “Ok” or “Not F ound” . • The parameter “contact ” contains the contact that should be re - turned by the registration response. This para[...]

  • Página 57

    snom technology AG • 57 [ S N O M 4S NA T F I L T E R ] • The parameter “to_ua” is set to “true” if the SBC believ es that the call will go to a client endpoint. Note that this may change during the processing of the request. The SBC expects responses with the following parameters (line- encoded like register responses): • The par ame[...]

  • Página 58

    58 • W eb Server Integration [ S N O M 4S NA T F I L T E R ] ter , the From-header will be set to the value that y ou pass here. Please note that requests may loop through sever al SBC. This will typically happen in data centres that use a SBC server farm. In this environment, the application server must be able to handle sever al call initiation[...]

  • Página 59

    snom technology AG • 59 [ S N O M 4S NA T F I L T E R ] Currently , the following reasons are av ailable: • “BYE” means that the call was terminated by a regular BYE mes - sage. • “No 200 Ok” is used when the call did not establish (4xx code or other final error codes). • “OPTIONS” is used when the call was terminated because t[...]

  • Página 60

    60 • W eb Server Integration [ S N O M 4S NA T F I L T E R ] 5.[...]

  • Página 61

    snom technology AG • 61 6. SNMP The simple network management protocol (SNMP) is a widely used protocol for checking what’s going on in your network. When you run the SBC, you probably also want to see statistics about the usage and get alarms when something goes wrong. 6.1 Setup of the SBC The setup of SNMP on the SBC side is very simple. Esse[...]

  • Página 62

    62 • SNMP [ S N O M 4S NA T F I L T E R ] space etc.), the setup is a little bit more difficult that the setup of a stan- dard sensor . A readable parameter is described by its object identifier (OID). The object identifies are described in the next par agraph. Please enter the OID in your tool and select appropriate names for them. Also make [...]

  • Página 63

    snom technology AG • 63 [ S N O M 4S NA T F I L T E R ] F or the SIP packets, the SBC measure only the received pack ets. It measures the number of packets as well as the total number of bytes received on the SBC SIP ports. The information does not include IP header like the UDP header . The number of successful and unsuccessful calls is incremen[...]

  • Página 64

    64 • SNMP [ S N O M 4S NA T F I L T E R ] 6.[...]

  • Página 65

    snom technology AG • 65 7 Checklist for Installation When snom or one of their partners perform the installation for you, the following information is necessary: 6.1 Linux • Please provide secure shell login to the system that can be ac- cessed at least from the snom.com host (currently at IP address 217.115.141.99). • Please tell us the logi[...]

  • Página 66

    66 • Checklist for Installation [ S N O M 4S NA T F I L T E R ] tion tool. • Please tell us the login address (host and port), user name and password. W e need administr ative rights on that host. • Please tell us for which domains you plan to use the server . Please also tell us where you want to process the requests (which outbound proxy to[...]

  • Página 67

    Reader‘s Feedback snom technology AG welcomes y our evaluation of this manual and any sugges- tions you may have. These help us to improv e the quality and usefulness of our documentation. Please send your comments and suggestions to: snom technology AG Attention: Marketing Department Pascalstr . 10B, 10587 Berlin, Germany F ax: +49 (30) 39833-11[...]

  • Página 68

    © 2004-2005 snom technology AG All rights reserved. snom technology Aktiengesellschaft Gradestr . 46, 12347 Berlin, Germany Phone: +49 (30) 39833-0 mailto:info@snom.com http://www .snom.com sip:info@snom.com[...]