lunes, 20 de septiembre de 2010

Configuración de Gateway Linksys PAP2T


Estimados,

El gateway Linksys PAP2T posee dos puertos FXS para conectar teléfonos analógicos, y un pueto ethernet para conectar el router de Internet. La configuración se realiza por web y aplica para los gateways PAP-NA, SPA2002 y el teléfono IP SPA841.

Consideraciones:

- El equipo debe estar conectado a la misma red de la computadora de trabajo.
- Es necesario saber el IP del equipo para poder acceder a su web desde un browser (IExplorer, Chrome, FireFox, etc.).
- El DNS es 200.48.225.130, usar el de tu servicio de Internet.
- La configuración se hace por páginas: system, sip, provisioning, etc.
- La configuración esta orientada al departamento de Huánuco (062), cambiar al código de tu departamento (dial plan).
- [Usuario Sip 1 o 2] es el usuario de tu cuenta sip 1 o 2.
- [Password Sip 1 o 2] es el password de tu cuenta sip 1 o 2.
- Line 1 tiene la cuenta sip 1 y Line 2 la cuenta sip 2.
- [IP Proxy] Es la direccion IP de nuestro Proxy SIP.

Configuración:


SYSTEM
Dejar en DHCP
DNS 200.48.225.130
DNS2 200.24.191.11

SIP
STUN ENABLE: no
STUN TEST: no
STUN SERVER: stun.zoiper.com:3478

PROVISIONING
Profile Rule: /spa$PSN.cfg

REGIONAL
Dial Tone: 420@-19,420@-19;10(*/0/1+2)
Time Zone: GMT-5
FXS Port Input Gain: 5
FXS Port Output Gain: 0

LINE1 y LINE2
NAT Mapping Enable: yes
NAT Keep Alive Enable: yes
Proxy: [IP Proxy]
Outbound Proxy: [IP Proxy]
Display Name: [Usuario Sip 1 o 2]
Auth ID: [Usuario Sip 1 o 2]
User ID: [Usuario Sip 1 o 2]
Password: [Password 1 o 2]
Three Way Conf Serv: no
Three Way Call Serv: no
Preferred Codec: g723
G723 Enable: yes
G7XX Enable: no

Dial Plan:

(10x|11xx|1[2-8]xxxxxx|<:062>[2-7]xxxxx|<:062>8xxxxx|9xxxxxxxx|01[2-8]xxxxxx|019xxxxxxxx|0[4-8][1-7][2-8]xxxxx|0[4-8][1-7]9xxxxxxxx|00[1-9]xxxxxxxx.)

Idle Polarity: Reverse
Saludos Cordiales,
Equipo de Macros System.

Configuración de Gateway Addpac AP1100B

Estimados,

El Gateway Addpac modelo AP1100B tiene 8 puertos FXS, en los cuales se puede conectar teléfonos analógicos y tiene un puerto ethernet donde se conecta al router de Internet. A continuación se presentará una configuración por línea de comandos para usar nuestro servicio, puedes copiarlo y pegarlo en la consola de tu equipo (en modo de configuración).

Consideraciones:

- La puerta de enlace (IP del router de Internet) es 192.168.1.1
- El IP del gateway Addpac (en el puerto Ether0.0) es 192.168.1.200
- El DNS es 200.48.225.130, usar el DNS de tu servicio de Internet.
- Esta configuración está orientada al departamento de Huánuco (062), cambiar el código según tu departamento (translation-rule 10).
- [Usuario Sip 1 al 8] son los usuarios de tus cuentas sip
- [Password Sip 1 al 8] son los passwords de tus cuentas sip
- Cada puerto FXS tiene una cuenta sip diferente

Configuración:



hostname Rmacross
!
dhcp-list 0 type server
dhcp-list 0 address server 10.10.10.2 10.10.10.126 255.255.255.128
dhcp-list 0 option dns 200.48.225.130
dhcp-list 0 option router-option 10.10.10.1
!
nat-list 0 pat address 192.168.1.200
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.1.200 255.255.255.0
qos-control
!
interface ether1.0
ip address 10.10.10.1 255.255.255.0
qos-control
ip dhcp-group 0
!
!
no arp reset
!
!
route 0.0.0.0 0.0.0.0 192.168.1.1
!
dnshost nameserver 200.48.225.130
dnshost nameserver 200.24.191.11
dnshost nameserver 200.110.24.4
!
!
telnet-access 10.10.10.0 255.255.255.0
telnet-access 192.168.1.0 255.255.255.0
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
timeout tidt 10
static-jitter-buffer 200
busyout monitor gatekeeper
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 0/1
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 0/2
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 0/3
polarity-inverse
caller-id enable
!
! FXS
voice-port 1/0
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 1/1
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 1/2
polarity-inverse
caller-id enable
!
!
! FXS
voice-port 1/3
polarity-inverse
caller-id enable
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern [Usuario Sip1]
port 0/0
user-password [Password Sip1]
!
dial-peer voice 2 pots
destination-pattern [Usuario Sip2]
port 0/1
user-password [Password Sip2]
!
dial-peer voice 3 pots
destination-pattern [Usuario Sip3]
port 0/2
user-password [Password Sip3]
!
dial-peer voice 4 pots
destination-pattern [Usuario Sip4]
port 0/3
user-password [Password Sip4]
!
dial-peer voice 5 pots
destination-pattern [Usuario Sip5]
port 1/0
user-password [Password Sip5]
!
dial-peer voice 6 pots
destination-pattern [Usuario Sip6]
port 1/1
user-password [Password Sip6]
!
dial-peer voice 7 pots
destination-pattern [Usuario Sip7]
port 1/2
user-password [Password Sip7]
!
dial-peer voice 8 pots
destination-pattern [Usuario Sip8]
port 1/3
user-password [Password Sip8]
!
!
! Voip peer configuration.
!
dial-peer voice 11 voip
destination-pattern 10.
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
no vad
!
dial-peer voice 12 voip
destination-pattern 11..
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
no vad
!
dial-peer voice 13 voip
destination-pattern 1[2-4]......
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 120 voip
destination-pattern [2-7].....
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
translate-outgoing called-number 10
no vad
!
dial-peer voice 122 voip
destination-pattern 8.....
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
translate-outgoing called-number 10
no vad
!
dial-peer voice 125 voip
destination-pattern 9........
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 130 voip
destination-pattern 01[2-8]......
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 135 voip
destination-pattern 019........
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 140 voip
destination-pattern 0[4-8][1-7][2-8].....
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 145 voip
destination-pattern 0[4-8][1-7]9........
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
preference 2
no vad
!
dial-peer voice 180 voip
destination-pattern 00[1-9].......T
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
no vad
!
dial-peer voice 190 voip
destination-pattern 1[5-7]......
session target macross.dnsalias.net
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
no vad
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.1.200
!
!
! SIP UA configuration.
!
translation-rule 10
rule 0 2..... 0622.....
rule 1 3..... 0623.....
rule 2 4..... 0624.....
rule 3 5..... 0625.....
rule 4 6..... 0626.....
rule 5 7..... 0627.....
rule 6 8..... 0628.....

!
sip-ua
sip-server macross.dnsalias.net
timeout treg 3600
timeout tregtry 10
timeout texpires 600
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
!
voip-interface ether0.0
!

Saludos Cordiales,

Equipo de Macros System.