Troncal con ROUTER CISCO 2801/2811

Status
Cerrado para nuevas respuestas.

Javier Sánchez

Registrado
20 May 2019
Mensajes
7
Hola a todos

Solicito de su apoyo
Tengo un cliente con un router 2801 que trabaja con Issabel lo estoy migrando a 3CX pero me enfrento a varios problemas el principal es que no entran las llamadas a mi PBX 3CX pero si salen las llamadas espero que me puedan ayudar esta es la información de router cisco 2801


Building configuration...
Current configuration : 6251 bytes
!
! Last configuration change at 17:53:03 UTC Mon May 20 2019
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
!
!
!
ip cef
ip domain name ghz.mx
ip name-server 192.168.0.2
ip name-server 10.200.20.1
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice service voip
ip address trusted list
ipv4 10.200.20.8
ipv4 10.200.20.1
ipv4 0.0.0.0 0.0.0.0
ipv4 192.168.0.1
dtmf-interworking rtp-nte
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h450.2
no supplementary-service h450.3
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 2 hs-redundancy 0 fallback none
h323
emptycapability
h225 start-h245 on-connect
h225 h245-address on-connect
h225 id-passthru
session transport udp
h245 tunnel disable
h245 passthru tcsnonstd-passthru
modem passthrough nse codec g711ulaw
sip
session transport tcp
rel1xx disable
registrar server
early-offer forced
midcall-signaling passthru
no call service stop
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
codec preference 4 g729br8
codec preference 5 g728
!
!
voice hunt-group 1 parallel
final 2000
list 3100,3101,3102,3103
timeout 20
pilot 3110
!
!
voice hunt-group 2 sequential
final 3100
list 3100,3101,3102,3103
timeout 20
pilot 3120
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2801 sn FTX1120Z0U9
username grupohzone privilege 15 secret 5 $1$23g3$gdthhjPj4rtLnkgIquJ/l1
!
redundancy
!
!
ip ssh time-out 30
ip ssh version 2
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.200.20.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip default-gateway 10.200.20.1
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
voice-port 0/0/0
supervisory disconnect dualtone mid-call
echo-cancel coverage 32
non-linear comfort-noise attenuation 0db
no vad
no comfort-noise
cptone MX
timeouts interdigit 3
timeouts call-disconnect 5
timeouts ringing 30
timeouts wait-release 2
timing hookflash-out 50
timing sup-disconnect 250
connection plar 3120
description "TotalPlay"
station-id number 7773332626
caller-id enable
!
voice-port 0/0/1
supervisory disconnect dualtone mid-call
no battery-reversal
echo-cancel coverage 32
non-linear comfort-noise attenuation 0db
no vad
no comfort-noise
cptone MX
timeouts interdigit 3
timeouts call-disconnect 5
timeouts ringing 30
timeouts wait-release 2
timing hookflash-out 50
timing sup-disconnect 250
connection plar 8002
description "total"
station-id number 3332626
caller-id enable
!
voice-port 0/0/2
description FXO
!
voice-port 0/0/3
description FXO
!
voice-port 0/1/0
timeouts call-disconnect 5
timing hookflash-in 500 150
description OFICINA 1 FXS 0
station-id name fxs CISCO-3100
station-id number 3100
caller-id enable
!
voice-port 0/1/1
timeouts call-disconnect 5
timing hookflash-in 500 150
description OFICINA 1 FXS 1
station-id name fxs CISCO-3101
station-id number 3101
caller-id enable
!
voice-port 0/1/2
timeouts call-disconnect 5
timing hookflash-in 500 150
description OFICINA 2 FXS 2
station-id name fxs CISCO-3102
station-id number 3102
caller-id enable
!
voice-port 0/1/3
timeouts call-disconnect 5
timing hookflash-in 500 150
description OFICINA 3 FXS 3
station-id name fxs CISCO-3103
station-id number 3103
!
!
!
mgcp profile default
!
!
dspfarm profile 2 transcode
associate application SCCP
shutdown
!
dspfarm profile 1 transcode
associate application SCCP
shutdown

!
dial-peer voice 3100 pots
description Extension Anologica Router 3100
destination-pattern 3100
port 0/1/0
!
dial-peer voice 3101 pots
description Extension Anologica Router 3101
destination-pattern 3101
port 0/1/1
!
dial-peer voice 3102 pots
description Extension Anologica Router 3102
destination-pattern 3102
port 0/1/2
!
dial-peer voice 3103 pots
description Extension Anologica Router 3103
destination-pattern 3103
port 0/1/3
!!!!!!!!!!!!!!!!!!!DIAL PLAN para llamadas al pstn !!!!!!!!!!!!!!!!!!!!!!!
dial-peer voice 60 pots
description LLAMADAS FIJOS
destination-pattern [2-8]......
incoming called-number .
no digit-strip
direct-inward-dial
port 0/0/0
forward-digits 7
!
dial-peer voice 61 pots
description LOCAL-10
destination-pattern [2-8]........
incoming called-number .
no digit-strip
direct-inward-dial
port 0/0/0
forward-digits 10
!
dial-peer voice 62 pots
description CELULAR-LOCAL
destination-pattern 04[4-5]T
port 0/0/0
forward-digits 13
!
dial-peer voice 63 pots
description LARGA DISTANCIA-12
destination-pattern 01T
incoming called-number .
no digit-strip
direct-inward-dial
port 0/0/0
forward-digits 12
!
dial-peer voice 64 pots
description FREE-01800
destination-pattern 01800T
port 0/0/0
forward-digits 12
!!!!!!!!!!!!!!!!!!! TRONCAL SIP PARA INTRODUCIR LLAMADAS A 3CX !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dial-peer voice 20 voip
description **3CX EXTENSIONES SIP**
destination-pattern 3... ------- INDICA LA RUTA SIP PARA MIS EXTENSIONES DE 3CX ---------
session protocol sipv2
session target ipv4:10.200.20.8
voice-class codec 1
dtmf-relay rtp-nte
no vad
!!!!!!!!!!!!!!!!!!!! TRONCAL SIP PARA INTRODUCIR LLAMADAS A 3CX AL IVR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dial-peer voice 21 voip
description **LLAMADAS ENTRANTES AL IVR**
destination-pattern 8...
session protocol sipv2
session target ipv4:10.200.20.8
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!AUTENTIFICA TRONCAL EN 3CX!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
sip-ua
credentials username 10001 password 7 040B2F2925394279313C24 realm voip.ghz.mx
authentication username 10001 password 7 101E2D362F0F1C3C34210B
no remote-party-id
retry invite 2
retry register 10
retry options 2
timers connect 100
registrar ipv4:10.200.20.8:5060 expires 3600 auth-realm voip.ghz.mx
sip-server ipv4:10.200.20.8:5060
host-registrar
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
end



troncal-2811-png.662
662-a555ba387376690b91f00e830d6c0fbf.jpg


Añadí un gateway analógico desde 3CX y registro adecuadamente con la configuración de sip-ua



Las llamadas salientes funcionan bien
Pero al tratar de llamar a mi 3CX de las extensiones analógicas no son permitidas me manda el siguiente error el router desde el debugging

*May 20 18:10:36.331: //290/63A7E97D8036/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x6A624D28
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 3100
Called Number : 8001
Source IP Address (Sig ): 10.200.20.254
Destn SIP Req Addr:Port : 10.200.20.8:5060
Destn SIP Resp Addr:Port : 10.200.20.8:5060
Destination Name : 10.200.20.8
*May 20 18:10:36.331: //290/63A7E97D8036/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec
: No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.200.20.254
Source IP Port (Media): 17054
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0
*May 20 18:10:36.331: //290/63A7E97D8036/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 1
Disconnect Cause (SIP) : 404



Este es el resultado al sacar la llamada correctamente negocia el codec adecuadamente pero en entrante no


*May 20 19:01:43.555: //443/86B6EDC0803C/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x6A630118
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number :
Called Number : 3102
Source IP Address (Sig ): 10.200.20.254
Destn SIP Req Addr:Port : 10.200.20.8:5060
Destn SIP Resp Addr:Port : 10.200.20.8:5060
Destination Name : 10.200.20.8
*May 20 19:01:43.555: //443/86B6EDC0803C/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec :
g711ulaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 0 (tx), 0 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 101 (tx), 101 (rx)
Source IP Address (Media): 10.200.20.254
Source IP Port (Media): 18946
Destn IP Address (Media): 10.200.20.8
Destn IP Port (Media): 7046
Orig Destn IP Address:Port (Media): [ - ]:0
*May 20 19:01:43.555: //443/86B6EDC0803C/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 16
Disconnect Cause (SIP) : 487


Podrian apoyarme

Puse la IP del Router en Blacklist - permitida ya que el 3cx la bloqueba

Saludos
 

Attachments

  • TRONCAL 2811.png
    TRONCAL 2811.png
    72,3 KB · Visitas: 6
Hola Javier,

Debes asegurar te que el firewall checker halla pasado correctamente antes de intentar crear troncales sip.

Ya lo corriste y paso correctamente?
 
Me mostro el siguiente error
 

Attachments

  • firewall.png
    firewall.png
    458 KB · Visitas: 6
    • detecting SIP ALG... detected (received ac0e131b ≠ a6febc26) (How to resolve?)
    • testing port 5060... done
    • starting service... done
  • testing 3CX Tunneling Proxy... done
    • stopping service... done
    • testing port 5090... done
    • starting service... done
  • testing 3CX Media Server... failed (How to resolve?)
 
Pregunta si mi cliente no va tener clientes externos en que me afecta el firewall

el router esta localmente con tarjeta FXO para salir al PSTN entiendo que la apertura de puertos es para extensiones remotas y troncales sip de proveedor EXTERNO pero el router y la pbx estan en la misma subred

10.200.20.8 3cx

10.200.20.254 Router 2811

664-80fb9d37965319b0e60ba69724eb5d67.jpg
 

Attachments

  • dIAGRAMA DE RED.png
    dIAGRAMA DE RED.png
    53,8 KB · Visitas: 2
Hola Javier,

Dejame ver si estoy entiendo tu escenario correctamente:

1. Yo pensaba que tenias una troncal SIP, pero ahora me dices que tienes es lineas analogas.
2. Para conectar las lineas analogas debes de tener un gateway. Los gateways homologados se encuentran en la siguiente lista:
https://www.3cx.com/voip-gateways/
3. Sin embargo, dices que tienes la tarjeta FXO en router? Me puedes explicar esto?
SI, es asi entonces asumo que no estas usando un gateway homolago.
 
ES CORRECTO DESDE LAS VERSIONES DE ELASTIX TRABAJE CON ROUTER CISCO COMO GATEWAY PERO CON 3CX ME RESTRINGE LAS LLAMADAS ENTRANTES ES POR ALGUN TEMA DE SEGURIDAD O DE TRADUCCION DEL CODEC; CON ELASTIX FUNCIONA PERO CON 3CX ME RESTRINGE LA COMUNICACIÓN EN LA TRONCAL SIP.


665-37d03a9eded2dacfb498b8baefe116b3.jpg
 

Attachments

  • ROUTER 2801.jpeg
    ROUTER 2801.jpeg
    105,6 KB · Visitas: 4
Hola Javier,

Ahora entiendo. Gracias por la informacion. A continuacion mis comentarios:

En este caso lo que abria que hacer es una captura desde la consola de adminitracion y luego verificar si la llamada por lo menos esta llegando a la PBX. A continuacion las instrucciones:

1. Haces la captura de wireshark como se indica aqui: https://www.3cx.com/docs/capture-network-traffic/
2. Reproduces el problema (es decir hacer una llamada de prueba)
3. Descargas la captura en tu computador
4. Abres la captura con wireshark
5. Luego le das click en Telephony->VoIP Calls
6. Se te va a abrir una pestaña con las llamadas hechas
7. Busca tu llamada para ver si aparece en la captura.
 
1.- Llamada Realizada de Softphone 3CX Satisfactoria
2.- Llamada Realizada de FXS hacia 3CX Fallida
3.- Llamada a PSTN por FXO Satisfactoria
4.- Llamada de PSTN a 3CX Fallida

Anexo captura de Wireshark

Esta es la información del router al no enlazar ........................................

*May 20 21:24:11.318: //932/6DA5354880F0/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x6A624D28
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 3100
Called Number : 8001
Source IP Address (Sig ): 10.200.20.254
Destn SIP Req Addr:Port : 10.200.20.8:5060
Destn SIP Resp Addr:Port : 10.200.20.8:5060
Destination Name : 10.200.20.8
*May 20 21:24:11.318: //932/6DA5354880F0/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.200.20.254
Source IP Port (Media): 18450
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0
 

Attachments

TE ANEXO LOS LOG DEL ROUTER
 

Attachments

Hola @Javier Sánchez te comento que por los foros NO se brinda soporte a nivel comercial tal como está especificado en las reglas.

Por otro lado el equipo involucrado es un dispositivo legacy no soportado, esto quiere decir que se desconocen si hay o no limitaciones, es u equipo no probado.

En ese caso lo ideal es que entres en contacto directamente con algún partner o mayorista cerca de tu area de necesitar soporte o entrar en contacto por medio de un ticket de soporte usando un gateway soportado de la lista brindada por Yeison, de esa manera con gusto será posible brindar asistencia sobre la central.

Desde el portal de usuario o partner login.3cx.com podras crear un ticket de soporte siempre y cuando esté el caso dentro de las políticas de soporte.

Un saludo!
 
Status
Cerrado para nuevas respuestas.

Estadísticas del Foro

Temas
44.439
Mensajes
232.807
Miembros
78.338
Último miembro
neil.marsura