em 08-03-2012 01:11 PM
Pessoal, alguem pode me ajudar sobre como eu devo colocar as configurações no CallManager para poder efetuar as chamadas para o DDD11 com o novo digito 9?
Atualmente eu tenho as seguintes Pattern
Alguem pode me ajudar?
Muito Obrigado
Solucionado! Ir para a Solução.
em 08-14-2012 06:29 AM
Bruno, bom dia. !!! Desculpas que estava enrolado com outras tarefas que não consegui postar. Altereia a dialpeer, porem pede a operado só que não usamos operadora para discar.
Dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00[1-9].119[6-9].......
forward-digits all
em 08-14-2012 06:36 AM
O que faz o
translation-profile outgoing PSTN-OUT-GVT?
Poderia postar a config do translation-rule!
Essa chamada é originada de fora de SP?
Att
em 08-14-2012 06:51 AM
Ligação sai de Hortolândia interior de São Paulo prefixo 019. Segue abaixo a config.
dial-peer cor custom
name Local
name Mobile
name LongDistance
name International
!
!
dial-peer cor list LOCAL
member Local
!
dial-peer cor list MOBILE
--More-- 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
--More-- 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
--More-- 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) ***
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
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
!
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00[1-9].119[6-9].......
forward-digits all
!
dial-peer cor custom
name Local
name Mobile
name LongDistance
name International
!
!
dial-peer cor list LOCAL
member Local
!
dial-peer cor list MOBILE
--More-- 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
--More-- 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
--More-- 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) ***
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
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
!
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00[1-9].119[6-9].......
forward-digits all
!
em 08-14-2012 06:56 AM
Coloque a apenas a config do translation rule, acim só esta a do translation profile
não entendi as ligações vem com o prefixo 019, pq a sua destination patter esta assim:
destination-pattern 00[1-9].119[6-9].......
vc esta prefixando o 019 na destination-pattern se for a forma correta é assim
destination-pattern 0019.119[6-9].......
Att
Leonardo Santana
em 08-14-2012 07:16 AM
Bruno deu certo.. Agora só não entendi porque esta colocando o 025 da GVT e não o 021 da Embratel.
em 08-14-2012 07:20 AM
Verifique sua translation rule!
em 08-14-2012 07:34 AM
Segue as translation rule. Como adiciono no dial-peer para sair pela regra 21 ? Acho q é isso
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/
em 08-14-2012 07:38 AM
Alexandre vc tem um translate profile na dial-peer ( translation-profile outgoing PSTN-OUT-GVT ),
Essa configuração ira pegar rule 3 da seguinte linha de configuração:
voice translation-rule 25
rule 1 /^000\(.*\)/ /00025\1/
rule 2 /\(^00[3589]00\)\(.*\)/ /\1\2/
rule 3 /^00\(.*\)/ /025\1/
Qualquer numero iniciado com 00 será incluido o 025 e mantido o restante do numero discado portanto se vc discar 0011XXXXXXXXX será incluido o 025 e encaminhará a seguinte string 02511XXXXXXXXX.
Vc tem regras criadas para 015, 021 e 025, para alterar é necessario apenas modificar o comando na dia-peer translation-profile outgoing < PSTN-OUT-GVT, PSTN-OUT-TEL ou PSTN-OUT-EBT >
Vc pode testar as regras conforme postei:
BRULABCME#test voice translation-rule 15 0011989710877 ! para testar a regra PSTN-OUT-TEL
BRULABCME#test voice translation-rule 21 0011989710877 ! para testar a regra PSTN-OUT-EBT
BRULABCME#test voice translation-rule 25 0011989710877 ! para testar a regra PSTN-OUT-GVT
Porem se for alterar deve-se prestar atenção em qual voice-port irá sair a chamada se corresponde ao link da operadora que vc quer que as chamadas saiam (caso vc esteja usando mais de uma Voice-Port).
em 08-14-2012 07:40 AM
Complementando oq o Bruno falou a chamada pode sair mais cara usando outra operadora.
em 08-23-2012 05:14 AM
Bom dia, Leonardo pode me ajudar no caso abaixo ? Poxa não sei o que acontece todas as minhas ligações saem pelo dialpeer 20 estou tento problemas para numeros da nextel. Se digitar 0 + 7 do telefone já da sinal de ocupado.
em 08-14-2012 12:09 PM
Gostaria de agradecer ao Bruno e Leonardo pela ajuda... Sou ruim em call manager, mas estou aprendendo. A solução postada pelo Bruno funcionou aqui. Agora apenas o detalhe da operadora que esta saindo pela GVT gostaria de mudar para a embratel.
Nesse dial-peer retorna o erro da operadora GVT informando que não pode ser completada.
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-EBT
destination-pattern 00119[6-9].......
forward-digits all
control-plane
!
!
voice-port 0/0/0:1
cptone BR
timeouts initial 5
timeouts interdigit 5
!
voice-port 0/0/1:15
cptone BR
timeouts initial 5
timeouts interdigit 5
BRHRTGW01#test voice translation-rule 021 0011984194401
Matched with rule 3
Original number: 0011984194401 Translated number: 02111984191234
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Esse novo esta funcionando, porém saindo pela GVT.
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00119[6-9].......
forward-digits all
forward-digits all
em 08-15-2012 07:53 AM
Alexandre a resposta para sua ultima pergunta está ai no contexto
dial-peer voice 23 pots ! a sua dial-peer name/tag
trunkgroup GVT01 ! Grupo de "portas/interfaces" por onde sairam suas chamadas
corlist outgoing MOBILE ! Classe de restrição
description *** Chamadas para celular (GVT) *** ! descrição da sua Dial-Peer
translation-profile outgoing PSTN-OUT-GVT ! Translation que inclui a operadora no caso GVT
destination-pattern 00119[6-9]....... ! Digitos que farão o Match na sua discagem
forward-digits all ! quantidade de digitos que seram encaminhados
Verifique sua configuração e altere para a Embratel, vc tem outras dial-peers na sua configuração que vc pode seguir como exemplo e alterar conforme a necessidade.
Se vc observar vc necessita alterar apenas 3 linhas da dial-peer para as chamadas sairem pela EBT.
em 08-14-2012 07:08 AM
Boa Leooo
Acho que peguei a Translation, fiz um teste aqui ele insere a operadora 21
.
BRULABCME#test voice translation-rule 21 0011989710877
Matched with rule 3
Original number: 0011989710877 Translated number: 02111989710877
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
- Discando sem operadora 0011989710877 o numero fica 02111989710877.
Alexandre na Dial-peer 23 coloque mude o destination pattern e veja se funciona:
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00119[6-9].......
forward-digits all
em 08-09-2012 07:17 PM
Alexandre
Modifica sua Dial-Peer 23 da seguinte forma:
dial-peer voice 23 pots
trunkgroup GVT01
corlist outgoing MOBILE
description *** Chamadas para celular (GVT) ***
translation-profile outgoing PSTN-OUT-GVT
destination-pattern 00[1-9].119[6-9].......
forward-digits all
em 08-09-2012 09:09 AM
Alexandre basta seguir as orientações do Bruno.
Att
Leonardo Santana
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: