manual voipswitch

25
2.1 Configuracion Inicial La configuración inicial VoipSwitch servidor se debe realizar utilizando la aplicación VoipSwitch Manager (VSM) – Tiendas VoipSwitch ajustes en varios lugares, incluyendo las siguientes: base de datos, del Registro de Windows, aplicación xml, por ejemplo, voipswitch_config.xml. Windows registry settings are overwritten by the voipswitch_config.xml file located in the folder: c:\Program Files (x86)\VoipSwitch\VoipSwitch 2.0 El proceso de configuración inicial requiere la creación de los siguientes: . Database connection VoipSwitch settings VoipSwitch listeners

Upload: int-ingenieria-consultoria

Post on 12-Apr-2015

133 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Manual Voipswitch

2.1 Configuracion InicialLa configuración inicial VoipSwitch servidor se debe realizar utilizando la aplicación VoipSwitch Manager (VSM) – Tiendas VoipSwitch ajustes en varios lugares, incluyendo las siguientes:

base de datos,

del Registro de Windows,

aplicación xml, por ejemplo, voipswitch_config.xml.

Windows registry settings are overwritten by the voipswitch_config.xml file located in the folder: c:\Program Files (x86)\VoipSwitch\VoipSwitch 2.0

El proceso de configuración inicial requiere la creación de los siguientes:

. Database connection

VoipSwitch settings

VoipSwitch listeners

Page 2: Manual Voipswitch
Page 3: Manual Voipswitch

Main settings

Call settings Default Description

Limit ring time

Maximum ring time in seconds:

[30]Tiempo máximo de timbrado en segundos después de que una llamada puede ser tanto desviado hacia otro destino (de acuerdo con el plan de marcación) o Reglas de contestador se activará.

Use media timeout

Choose media timeout value in seconds:

[20]permite interrumpir una llamada, si una de las partes que llaman deja de enviar paquetes de medios. Esta opción no se utiliza para las versiones VoipSwitch superiores a 985,130.

Refuse connection when destination rate is higher than client rate

impide conectar las llamadas si el prefijo de destino tarifa de voz es más alta que la tasa del cliente. Esta opción puede prevenir en contra de calcular un ingreso negativo para las llamadas.

Limit call duration

Maximum call duration in minutes:

[59]

define la duración de la llamada máxima expresada en minutos después del cual la llamada será interrumpida y se dejó caer por VoipSwitch. Puede prevenir algunas situaciones al azar cuando la llamada no ha sido terminada por ambos lados.

Limit number of hops (re-routing policy)

Maximum number of hops:

[-1]

permite cambiar el plan de marcación política reencaminamiento mediante la limitación del número de saltos efectuados si la llamada no se pueden conectar a destinos consecutivos. Por defecto es ilimitado y todos los prefijos coincidan definidas en el plan de marcación se utilizan.

Guest account: -- not used --

permite que las llamadas desde los dispositivos no autorizados. La cuenta utilizada para autorizar las llamadas por defecto cuando la llamada entrante no está autorizada ninguna cuenta de otro cliente. Sin esta opción en todas las llamadas no autorizadas son rechazadas.

Authorization Defaultvalue

Description

Page 4: Manual Voipswitch

Authorize incoming calls

permite la autorización de todas las llamadas que llegan al servidor.

(para uso futuro - VoipSwitch como un proxy o un convertidor de protocolo)

Users can log by IP number

permite a los clientes mayoristas a ser reconocidos por dirección IP.

Authorize by ANI (Calling Party Number)

opción global (usar con cuidado) que permite a todos los clientes que se autorizó por primera vez por ANI / CLI.

Use custom password policy for web access

permite a los clientes tener una contraseña diferente para el dispositivo y el acceso a la web del portal.

Defaultvalue

Description

Use retail clients permite a los clientes al por menor autorización llamadas.

Use resellersactiva la función de los revendedores para calcular los costos de revendedores para las llamadas de sus clientes.

Use new codecs not used, must be ticketed by default.

Use time spans in DP enables the time spans feature in dialing plan.

Use load balancing enables the load balancing feature in dialing plan.

Use tariff plans enables the tariff plans feature.

RTP start port: [6000]defines the starting local UDP port used to send voice media (RTP) packets from.

Page 5: Manual Voipswitch

2.1.1.2 Failed callsPor defecto VoipSwitch no guarda las llamadas fallidas para los eventos siguientes.

Se ha diseñado de esta manera para evitar el recuento de dichas llamadas para las estadísticas generales, como por ejemplo ASR. Esta opción también ayuda a evitar que la tabla de base de datos callsfailed crezcan demasiado rápidamente.

Por favor, seleccione algunas opciones sólo cuando se requiere en su configuración de servicio.

There was no destination in dialing plan Client had no money Destination was offline Limit was reached Dialed number was disabled There was no tariff Source and destination have no same codecs

Page 6: Manual Voipswitch

There was no destination in dialing plan

Page 7: Manual Voipswitch

Client had no money

 Destination was offline

Limit was reached

Page 8: Manual Voipswitch

Dialed number was disabled

There was no tariff

Source and destination have no same codecs

2.1.1.3 Rerouting and ending calls

Page 9: Manual Voipswitch

2.1.1.4 Active calls recording

Save active calls in DB

Esta opción permite VoipSwitch para guardar la información de llamadas activas a la tabla de base de datos adicional: currentcalls, que es utilizado por otros módulos.

Required for the active calls option in VSR, VSR, PBX-Calls monitor and VSPortal Callshop module.

Las siguientes opciones sólo son utilizados por la aplicación de monitorización de las llamadas:

Active calls - ringing state Active calls - dialing state Active calls - connected state

2.1.1.5 Cluster configuration

Esta opción sólo se utiliza cuando voipswitches varios usuarios trabajan como un grupo conectado a una base de datos común. En tal caso, cada VoipSwitch debe tener un conjunto único de identificación.

Page 10: Manual Voipswitch

2.1.2 VoipSwitch listeners

The whole procedure is described in detail in the video tutorial VSM - Settings and Listeners Configuration

Primero abrir el VoipSwitch Manager haciendo clic en el botón Inicio y, a continuación, abra Todos los programas, y abra la carpeta VoipSwitch. A continuación, seleccione Voipswitch Manager. A continuación expanda el elemento de menú Configuración y seleccione VoipSwitch. Se abrirá el módulo de configuración VoipSwitch Hay 5 pestañas: Echemos un vistazo a cada uno de ellos. Tenemos que configurar una serie de campos de esta ficha. Compruebe el anillo

Límite casilla de hora Y establecer el límite de anillo tiempo máximo en segundos a 30 segundos Este valor debe estar configurado para configurar el evento Respuesta NO en respuesta reglasLa opción Usar los medios de comunicación Tiempo de espera Establece el tiempo en segundos para desconectar la llamada si una de las partes que llaman deja de enviar paquetes de medios. El valor predeterminado es de 20 segundos.Si el "Rechazar conexión cuando la tasa de destino es mayor que una velocidad de cliente" se comprueba que impide la conexión de llamadas con una ganancia negativa.El llamado límite de duración casilla necesita ser comprobada. Esto define la duración de la llamada en minutos máximo después de lo cual cada llamada se desconectará por VoipSwitch. Previene algunos casos aleatorios cuando la llamada no ha sido terminada por ambos lados. Puede establecer este a 60 minutos.El límite en el número de casilla lúpulo necesita ser comprobada. Esto limita el número de intentos de reencaminamiento para hacer coincidir los prefijos en el plan de marcación. Establecer el número de saltos a 5.

La siguiente pestaña se falla llamadas. Deje en blanco las entradas. VoipSwitch no guarda las llamadas fallidas por defecto para los eventos siguientes.

La siguiente pestaña se desvío y finalizar llamadas. Deje esta intacta.

Vaya a la pestaña de grabación llamadas activas. Compruebe las llamadas activas guardar en la caja de DB. Esto es necesario para la opción de llamadas activo en VSR, VSC, llamadas Monitor y los módulos de locutorio VSPortal. Asegúrese de que las llamadas activas conectadas estado está activada. Esta opción y los otros sólo son utilizados por la aplicación Monitor de llamadas.

La siguiente pestaña es para configuración de clúster. Deje esta intacto y haga clic en Guardar cambios. A continuación, haga clic en Aceptar.Para configurar los oyentes VSM, expanda el elemento de menú y vaya al SIP.El módulo tiene dos fichas: Configuración SIP principales y oyentes.En la ficha Principal SIP Settings VoipSwitch entrar en el campo reino. A continuación, vaya a la pestaña de Listeners.Aquí es donde se puede editar y añadir las direcciones IP.Desde la ventana de SIP disponibles oyentes, seleccione la dirección IP de la lista y haga clic en el botón de flecha Derecha. La dirección IP se desplaza a la ventana seleccionada direcciones.Puede modificar el protocolo tcp o udp. En general, el protocolo UDP está seleccionado.Puede agregar y IP adicional en la lista disponible al resaltar la dirección IP de la lista y hacer clic en la flecha derecha. Se puede seleccionar un protocolo diferente para una IP. Resalte la IP que desea editar y seleccione el protocolo - en este caso tcp.

Page 11: Manual Voipswitch

Haga lo mismo para Registrador de abajo. Seleccione la IP de la lista disponible y pulse la flecha derecha. Seleccione el protocolo. De nuevo, si usted desea agregar una dirección IP adicional, seleccione la IP de la lista disponible y haga clic en la flecha derecha. Y de nuevo, seleccione el protocolo.Cuando haya terminado su selección, haga clic en Guardar cambios y haga clic en Aceptar.

Luego vaya a la página de H323. La página se divide en dos mitades: H323 oyentes, y Gatekeeper.Seleccione la IP H323 oyentes y haga clic en la flecha izquierda. Los movimientos de la dirección IP al ordenador disponible ventana direcciones.Haga lo mismo con Gatekeeper. Resalte la dirección y haga clic en la flecha izquierda. La dirección IP se muestra en la ventana de direcciones de ordenador disponible.Haga clic en Guardar cambios y en Aceptar.Las direcciones IP se puede ver en el módulo de devolución de llamada, y el módulo de Callshop.Cierre el Administrador de VoipSwitch.

Abra la aplicación VoipSwitch haciendo clic en el botón Inicio y, a todos los programas. Abra la carpeta VoipSwitch, y empezar a VoipSwitch. En la ventana de registros de abajo podemos ver la conexión a la base de datos ha sido establecida. También podemos ver que el oyente SIP ha comenzado.Cierre la aplicación VoipSwitch

2.2 Clients configuration

En general el procesamiento del flujo de llamada VoipSwitch de un cliente a un destino a través del Plan de Marcación. Cada llamada que viene a VoipSwitch está autorizada antes de la transformación y se asigna a una cuenta de cliente determinado.

Cuentas de los clientes son diferentes en sus funciones, el método de opciones de autorización y disposición. Algunas de las características son comunes para todo tipo de clientes.

Client types and authorization methodsClients Authorization Description

Wholesale clients

IP Auth. Prefix H323 ID

utiliza sobre todo para los transportistas en los servicios mayoristas, cabinas de locutorio y para autorizar números DID se utiliza para:• activar una devolución de llamada• llamar a los escenarios de IVR• llamar a los clientes minoristas y cobrarles para las llamadas entrantes(anteriormente llamado gateway / gw clientes)

Page 12: Manual Voipswitch

Retail clients

Login&password

PIN (password)Caller ID (ANI)

(previously called common clients) mainly used for ip phone devices, ATA's and software dialers in retail services, could be used for PINs and recharge PINs in calling cards and callback services

PBX clients Login&passwordused as PBX admin accounts to maintain multi-tenant PBX configurations

PBX sub-accounts

Login&password PBX end-users belonging to the same company

CallShop clients

Login&passwordused for callshop services as main callshop owner accounts which control their cabins

CallBack clients

Login&password

Caller ID (ANI)used only for ANI callback services

IVR clientsPIN (password)Caller ID (ANI)

used as PINs in calling cards and callback services

Características ComunesLogin/password

Calls limit

Codecs

Prefixes

Currency (dinero, moneda)

Tariff (tarifa)

Remaining funds (balance)

Personal data

See more in the VSM manual chapter: 1.2.1.1 Features common for most client types

Adding a client

Los clientes pueden ser agregados y configurados usando el VoipSwitch Manager (VSM), web VoipSwitch Config (VSC) or by a reseller through the VSR web module.In addition an automatic sign-up (client registration) is available through the Portal and OnlineShop modules.Below there are links to video tutorials which show how to add clients in VSM:

Page 13: Manual Voipswitch

VSM - Adding new clients VSM - Adding wholesale clients PBX - New PBX account using VSM

2.3 Destination endpoints configuration

En General el proceso de Flujo de Llamada es de un cliente a un destino a través del dialing Plan (plan maestro de numeración)

Existen los siguientes tipos de destino disponibles para la configuración:

Destination Description

Gatewaysa termination, carrier side, supplier where calls are sent based on provided ip or dns address

GK/Registrara termination, carrier side, supplier where calls are sent based on provided ip or dns address however this end point must be registered with login/password.

Retail clientsused for routing calls to the clients registered to the same voipswitch server or cluster.

Enum routesDNS server which changes the number to SIP/H323 URI (address) of the number's owner. The most known enum route are e164.arpa and e164.org

Lookups a customized database query

Callback routes triggers callback calls

VoipBox IVR module for providing voice messages and predefined call scenarios.

Groups (of Retail clients)

Hunt groups of Retail clients

Destinations should be configured before the Dialing Plan setup so they will be available for selection in the Dialing Plan.

Each Destination type is described in details at the VSM manual: 1.2.3 Destinations chapter

2.4 Working with the dialing plan

Working with the Dialing Plan is fully described in the VSM Manual, in the chapter 1.2.4 Dialing plan.

Page 14: Manual Voipswitch

The subsections below expand on the description from the VSM manual.

2.4.1 Call flow 2.4.2 Route types 2.4.3 Failover 2.4.4 Load sharing (balancing) 2.4.5 Least call routing (LCR) 2.4.6 Calling among users 2.4.7 Routing based on CLI

2.4.1 Call flow

The general call flow processing is from a Client to a Destination through the Dialing Plan.

1. Una llamada entrante está autorizado en contra de toda configuración de los clientes (Fig. 1)

2. The maximum call duration is calculated based on the destination number and the authorized client tariff. (Fig. 2)

3. Routing - looking for the best match in the Dialing plan. (Fig. 3)4. The call is sent to the destination endpoint. (Fig. 4)

2.4.2 Route types

Route types are the same as the destination endpoints described in the section:2.3 Destination endpoints configuration

Gateways a termination, carrier side, supplier where calls are sent based on provided ip or dns address

GK/Registrar a termination, carrier side, supplier where calls are sent based on provided ip or dns address; however, this end point must be registered with a login/password.

Retail clients used for routing calls to the clients registered to the same voipswitch server or cluster.

Enum routes DNS server which changes the number to SIP/H323 URI (address) of the number's owner. The most known enum routes are e164.arpa and e164.org

Lookups customized database query

Callback routes triggers callback calls

VoipBox IVR module for providing voice messages and predefined call scenarios.

Page 15: Manual Voipswitch

Groups (of Retail clients) Hunt groups of Retail clients

2.4.3 Failover

Maximization of the calls completion ratio (ASR) is one of the most important factors in every VoIP deployment. To accomplish this one should secure supplies of the voice termination by arranging contracts with multiple carriers instead of relying on one source only. Voipswitch can work with multiple carriers (gteways/gatekeepers) for each destination, actually there is no limits in number of routes defined for particular code. To specify which route should be taken as first we should use priorities. This parameter can be found in the dialing plan. When adding the first entry for given code, for example 44 like in the picture below, the priority will be set by default to 0. When adding another entry in the dialing plan with the same code (i.e. 44), the priority will change to 1. When adding next it will change to 2 and so on. At any moment we can manually change the priorities and thus the routes order. Just we have to take care of that the priorities differ with each other. If we set the same priorities voipswitch will pick only one route (the first in the database) and will ignore the second with the same priority, unless we enable "balance share" option which is described in the scenario below.

The failover procedure starts with voipswitch trying to send a call to the route with priority 0 (or any other number which is highest for given "phone number"). When the remote endpoint has responded with error code or has not responded at all, voipswitch immediately starts trying next route. The whole process lasts untill the call is connected or the last entry with lowest priority failed, only then the release code is sent to the client. For the client there is no indication which route the call has been sent through.

In addition we can define on which release codes sent from destinations voipswitch should continue failover procedure and on which not. We can select any SIP or H323 end codes and exclude them from failover (see:.....).

Note: Voipswitch automatically performs failover procedures when there is higher (less detailed) code (phone number) defined in the dialing plan. For example if we have an entry for 44 ("phone number" field) and another entry for more general code 4, voipswitch will be re-trying always when the route for 44 fails. To avoid this use "special properties" selector (in the dialing plan) and choose "do not jump" option. It will cause that voipswitch stops on this route.

Configuration procedure:

The scenario can be implemented for any type of client and any type of destination (both gateways and gatekeepers/sip registrars are supported). About adding clients and termination endpoints in wholesale scenarios see above scenarios and related configuration procedures.

Page 16: Manual Voipswitch

Go to the dialing plan, add routes that will share the traffic, specify the "phone number", the same for each route, for example country or area code, like 44 in the example above.

For each of the newly created entries in the dialing plan (routes) set different priority, for example start with 0 which is the highest priority and then for subsequent routes 1, 2..

2.4.4 Load sharing (balancing)

Load sharing is a functionality enabling controlled traffic distribution among different endpoints (gateways/gatekeepers or carriers). A balance share value can be assigned to each route, which represents the percentage of the total traffic sent to a given destination. Voipswitch will control the incoming traffic and use a sophisticated algorithm to achieve the distribution closest to the projected. For example if we set even distribution 33% per each of three gateways handling calls to, for example, the UK (44 country code), the voipswitch will direct the incoming calls to defined routes so that when at any moment we run a report we should see that the exact (or very close to it) number of calls has been sent through each route. Note that all priorities are the same for each route included in the load balancing; this is because in this scenario each route shares the same level of importance (same quality or same price etc.).

There are no limits to the number of sections utilizing the load sharing functionality. For example, there can be different groups for UK traffic, for the US and so on.

Configuration procedure:

1. The scenario can be implemented for any type of client and any type of destination (both gateways and gatekeepers/sip registrars are supported). See above scenarios and related configuration procedures for information on adding clients and termination endpoints in wholesale scenarios.2. Go to the dialing plan, add routes that will share the traffic, specify the "phone number", the same for each route, for example country or area code, like 44 in the example above.3. For each of the newly created entries in the dialing plan (routes) set the same priority, for example 0, which is the highest priority but it can also be any of the lower priorities if you want the group to take the overflow traffic (failing from the routes with the higher priority).4. Set the "balance share" parameter for each route. This is the percentage of the total traffic. The total percentage, if you sum the values, should equal 100%.

2.4.5 Least call routing (LCR)

One of the purposes of the traffic failover functionality, described earlier, is to maximize profits by sending calls first to carriers with the lowest price (which often goes in pair with lower quality) and then in case of failure tries other routes with worse pricing. This however requires us to change the priorities depending on the changes in carrier's rates sheets. The process quickly becomes complicated as we have to compare rates for the interesting us routes, pick the cheapest and change the dialing plan. The Least Call Routing (LCR) mechanism is intended to help us. Its task is to check the cost

Page 17: Manual Voipswitch

tariffs assigned to the carriers that belong to LCR group and compare their rates. This is performed every defined interval. When the rate has changed it is reflected in the dialing plan - the LCR service changes priorities and thus changes the failover sequence. What is left to us is only to upload new rates sheet when it comes from carrier.

2.5 Main scenarios configuration

2.5.2 Retail SIP services 2.5.3 Calling cards 2.5.4 Callback services 2.5.5 Fax server setup 2.5.6 SMS configuration

2.5.2 Retail SIP services

Usando Voipswitch Platform, un proveedor de servicios puede fácilmente desarrollar toda una gama de servicios minoristas para residencial y clientes de negocios (Fig. 1, 2). Clientes Minoristas pueden hacer y recibir llamadas con SIP device o softphone (including mobile softphones). La misma cuenta se puede utilizar con tarjetas de llamadas y servicios callbacks asi como la contraseña es también el número PIN.Los números de teléfono virtuales es un servicio que permite a los clientes a alcanzar directamente en sus propios números de teléfono de los abonados de otras redes, incluyendo PSTN - líneas regulares de telecomunicaciones.VoipSwitch has integrated major DID providers’ APIs allowing to offer virtual numbers to end users using Customer Portal.

Making/receiving calls from SIP adapaters

Virtual numbers DIDs

configuring DID providers, configuring web, defining pricelist local DIDs

*free DIDs e.g. free E164 numbers

Llamadas gratis entre usuarios

using DIDs (dids numbers rates set to 0 in users tariff) using Logins

Calling using ENUM

Allowing anonymous inbound calls

(e.g. calls from other providers, E164 internet numbering plan)

Auto-provisioning - remote configuration

Page 18: Manual Voipswitch

2.5.3 Calling cards

Page 19: Manual Voipswitch
Page 20: Manual Voipswitch