Está en la página 1de 14

Configuracin Gateway GSM DinStar DWG2000C-Elastix

Se muestra el paso a paso Les para configurar gateway GSM en elastix usando troncales SIP.
El esquema de red es el siguiente:

Datos:
Servidor Elastix: IP:192.168.1.35 con Servidor de DHCP habilitado.
Gateway GSM: IP: 192.168.1.34 con SIM: 96566016
Computador con 2 Softphone: IP: 192.168.1.33. Anexo en 3CX: 3001 Anexo en Zoiper: 3002

Configuracin de anexos:

En 3CX:

En Zoiper:

CONFIGURACIN ELASTIX
Paso 1:
Se crea una nueva troncal SIP apuntando hacia el Gateway GSM en la ruta
PBX>Troncales>AddTrunk>Add SIP Trunk
Trunk Name: celular_dwg_1
Trunk Name: celular_dwg_1
PEER Details:
host= 192.168.1.34
context=from-trunk
type=peer
insecure=port,invite
Se guardan los cambios (Submit Changes, Apply Configuration)

Paso 2:
Se crea una nueva Ruta Saliente usando el patrn de marcado deseado (en este caso ser con el
prefijo 3 de la siguiente forma 3XXXXXXXXX) apuntando hacia la troncal anteriormente creada
(PBX>Rutas Salientes>Add Route)
Route Name: celular_dwg_1
PIN Set: None
Dial Patterns: 3 - X.
Trunk Sequence: 0 SIP/ celular_dwg_1
Se guardan los cambios (Submit Changes, Apply Configuration)

Antes de configurar la ruta entrante se debe crear un IVR para habilitar las llamadas desde celular
hacia Elastix de la siguiente forma:

Ir a PBX PBX Configuration Grabaciones del Sistema. Usted observar la siguiente


pantalla:

Grabamos un audio que nos enve a dos opciones para los dos anexos.

Desde la extensin 3001 marque *77, usted escuchar un beep, despus de esto grabe su
mensaje y marque # para finalizar.

Acto seguido escuchar la voz de Asterisk indicndole opciones para escuchar el mensaje
o para re grabarlo de nuevo. Si usted est satisfecho con el resultado simplemente
cuelgue.
Despus nombraremos a la grabacin como "bienvenida" y guardamos.

Luego aadimos un IVR

Para crear un IVR debemos ir a PBX PBX Configuration IVR y hacemos clic en
Aadir IVR
Nombramos bienvenida al IVR y configuramos 2 opciones una para cada anexo.
Una vez configurado hacemos clic en guardar y aplicamos los cambios.

Otra alternativa es configurar una cola para habilitar en la ruta entrante de la siguiente forma:
Nombre de la cola: colast01
Agentes fijos: 3001,0
3002,0
Poltica de Ringado: Aleatorio

Una vez configurado hacemos clic en guardar y aplicamos los cambios.

Paso 3:
Se crea una nueva Ruta Entrante para enrutar las llamadas entrantes, en nuestro caso se
enrutarn hacia el IVR Bienvenida o la cola colast01, se usar el CID 96566016 para identificar
las llamadas entrantes (PBX>Rutas Entrantes>Add Incoming Route)
DID Number: 96566016
Set Destination: IVR: Bienvenida
Se guardan los cambios (Submit Changes, Apply Configuration)

CONFIGURACIN GATEWAY DINSTAR DWG2000C


Paso 5:
Se configura la direccin IP Gateway DinStar (Network Configuration>Local network)
Use the following IP address
IP Address: 192.168.1.34
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.35 (Ntese que esta es la direccin IP del servidor Elastix)

Se crea un IP Trunk apuntando hacia nuestro servidor Asterisk (IP Trunk Configuration>IP
Trunk>Add)
Index: 31
IP: 192.168.1.35
Port: 5060
Description: colast01

Paso 6:
Se configura el modo de enrutamiento (Routing Configuration>Routing Parameter)
IP->Tel Parameter: Route calls before manipulation
Tel->IP parameter: Route calls before manipulation

Paso 7:
Se configura el enrutamiento para llamadas desde Celular hacia Elastix (Routing
Configuration>Tel->IP Routing>Add)
Index: 0
Description: default
Source Prefix: any
Source: Port: Any
Destination Prefix: any
Destination: IP: 31

Paso 8:
Se configuran los permisos para las llamadas desde Elastix hacia Celular (Operation>IP->Tel
Operation)
Index: 31
Source Prefix: any
Source IP: IP: 31
Destination Prefix: any
Operation: Allow Call
Description: colast01_out

Paso 9:
Se configuran los permisos para las llamadas desde Celular hacia Elastix (Operation>Tel->IP
Operation)

Index: 31
Source Prefix: any
Source Port: Port: Any
Destination Prefix: any
Operation: Allow Call
Auto Call: Habilitar
Description: colast01_in

Paso 10:
Se configuran las opciones del servicio (System Configuration>Service Parameter)
Local Start RTP Port: 8000
Enable silence suppression: Yes
Call Progress Tone: USA
Preferred Coders: PCMU, PCMA, G729AB, G723.1
Voice Frames per Tx: 2
Do Not Answer GSM incoming Call for Hotline: Yes
Enable GSM Incoming Configuration: Yes
Auto Outgoing Routing Type: Polling
IP to GSM One Stage Dialing: Yes
Answer Delay: 5
Redirect Call When All Ports Busy: No
Play Voice Prompt for GSM incoming Calls: Yes
DTMF Parameter
DTMF Method: RFC2833
RFC2833 Payload Type: 101
DTMF Volume: 0dB
DTMF interval: 200
NAT Transversal: Disable
Other Configuration
Enable Private Service: Yes
User ID is Phone Number: Yes
Only Accept Calls from SIP Server: No
Allow Call from GSM to IP without Registration: Yes
Allow Call from IP to GSM without Registration: Yes
Reject Anonymous call from IP to GSM: No
Use # as End Key: Yes
No Answer TimeOut: 55
Interdigit Timeout: 4
Call Delay: 0

Paso 11:
Se configuran las opciones de la cuenta SIP (System Configuration>SIP Parameter)
SIP Proxy
SIP Server Address: 192.168.1.35
SIP Server Port: 5060
Check Status: No
Outbound Proxy
Outbound Proxy Address:
Outbound Proxy Port: 5060
Is Register: No
DNS Query type: A query
DNS refresh interval: 0
T1: 500
T2: 4000
T4: 5000
TMAX: 32000
Keepalive Interval: 32
Enable 100rel: No
From mode when Caller ID is Available: Tel/Tel
From mode when Caller ID is Unavailable: Username
Answer Mode: Answered

183 Mode: Immediately


Session timer: No

Paso 12:
Se configuran los parmetros de los puertos (System Configuration>Port Parameter>Detail)
All Ports register used same user ID: Yes
SIP User ID:
Authenticate ID:
Authenticate Password:
Local SIP Port: 5060
Tx Gain: +2dB
Rx Gain: +6dB
To VOIP Hotline: 96566016 (Este es el nmero que enviamos a Elastix para la ruta de entreda
To PSTN Hotline:
Auto-Dial Delay Time. 0

Con esto hemos finalizado la configuracin, ahora se reinicia el Gateway y se realizan pruebas de
llamadas entrantes y salientes

También podría gustarte