em 07-02-2012 05:48 AM
Olá pessoal,
Tenho dial-peer específico para ligações DDD para celular com o destination-pattern 00[1-9].[1-9][1-9][6-9].......(13 dígitos para a operadora).
Ao discar um número com quinze dígitos, por exemplo 001511998126133, o roteador dá match no dial-peer voice com o destination-pattern descrito acima.
Tenho um dial-peer genérico (destination-pattern 0T) e acreditava que iria dar match nesse.
Por que foi usado o primeiro dial-peer mencionado?
Att,
João Oliveira
Solucionado! Ir para a Solução.
em 07-12-2012 10:39 AM
Fico feliz por vc ter resolvido
A dial-peer 300 é mais especifica em relação aos digistos que vc digitou,o detalhe era quantos numeros serião encaminhados.
Segue um documento para melhor entendimento das Dial-Peers talvez possa ajudar outras pessoas
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
Já que seu caso foi resolvido marque essa discussão como respondida e avalie as respostas caso tenham te ajudado!
https://supportforums.cisco.com/docs/DOC-21307
Abraçooo
em 07-02-2012 04:13 PM
Olá
Joao existe a possibilidade de voce postar a configuração das Dial-peers?
em 07-02-2012 04:47 PM
Bruno,
segue os dois Dial-peers que eu falei:
dial-peer voice 1 pots
translation-profile outgoing Operadora0014
destination-pattern 0T
incoming called-number .T
direct-inward-dial
port 0/0/0:0
!
dial-peer voice 300 pots
description *** Celular DDD ***
translation-profile outgoing AddOperadora0014
destination-pattern 00[1-9].[1-9][1-9][6-9].......
port 0/1/0
forward-digits 13
Fui fazer um teste com um número de celular com um dígito a mais e deu match em no dail-peer 300. Achei estranho
Abraço.
em 07-10-2012 08:16 AM
Olá João tenta fazer o seguinte:
Retira o destination pattern 0T da sua DP 1 e desabilita a DP 300
dial-peer voice 1 pots
no destination-pattern 0T
!
dial-peer voice 300 pots
shut
Inclua na sua config as seguintes Dial-Peers:
dial-peer voice 100 pots
description Chamadas DDD Cel
destination-pattern 00[1-9].[6-9].......
port 0/1/0
forward-digits 10
prefix 014
!
dial-peer voice 200 pots
translation-profile outgoing Operadora0014
description Dial-peer Geral
destination-pattern 0T
port 0/1/0
forward-digts all
Faça o teste e verifique se elas estão fazendo o match corretamente.
se não funcionar coloque o output dos comandos
show dialplan number 001511998126133
debug voice ccapi inout
Evite fazer esses testes no ambiente em produção, espero ter ajudado
em 07-12-2012 04:25 AM
Bom dia Bruno,
Como estou no ambiente de produção, eu fiz mais um dial-peer com um dígito a mais para celular DDD 11 e resolvi meu problema.
Como falei anteriormente, foi estranho fazer o match no DP 300 sendo que esse tem um dígito a menos e é o menos específico. Usei debug voice ccapi inout para verificar.
Obrigado.
em 07-12-2012 10:39 AM
Fico feliz por vc ter resolvido
A dial-peer 300 é mais especifica em relação aos digistos que vc digitou,o detalhe era quantos numeros serião encaminhados.
Segue um documento para melhor entendimento das Dial-Peers talvez possa ajudar outras pessoas
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
Já que seu caso foi resolvido marque essa discussão como respondida e avalie as respostas caso tenham te ajudado!
https://supportforums.cisco.com/docs/DOC-21307
Abraçooo
em 07-12-2012 10:58 AM
Certo Bruno
Mas a DP 300 no destination-pattern tem apenas 13 digitos e o que eu disquei tinha 14 e mesmo assim deu match.
Obrigado pela ajuda.
em 08-08-2012 11:15 AM
João boa tarde !! COmo você conseguiu resolver o problema do 011. Tenho a Filial em Hortolândia o DDD de lá é 019 quando estão ligando para SP esta dando erro. Gostaria de arrumar estou quebrando a cabeça.
Estou pensando em alterar a linha abaixo será que da certo ?
destination-pattern 0[1-9].[6-9].......
dial-peer voice 20 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[6-9].......
direct-inward-dial
dial-peer voice 21 pots
trunkgroup EBT01
corlist outgoing MOBILE
description *** Chamadas para celular (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[6-9].......
direct-inward-dial
em 08-08-2012 11:47 AM
Boa tarde Alexandre,
Tenho o CUCM 8.0 e dentre os dial-peers que tenho segue os que eu acho que possa ajudar.
O primeiro é um genérico que funcionou sem nenhuma alteração.
Como eu tenho interfaces de celuar para ligação para móvel tive que criar com o destination-pattern e forward-digits diferente. Como você pode ver abaixo.
dial-peer voice 1 pots
description *** Entrada e Saida de Chamadas **
translation-profile outgoing AddOperadora
call-block translation-profile incoming BLOQUEIA-CHAMADA-INDESEJADA
call-block disconnect-cause incoming call-reject
destination-pattern 0T
incoming called-number .T
direct-inward-dial
port 0/0/0:0
!
dial-peer voice 304 pots
description *** Celular DDD ***
translation-profile outgoing AddOperadora
destination-pattern 00[1-9].[1-9][1-9][6-9].......
port 0/1/0
forward-digits 13
!
dial-peer voice 308 pots
description *** Celular DDD 11 ***
translation-profile outgoing AddOperadora
destination-pattern 00[1-9].119[6-9].......
port 0/1/0
forward-digits 14
!
Fora os Route Patterns no CUCM o que fiz foi crir dial-peers igual ao 308 pots.
Abraços
João César.
em 08-08-2012 01:03 PM
Mudei a minha dial-peer porem não foi.. estou quebrando a cabeça.. o que eu fiz na parte destination coloquei igual ao seu destination-pattern 00[1-9].[1-9][1-9][6-9]....... Leonardo que me ajudo da outra vez ou o BRuno se puder dar uma dica fico grato.
dial-peer voice 20 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[6-9].......
direct-inward-dial
=================================
dial-peer voice 21 pots
trunkgroup EBT01
corlist outgoing MOBILE
description *** Chamadas para celular (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[6-9].......
direct-inward-dial
em 08-08-2012 01:09 PM
Alexandre,
No meu caso, para celular DDD 11 o dial-peer que dá match é o com destination-pattern 00[1-9].119[6-9].......
E tive que colocar forward-digits 14.
Você sabe em qual dá match?
João César.
em 08-08-2012 01:29 PM
Conforme o Joao disse vc precisa enviar 14 digitos para a operadora
em 08-09-2012 05:24 AM
Obrigado por tentar me ajudar. Sou novo em Call manager conheço alguns comandos basicos. não mostra aonde esta indo aligação.
show voice call status
show dialplan number
em 08-09-2012 06:09 AM
Bom dia Alexandre,
Tente show dialplan number 001511997030000 e veja quais dial-peer dá match.
Você pode usar o debug para ver o dial-peer que foi usado.
debug voice ccapi inout
e faça uma ligação.
Abraço
João César.
em 08-09-2012 07:23 AM
Segue os translator no call manager express e os dial-peer.
voice translation-rule 1
rule 1 /^19\(.*\)/ /0\1/
rule 2 /\(.*\)/ /00\1/
!
voice translation-rule 10
rule 1 /\(^6...\)/ /193045\1/
voice translation-rule 15
rule 1 /^000\(.*\)/ /0015\1/
rule 2 /^00\(.*\)/ /015\1/
!
voice translation-rule 21
rule 1 /^000\(.*\)/ /00021\1/
rule 2 /\(^00[3589]00\)\(.*\)/ /\1\2/
rule 3 /^00\(.*\)/ /021\1/
!
voice translation-rule 25
rule 1 /^000\(.*\)/ /00025\1/
rule 2 /\(^00[3589]00\)\(.*\)/ /\1\2/
rule 3 /^00\(.*\)/ /025\1/
!
voice translation-rule 211
rule 1 /\(^02..\)/ /2118\1/
!
voice translation-rule 1200
rule 1 /\(^6...\)/ /1930456900/
!
!
voice translation-profile PSTN-IN
--More-- translate calling 1
!
voice translation-profile PSTN-OUT-EBT
translate calling 211
translate called 21
!
voice translation-profile PSTN-OUT-GVT
translate calling 10
translate called 25
!
voice translation-profile PSTN-OUT-TEL
translate calling 10
translate called 15
!
voice translation-profile PSTN-TOLLBYPASS
translate calling 1200
!
!
dial-peer cor custom
name Local
name Mobile
name LongDistance
name International
!
!
dial-peer cor list LOCAL
member Local
!
dial-peer cor list MOBILE
member Mobile
!
dial-peer cor list LONGDISTANCE
member LongDistance
!
dial-peer cor list INTERNATIONAL
member International
!
dial-peer cor list LocalCalls
member Local
!
dial-peer cor list MobileCalls
member Local
member Mobile
!
dial-peer cor list LongDistanceCalls
member Local
member Mobile
member LongDistance
!
dial-peer cor list InternationalCalls
member Local
member Mobile
member LongDistance
member International
!
dial-peer cor list BlockCalls
!
!
dial-peer voice 1 pots
description *** Incoming Dial-Peer ***
translation-profile incoming PSTN-IN
incoming called-number .
direct-inward-dial
!
dial-peer voice 10 pots
trunkgroup GVT01
corlist outgoing LOCAL
description *** Chamadas Locais (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[2-5].......
direct-inward-dial
!
dial-peer voice 11 pots
trunkgroup EBT01
corlist outgoing LOCAL
description *** Chamadas Locais (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[2-5].......
direct-inward-dial
!
dial-peer voice 20 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[6-9].......
direct-inward-dial
!
dial-peer voice 21 pots
trunkgroup EBT01
corlist outgoing MOBILE
description *** Chamadas para celular (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[6-9].......
direct-inward-dial
!
dial-peer voice 30 pots
trunkgroup GVT01 1
corlist outgoing LONGDISTANCE
description *** Chamadas DDD (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[0][1-9][1-9]........
direct-inward-dial
forward-digits 13
!
dial-peer voice 31 pots
trunkgroup EBT01 1
corlist outgoing LONGDISTANCE
description *** Chamadas DDD (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[0][1-9][1-9]........
direct-inward-dial
forward-digits 13
!
dial-peer voice 40 pots
trunkgroup GVT01 1
corlist outgoing INTERNATIONAL
description *** Chamadas DDI (GVT) ***
--More-- translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[0][0]T
direct-inward-dial
!
dial-peer voice 41 pots
trunkgroup EBT01 1
corlist outgoing INTERNATIONAL
description *** Chamadas DDI (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
preference 2
destination-pattern 0[0][0]T
direct-inward-dial
!
dial-peer voice 50 pots
trunkgroup GVT01
description *** Chamadas 0800 (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[0][8][0][0]T
direct-inward-dial
!
dial-peer voice 51 pots
--More-- trunkgroup EBT01
description *** Chamadas 0800 (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[0][8][0][0]T
direct-inward-dial
!
dial-peer voice 60 pots
trunkgroup GVT01
corlist outgoing INTERNATIONAL
description *** Chamadas 0300/0500/0900 (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[0][359][0][0]T
direct-inward-dial
!
dial-peer voice 61 pots
trunkgroup EBT01
corlist outgoing INTERNATIONAL
description *** Chamadas 0300/0500/0900 (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[0][359][0][0]T
direct-inward-dial
!
dial-peer voice 70 pots
trunkgroup GVT01
description *** Chamadas Emergencia (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[1][9].
direct-inward-dial
!
dial-peer voice 71 pots
trunkgroup GVT01
description *** Chamadas Emergencia (Embratel) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[1][9].
direct-inward-dial
!
dial-peer voice 80 pots
trunkgroup GVT01
description *** Chamadas Servicos de Operadora (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
preference 1
destination-pattern 0[1][0]...
direct-inward-dial
!
dial-peer voice 81 pots
trunkgroup EBT01
description *** Chamadas Servicos de Operadora (Embratel)***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 0[1][0]...
direct-inward-dial
!
dial-peer voice 6900 pots
description *** URA Galderma Hortolandia ***
service galderma
incoming called-number 6900$
direct-inward-dial
!
dial-peer voice 7555 voip
description *** Voice Mail ***
destination-pattern 7555
session protocol sipv2
session target ipv4:10.30.48.15
dtmf-relay sip-notify rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 1000 voip
--More-- description *** Chamadas Internas - Sao Paulo ***
destination-pattern 6[34]..$
session protocol sipv2
session target ipv4:10.30.7.10
voice-class codec 10
dtmf-relay sip-notify
no vad
!
dial-peer voice 1100 voip
description *** Toll Bypass - Hortolandia -> Sao Paulo ***
destination-pattern *11[2-9].......$
session target ipv4:10.30.7.10
voice-class codec 10
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 1200 pots
trunkgroup GVT01
description *** Toll Bypass - Sao Paulo -> Hortolandia (GVT) ***
translation-profile outgoing PSTN-TOLLBYPASS
destination-pattern *19[2-9].......$
direct-inward-dial
forward-digits 8
!
num-exp 9 6903
sip-ua
no redirection
max-forwards 10
Descubra e salve suas ideias favoritas. Volte para ver respostas de especialistas, passo a passo, tópicos recentes e muito mais.
Novo por aqui? Comece com estas dicas. Como usar a Comunidade Guia do novo membro
Navegue pelos links rápidos da Comunidade e usufrua de um conteúdo personalizado e em seu idioma nativo: