02-25-2020 07:18 AM
dear all,
i have a CME with SCCP and SIP phones, but, when i migrate from PSTN analog lines to a SIP trunk, incoming call on a SCCP phone is transferred to a SIP phone, the call is disconnected.
with analog lines was working fine.
this is the conecction diagram of an incoming call
SIP trunk provider (called number 722740040)---> CME ----> SCCP phone (dn 1) ---> call transferd to SIP phone
this config is old, was growing and I have been trying different things, so may be things that are not used/misses
here is the actual CME config:
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CLRA-RO01
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model
!
!
!
!
!
!
!
!
!
ip dhcp binding cleanup interval 10
ip dhcp excluded-address 10.97.1.1
ip dhcp excluded-address 10.97.1.2
ip dhcp excluded-address 10.10.30.1 10.10.30.210
!
ip dhcp pool telefonos-pool_VLAN500
network 10.97.1.0 255.255.255.0
default-router 10.97.1.2
option 150 ip 192.168.138.200
lease 0 0 5
ip dhcp pool camaras-pool_VLAN20
network 10.10.30.0 255.255.255.0
default-router 10.10.30.200
lease 0 0 5
!
!
!
ip domain retry 0
ip domain timeout 1
no ip domain lookup
ip domain name kws.com
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
voice-card 0
no local-bypass
!
!
voice rtp send-recv
!
voice service pots
!
voice service voip
no ip address trusted authenticate
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
emptycapability
h225 display-ie ccm-compatible
h225 id-passthru
h245 passthru tcsnonstd-passthru
sip
min-se 90 session-expires 300
header-passing
registrar server expires max 3600 min 3600
localhost dns:10.232.178.97
midcall-signaling passthru media-change
early-offer forced
no silent-discard untrusted
no call service stop
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729br8
!
voice class codec 2
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
!
!
voice class dualtone-detect-params 10
!
voice class dualtone-detect-params 90
freq-max-deviation 125
!
voice class custom-cptone Celulink
dualtone disconnect
frequency 425
cadence 500 500 continuous
!
voice class custom-cptone IAD
dualtone disconnect
frequency 405
cadence 500 500 continuous
!
!
voice register global
mode cme
source-address 10.97.1.2 port 5060
max-dn 50
max-pool 50
load 7821 sip78xx.10-1-1SR1-4.loads
load 7841 sip78xx.10-1-1SR1-4.loads
load 7861 sip78xx.10-1-1SR1-4.loads
load 8845 sip78xx.10-1-1SR1-4.loads
authenticate register
authenticate realm kws
time-format 24
date-format D/M/Y
tftp-path flash:
create profile sync 4216284048737035
ntp-server 192.168.138.200 mode directedbroadcast
auto-register
!
!
voice register dn 1
number 299
allow watch
name Porteria
label Porteria
mwi
!
voice register dn 2
number 228
allow watch
name German Opitz
label German Opitz
mwi
!
!
voice register template 1
button-layout 1 line
button-layout 2-15 speed-dial
!
voice register template 2
!
voice register dialplan 1
!
voice register pool 1
busy-trigger-per-button 1
id mac 5067.AE21.0BA6
type 7821
number 1 dn 1
presence call-list
dtmf-relay rtp-nte
voice-class codec 2
username 299 password 299
!
voice register pool 2
busy-trigger-per-button 1
id mac 5067.AE21.0C3A
type 7821
number 1 dn 2
template 1
presence call-list
dtmf-relay rtp-nte
voice-class codec 2
username 228 password 228
!
!
!
voice translation-rule 1
rule 1 /^/ /999/
!
voice translation-rule 2
rule 1 /^99972\(......$\)/ /9\1/
rule 2 /^999\([234567].......$\)/ /90\1/
rule 3 /^999\([2-7].19.....$\)/ /90\1/
rule 4 /^9999\(........$\)/ /909\1/
rule 5 /^999/ //
!
voice translation-rule 3
rule 1 /^2/ /902\1/
rule 2 /^3/ /903\1/
rule 3 /^4/ /904\1/
rule 4 /^5/ /905\1/
rule 5 /^6/ /906\1/
rule 6 /^7/ /907\1/
rule 7 /^8/ /908\1/
rule 8 /^9/ /9099\1/
rule 9 /^0/ /900\1/
!
voice translation-rule 4
rule 1 /\(.*\)/ /722740040/
!
voice translation-rule 5
rule 1 /^902/ /2\1/
rule 2 /^903/ /3\1/
rule 3 /^904/ /4\1/
rule 4 /^905/ /5\1/
rule 5 /^906/ /6\1/
rule 6 /^907/ /7\1/
rule 7 /^908/ /8\1/
rule 8 /^909/ /\1/
rule 9 /^900/ /1880\1/
rule 10 /^8600/ /600\1/
rule 11 /^8800/ /800\1/
rule 12 /^91/ /1\1/
!
voice translation-rule 6
!
!
voice translation-profile SIP_TRUNK_ENTRANTE
translate called 6
!
voice translation-profile prefixin
translate calling 3
!
voice translation-profile prefixin2
translate called 1
!
voice translation-profile prefixout
translate calling 2
!
voice translation-profile prefixout_SIP_TRUNK
translate calling 4
translate called 5
!
!
!
!
application
service autoatt flash0:its-CISCO.2.0.1.0.tcl
param operator 201
paramspace english index 1
paramspace english language en
paramspace english location flash:
param aaPilot 150
paramspace english prefix en
!
service autoatt2 flash0:its-CISCO.2.0.1.0.tcl
param aaPilot 150
paramspace english language en
paramspace english index 1
paramspace english location flash:
paramspace english prefix en
param operator 201
!
!
vxml logging-tag
license udi pid CISCO2921/K9 sn FTX1834AKFW
hw-module pvdm 0/0
!
!
!
!
redundancy
!
!
ip tcp ecn
!
class-map match-any toip_signaling
match access-group name toip-control-H323sig
match access-group name toip-control-SCCP
match access-group name toip-control-SIP
match access-group name toip-control-H323conf
match dscp af31
match dscp cs3
match ip precedence 3
class-map match-any voz
match ip dscp ef
match protocol rtp audio
match ip rtp 32767 16383
match ip precedence 5
!
policy-map ver
class voz
policy-map salida
class voz
priority 1000
class toip_signaling
bandwidth 64
class class-default
fair-queue
random-detect
policy-map shape4M_14-G711
class class-default
shape average 4096000
service-policy salida
!
gw-accounting syslog
!
!
!
!
interface Embedded-Service-Engine0/0
ip unnumbered GigabitEthernet0/0.500
service-module ip address 10.97.1.200 255.255.255.0
service-module ip default-gateway 10.97.1.2
!
interface GigabitEthernet0/0
description LAN-VoIP
no ip address
duplex auto
speed auto
service-policy input ver
!
interface GigabitEthernet0/0.2
description Datos LAN
encapsulation dot1Q 300
ip address 192.168.138.200 255.255.255.0
ip helper-address 192.168.138.244
!
interface GigabitEthernet0/0.10
description VLAN 10 Planta
encapsulation dot1Q 10
ip address 10.10.10.200 255.255.255.0
!
interface GigabitEthernet0/0.20
description LAN CCTv
encapsulation dot1Q 20
ip address 10.97.3.126 255.255.255.128
!
interface GigabitEthernet0/0.50
description SIP Trunk link
encapsulation dot1Q 50
ip address 192.168.100.200 255.255.255.0
!
interface GigabitEthernet0/0.500
description Vlan de Voz
encapsulation dot1Q 500
ip address 10.97.1.2 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.97.1.2
!
interface GigabitEthernet0/0.900
description LAN WiFi
encapsulation dot1Q 900
ip address 192.168.88.100 255.255.255.128
!
interface GigabitEthernet0/1
description Red Camaras
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.20
description Red Camaras
encapsulation dot1Q 20
ip address 10.10.30.200 255.255.255.0
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
ip forward-protocol udp netbios-ss
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash0:/gui
!
ip dns view default
domain timeout 1
domain retry 0
no dns forwarding
!
ip route 10.97.1.0 255.255.255.255 Embedded-Service-Engine0/0
ip route 10.97.9.0 255.255.255.0 10.97.1.1
ip route 10.232.178.0 255.255.255.0 192.168.100.1
!
ip access-list extended toip-control-H323conf
permit udp any any range 11000 65535
permit tcp any any range 11000 65535
ip access-list extended toip-control-H323sig
permit udp any any range 1718 1720
permit tcp any any range 1718 1720
ip access-list extended toip-control-SCCP
permit tcp any any range 2000 2003
ip access-list extended toip-control-SIP
permit udp any any range 5060 5062
!
logging trap debugging
!
!
tftp-server flash0:ATA030100SCCP040211A.zup
tftp-server flash0:/IOS2960/c2960-lanbasek9-mz.152-6.E1.bin
!
control-plane
!
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer cor custom
name rancagua
name rancaguaC
name rancagualdn
name rancagualdi
name solo_anexo
!
!
dial-peer cor list RGUA
member rancagua
!
dial-peer cor list RGUAC
member rancagua
member rancaguaC
!
dial-peer cor list RGUALDN
member rancagua
member rancaguaC
member rancagualdn
!
dial-peer cor list RGUALDI
member rancagua
member rancaguaC
member rancagualdn
member rancagualdi
!
dial-peer cor list SOLO-ANX
member solo_anexo
!
!
dial-peer voice 260 pots
description MATCH LLAMADAS ENTRANTES DESDE PSTN
translation-profile incoming prefixout
service autoatt2
answer-address 999T
!
dial-peer voice 71 voip
description Anexos Parral
max-conn 20
destination-pattern 4..
session protocol sipv2
session target ipv4:10.97.17.2
voice-class codec 2
dtmf-relay sip-info
no vad
no supplementary-service sip handle-replaces
!
dial-peer voice 50 voip
description *** LAMADA ENTRANTE SIP TRUNK ENTEL ***
translation-profile incoming prefixin
service autoatt2
session protocol sipv2
incoming called-number 72274004[0-3]$
voice-class codec 2
voice-class sip rel1xx disable
dtmf-relay rtp-nte
no vad
no supplementary-service sip handle-replaces
!
dial-peer voice 51 voip
description *** SALIDA LLAMADA LOCAL SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 90[2-8]........
session protocol sipv2
session target ipv4:10.232.178.97
voice-class codec 2
dtmf-relay rtp-nte
no vad
supplementary-service sip handle-replaces
!
dial-peer voice 52 voip
description *** SALIDA LLAMADA CELULARES SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 909.........
session protocol sipv2
session target ipv4:10.232.178.97
voice-class codec 2
dtmf-relay rtp-nte
no vad
no supplementary-service sip handle-replaces
!
dial-peer voice 53 voip
description *** SALIDA LLAMADA LDI SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 900T
session protocol sipv2
session target ipv4:10.232.178.97
voice-class codec 2
dtmf-relay rtp-nte
no vad
supplementary-service sip handle-replaces
!
dial-peer voice 54 voip
description *** SALIDA LLAMADA NUMEROS 600 SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 8600T
session protocol sipv2
session target ipv4:10.232.178.97
voice-class codec 2
dtmf-relay rtp-nte
no vad
supplementary-service sip handle-replaces
!
dial-peer voice 55 voip
description *** SALIDA LLAMADA NUMEROS 800 SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 8800T
session protocol sipv2
session target ipv4:10.232.178.97
voice-class codec 2
dtmf-relay rtp-nte
no vad
supplementary-service sip handle-replaces
!
dial-peer voice 56 voip
description *** SALIDA LLAMADA EMERGENCIAS SIP TRUNK ENTEL ***
translation-profile outgoing prefixout_SIP_TRUNK
preference 1
destination-pattern 91[034].
session protocol sipv2
session target ipv4:10.232.178.97
dtmf-relay rtp-nte
no vad
supplementary-service sip handle-replaces
!
dial-peer voice 70 voip
description Anexos Longavi
destination-pattern 3..
session protocol sipv2
session target ipv4:10.97.9.2
voice-class codec 1
dtmf-relay sip-info
no vad
supplementary-service h450.12
no supplementary-service sip handle-replaces
!
!
presence
presence call-list
watcher all
allow subscribe
!
gateway
timer receive-rtp 1200
!
sip-ua
max-forwards 20
retry invite 2
retry response 2
retry bye 2
mwi-server ipv4:10.97.1.2 expires 3600 port 5060 transport tcp
registrar ipv4:10.97.1.2 expires 3600
sip-server ipv4:10.97.1.2:5060
presence enable
!
!
!
gatekeeper
no shutdown
!
!
telephony-service
max-ephones 100
max-dn 100
ip source-address 192.168.138.200 port 2000
system message Semillas KWS Chile
cnf-file location flash:
user-locale ES
network-locale ES
network-locale 1 ES
network-locale 2 ES
network-locale 3 ES
network-locale 4 ES
load 7914 S00103020002
load 7960-7940 P00303020214
load ata ATA030100SCCP040211A.zup
time-format 24
date-format dd-mm-yy
keepalive 20
max-conferences 8 gain -6
call-forward pattern 9T
call-forward pattern T
call-forward pattern .T
moh enable-g711 "flash0:MOHKWS1.WAV"
web admin system name admin password cisco
dn-webedit
time-webedit
transfer-system full-consult dss
transfer-pattern .T
secondary-dialtone 9
create cnf-files version-stamp 7960 Feb 24 2020 15:24:26
!
!
ephone-dn-template 1
mwi-type audio
mwi sip
mwi on
timeouts transfer-recall 1
allow watch
!
!
ephone-dn 1 dual-line
number 201 secondary 722740040 no-reg both
label Secretary
description 201
name Secretary
corlist incoming RGUALDI
!
!
ephone-dn 2 dual-line
number 202
label 202 disp.
description 202 disp.
name 202 disp.
corlist incoming RGUALDI
corlist outgoing RGUALDI
no huntstop
!
!
ephone 1
mac-address 0012.0127.9D69
type 7960
button 1:1
!
!
!
ephone 2
mac-address 0013.194C.DD97
type 7940
button 1:2
!
!
please, could you help me
thank you
02-25-2020 07:07 PM
02-27-2020 04:30 AM - edited 02-27-2020 04:43 AM
hello, here is.
the call is made from my cell phone 999399035 to 722740043, the call is answered on extension 263 and then is transferred to extension 233, the extension rings and on pickup, the call is ended
i've added other debug files, all of same call prodedure
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide