Procedimento Ativação-Migração Vip Line V21

Embed Size (px)

Citation preview

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    1/96

    Guia de Configurao CPE - VIPLINE

    1 - Hardware e IOSEm todas configuraes devem ser utilizadas as verses de IOS abaixo especificadas ou superior.

    CISCO

    HP

    DIGISTAR

    CPE IOS FLASH

    SUGERIDA

    DRAM

    SUGERIDA

    2801 c2801-advipservicesk9-mz.151-4.M1.bin 384MB 128MB

    2801 c2801-adventerprisek9-mz.124-24.T5.bin 192MB 64MB

    2811 / 2821

    c2800nm-advipservicesk9-mz.151-4.M1.bin

    512MB

    128MB

    2811 / 2821 c2800nm-adventerprisek9-mz.124-24.T5.bin 256MB 128MB

    2851

    c2800nm-advipservicesk9-mz.151-4.M1.bin

    512MB

    128MB

    2851 c2800nm-adventerprisek9-mz.124-24.T5.bin 256MB 128MB

    2901 / 2911 / 2921

    c2900-universalk9-mz.SPA.151-4.M1.bin 512MB 256MB

    2951

    c2951-universalk9-mz.SPA.151-4.M1.bin 512MB 256MB

    3825 c3825-advipservicesk9-mz.151-4.M1.bin 512MB 128MB

    3825 c3825-advipservicesk9-mz.124-24.T5.bin 512MB 128MB

    3845 c3845-advipservicesk9-mz.151-4.M1.bin 512MB 128MB

    3845 c3845-advipservicesk9-mz.124-24.T5.bin 512MB 128MB

    3925 / 3945 c3900-universalk9-mz.SPA.151-4.M1.bin 1GB 256MB

    CPE IOS

    MSR 20-1X A_MSR201X-CMW520-R2512P04

    MSR 30-1X A_MSR301X-CMW520-R2512P04-SI

    CPE IOS

    AG30 system_ag30plus_v1.7.img

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    2/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    3/96

    Script CPE Cenrio VIPLINE Sin. R2 entre PABX e CPEhostname !

    card type e1 0 0!

    network-clock-participate wic 0

    network-clock-select 1 E1 0/0/0

    voice service voip

    ip address trusted authenticate

    ip address trusted list

    ipv4 0.0.0.0 0.0.0.0

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    sip

    !

    trunk group troncor2

    hunt-scheme sequential both down

    !

    voice class codec 1

    codec preference 1 g729r8

    codec preference 2 g729br8

    codec preference 3 g711alaw

    !

    !

    ! Exemplo de n chave e faixa - 21594650 (4650 4699)

    voice translation-rule 10rule 1 /^\(215946[5-9][0-9]\)/ /\1/

    rule 2 /^\(46[5-9][0-9]\)/ /2159\1/

    rule 3 /^.*/ /21594650/

    !

    !

    voice translation-profile EBT_BSOD

    translate calling 10

    !

    !

    voice-card 0

    dsp services dspfarm

    !

    !

    controller E1 0/0/0

    framing NO-CRC4

    ds0-group 0 timeslots 1-15,17-31type r2-digital r2-compelled ani

    cas-custom 0

    country brazil use-defaults

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    4/96

    metering

    category 1

    answer-signal group-b 1

    trunk-group troncor2

    !

    class-map match-any Voz_RealIp

    match dscp cs3 efclass-map match-any NetworkControl_RealIp

    match dscp cs2 cs6 cs7

    !

    !

    policy-map Voz_Ger

    class Voz_RealIp

    police rate

    conform-action transmit

    exceed-action drop

    class NetworkControl_RealIp

    bandwidth 63

    queue-limit 32

    class class-default

    random-detect

    policy-map Saida_Voz

    class class-default

    shape average

    service-policy Voz_Ger

    !

    PARA ACESSO ETHERNET

    !interface GigabitEthernet0/0

    description

    bandwidth

    ip address 255.255.255.252

    speed 100

    duplex full

    service-policy output Saida_Voz

    no shut

    !

    PARA ACESSO FRAME-RELAY - Dependendo da verso de IOS necessrio aplicar o QoS no modelo hierarquico.

    !

    map-class frame-relay FR_1500k

    frame-relay cir 1500000

    frame-relay bc 15000

    frame-relay be 0

    frame-relay mincir 1500000

    service-policy output Saida_Voz

    !

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    5/96

    interface Serial0/0/0

    description

    bandwidth

    no ip address

    encapsulation frame-relay

    frame-relay traffic-shaping

    frame-relay lmi-type ciscoframe-relay intf-type dce

    no shutdown

    !

    interface Serial0/0/0.1point-to-point

    description

    bandwidth

    ip address 255.255.255.252

    frame-relay interface-dlci 100

    class FR_1500k

    no shutdown

    !

    !

    !

    !

    ip forward-protocol nd

    ip route 0.0.0.0 0.0.0.0

    !

    voice-port 0/0/0:0

    translation-profile incoming EBT_BSOD

    no vad

    no comfort-noisecptone BR

    timeouts interdigit 5

    !

    mgcp fax t38 ecm

    !

    dial-peer voice 100 voip

    description LOCAL

    destination-pattern [2-6].......

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    incoming called-number .T

    dtmf-relay rtp-nte

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    6/96

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 101 voip

    description LONGA_DISTANCIA

    destination-pattern 0[1-9].[1-9][1-9][2-9].......$rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 102 voip

    description A_COBRAR_LOCAL

    destination-pattern 9090........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alawvoice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 103 voip

    description A_COBRAR_LONGA_DISTANCIA

    destination-pattern 90[^0][^0]..........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    7/96

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 104 voipdescription ZERO_800

    destination-pattern 0800......T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 105 voip

    description ZERO_300

    destination-pattern 0300......T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 106 voip

    description INTERNACIONAL

    destination-pattern 00.T

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    8/96

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 107 voip

    description Servicos Publicos

    destination-pattern 1..T

    rtp payload-type cisco-codec-fax-ack 111rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol pass-through g711alaw

    no vad

    !

    dial-peer voice 108 voip

    description LOCAL CELULAR

    destination-pattern [7-9].......

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 109 voip

    description IG Provedores

    destination-pattern 1[5-9]......

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 101

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    9/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    10/96

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad!

    dial-peer voice 116 voip

    description A_COBRAR_LOCAL_9 digito SP

    destination-pattern 90909........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 117 voip

    description A_COBRAR_LONGA_DISTANCIA

    destination-pattern 90[^0][^0][1-9][1-9]9........$

    rtp payload-type cisco-codec-fax-ack 111rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    !

    dial-peer voice 118 voip

    description Servicos Publicos

    destination-pattern 19.

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    11/96

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nteplayout-delay mode fixed no-timestamps

    fax protocol pass-through g711alaw

    no vad

    !

    dial-peer voice 119 voip

    description LOCAL CELULAR 9 DIGITO

    destination-pattern 9........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 10 potsdescription INBOUND Rede Publica para tronco Vipline

    trunkgroup troncor2

    destination-pattern 215946[5-9][0-9]$

    progress_ind alert strip 8

    direct-inward-dial

    forward-digits 4

    !

    dial-peer voice 11 pots

    trunkgroup troncor2

    description PABX - Chamada a cobrar

    destination-pattern 90.T

    forward-digits 4

    !

    dial-peer voice 12 pots

    description OUTBOUND Tronco VIPLINE para rede publica

    direct-inward-dial

    port 0/0/0:0

    !

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    12/96

    sip-ua

    sip-server ipv4:

    !

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    13/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    14/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    15/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    16/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    17/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    18/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    19/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    20/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    21/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    22/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    23/96

    Regra 1 mantm os nmeros completos (prefixo + MCDU) recebidos na faixa fornecida para o

    Regra 2 acrescenta o prefixo 7100 a um MCDU recebido na faixa fornecida ao cliente

    Regra 3 Converte qualquer nmero com qualquer quantidade de dgitos no nmero chave.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    24/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    25/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    26/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    27/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    28/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    29/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    30/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    31/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    32/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    33/96

    Observaes

    liente;

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    34/96

    Script CPE Cenrio VIPLINE Sin. ISDN entre PABX e CPE

    hostname

    !

    card type e1 0 0

    !

    network-clock-participate wic 0

    !

    voice service voip

    ip address trusted authenticate

    ip address trusted list

    ipv4 0.0.0.0 0.0.0.0

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    sip

    !

    !

    voice class codec 1

    codec preference 1 g729r8

    codec preference 2 g729br8

    codec preference 3 g711alaw

    !

    isdn switch-type primary-net5

    ! Exemplo de n chave e faixa - 21594650 (4650 4699)voice translation-rule 10

    rule 1 /^\(215946[5-9][0-9]\)/ /\1/

    rule 2 /^\(46[5-9][0-9]\)/ /2159\1/

    rule 3 /^.*/ /21594650/

    !

    !

    voice translation-profile EBT_BSOD

    translate calling 10

    !

    !

    voice-card 0

    dsp services dspfarm

    !

    controller E1 0/0/0

    clock source internal

    pri-group timeslots 1-31

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    35/96

    !

    class-map match-any Voz_RealIp

    match dscp cs3 ef

    class-map match-any NetworkControl_RealIp

    match dscp cs2 cs6 cs7

    !

    !policy-map Voz_Ger

    class Voz_RealIp

    police rate

    conform-action transmit

    exceed-action drop

    class NetworkControl_RealIp

    bandwidth 63

    queue-limit 32

    class class-default

    random-detect

    policy-map Saida_Voz

    class class-default

    shape average

    service-policy Voz_Ger

    !

    PARA ACESSO ETHERNET

    !

    interface GigabitEthernet0/0

    description

    bandwidth

    ip address 255.255.255.252speed 100

    duplex full

    service-policy output Saida_Voz

    no shut

    !

    PARA ACESSO FRAME-RELAY - Dependendo da verso de IOS necessrio aplicar o QoS no modelo hierarquico.

    !

    map-class frame-relay FR_1500k

    frame-relay cir 1500000

    frame-relay bc 15000

    frame-relay be 0

    frame-relay mincir 1500000

    service-policy output Saida_Voz

    !

    interface Serial0/0/0

    description

    bandwidth

    no ip address

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    36/96

    encapsulation frame-relay

    frame-relay traffic-shaping

    frame-relay lmi-type cisco

    frame-relay intf-type dce

    no shutdown

    !

    interface Serial0/0/0.1point-to-pointdescription

    bandwidth

    ip address 255.255.255.252

    frame-relay interface-dlci 100

    class FR_1500k

    no shutdown

    !

    !

    !

    interface Serial0/0/0:15

    no ip address

    encapsulation hdlc

    no logging event link-status

    isdn bchan-number-order ascending

    isdn switch-type primary-net5

    isdn overlap-receiving T302 5000

    isdn protocol-emulate network

    isdn incoming-voice voice

    no cdp enable

    !ip forward-protocol nd

    ip route 0.0.0.0 0.0.0.0

    !

    voice-port 0/0/0:15

    input gain 3

    output attenuation 3

    no echo-cancel enable

    no comfort-noise

    cptone BR

    translation-profile incoming EBT_BSOD

    !

    mgcp fax t38 ecm

    !

    dial-peer voice 100 voip

    description LOCAL

    destination-pattern [2-6].......

    rtp payload-type cisco-codec-fax-ack 111

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    37/96

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-serverincoming called-number .T

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 101 voip

    description LONGA_DISTANCIA

    destination-pattern 0[1-9].[1-9][1-9][2-9].......$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad!

    dial-peer voice 102 voip

    description A_COBRAR_LOCAL

    destination-pattern 9090........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 103 voip

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    38/96

    description A_COBRAR_LONGA_DISTANCIA

    destination-pattern 90[^0][^0]..........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alawvoice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 104 voip

    description ZERO_800

    destination-pattern 0800......T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestampsfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 105 voip

    description ZERO_300

    destination-pattern 0300......T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    39/96

    !

    dial-peer voice 106 voip

    description INTERNACIONAL

    destination-pattern 00.T

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2session target sip-server

    dtmf-relay rtp-nte

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 107 voip

    description Servicos Publicos

    destination-pattern 1..T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol pass-through g711alaw

    no vad

    !dial-peer voice 108 voip

    description LOCAL CELULAR

    destination-pattern [7-9].......

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 109 voip

    description IG - Provedores

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    40/96

    destination-pattern 1[5-9]......

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 101

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    !

    dial-peer voice 110 voip

    description ZERO_500

    destination-pattern 0500......T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestampsfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 114 voip

    description LONGA_DISTANCIA 9 digito SP

    destination-pattern 0[1-9].[1-9][1-9]9........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    41/96

    !

    dial-peer voice 115 voip

    description LONGA_DISTANCIA servicos

    destination-pattern 0[1-9].[1-9][1-9]1..T

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 116 voip

    description A_COBRAR_LOCAL 9 digito SP

    destination-pattern 90909........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-serverdtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 117 voip

    description A_COBRAR_LONGA_DISTANCIA

    destination-pattern 90[^0][^0][1-9][1-9]9........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    42/96

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    !

    dial-peer voice 118 voip

    description Servicos Publicos

    destination-pattern 19.rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alaw

    voice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol pass-through g711alaw

    no vad

    !

    dial-peer voice 119 voip

    description LOCAL CELULAR 9 DIGITO

    destination-pattern 9........$

    rtp payload-type cisco-codec-fax-ack 111

    rtp payload-type cisco-codec-fax-ind 110

    rtp payload-type nse 102

    rtp payload-type nte 97

    modem passthrough nse codec g711alawvoice-class codec 1

    session protocol sipv2

    session target sip-server

    dtmf-relay rtp-nte

    playout-delay mode fixed no-timestamps

    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

    no vad

    !

    dial-peer voice 10 pots

    description INBOUND - LOCAL ISDN

    destination-pattern 215946[5-9][0-9]< exemplo numero chave do cliente - faixa de ramais MCDU 4650 4699>

    progress_ind alert strip 8

    direct-inward-dial

    forward-digits 4

    port 0/0/0:15

    !

    dial-peer voice 11 pots

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    43/96

    description PABX - Chamada a cobrar

    destination-pattern 90.T

    forward-digits 4

    progress_ind alert strip 8

    direct-inward-dial

    port 0/0/0:15

    !sip-ua

    sip-server ipv4:

    !

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    44/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    45/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    46/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    47/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    48/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    49/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    50/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    51/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    52/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    53/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    54/96

    Regra 1 mantm os nmeros completos (prefixo + MCDU) recebidos na faixa fornecida para o

    Regra 2 acrescenta o prefixo 7100 a um MCDU recebido na faixa fornecida ao cliente Regra 3 Converte qualquer nmero com qualquer quantidade de dgitos no nmero chave.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    55/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    56/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    57/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    58/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    59/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    60/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    61/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    62/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    63/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    64/96

    Observaes

    liente;

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    65/96

    #sysname YELLOW_VIAGENS#domain default enable system#telnet server enable

    #undo ip http enable#password-recovery enable#local-user EBTpassword cipher PRO1ANauthorization-attribute level 3service-type telnetundo local-user admin##traffic classifier NetworkControl operator and

    if-match dscp cs2 cs6 cs7traffic classifier voz operator andif-match dscp eftraffic classifier class_default operator andtraffic classifier Sinaliz-SIP operator andif-match dscp cs3#traffic behavior NetworkControlqueue af bandwidth pct 2traffic behavior vozqueue ef bandwidth pct 93 cbs-ratio 25traffic behavior class_default

    gts cir 2600remark dscp defaulttraffic behavior Sinaliz-SIPqueue af bandwidth pct 4#qos policy SHAPE-OUTclassifier voz behavior vozclassifier Sinaliz-SIP behavior Sinaliz-SIPclassifier class_default behavior class_defaultclassifier NetworkControl behavior NetworkControl##controller E1 1/0

    timeslot-set 1 timeslot-list 1-15,17-31signal r2tdm-clock internalidlecode ffcable shortframe-format no-crc4code hdb3#cas 1mode brazil default-standardre-answer enable

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    66/96

    ani all#

    PARA ACESSO ETHERNET

    #interface Ethernet0/0port link-mode route

    description YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)duplex fullspeed 100bandwidth 2600ip address 189.52.113.34255.255.255.252qos max-bandwidth 2600qos apply policy SHAPE-OUT outbound#

    PARA ACESSO FRAME-RELAY

    #fr class WAN_OUTcir allow 2600000

    cbs 26000cir 2600000apply policy SHAPE-OUT outbound#interface Serial2/0description YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)link-protocol fr nonstandardfr interface-type dcefr lmi type nonstandardfr traffic-shapingfr traffic-policingbandwidth2600

    qos max-bandwidth 2600#interface Serial2/0.1 P2Pdescription YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)ip address 189.52.113.34255.255.255.252qos reserved-bandwidth pct 99fr dlci 100fr-class WAN_OUT#####

    #voice-setupcptone country-type BRcptone tone-type dial-tone amplitude 1500distinguish-localtalkvoip timer voip-to-pots 30vqa dscp signal cs3#sipproxy ipv4 189.52.61.117port 5060

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    67/96

    keepalive options interval 5#sip-server#call-rule-set#call-route

    #dial-programdefault entity compression 2nd-level g729br8default entity compression 3rd-level g711alawdefault entity compression 4th-level g729r8default entity fax protocol standard-t38default entity fax protocol standard-t38 hb-redundancy 0default entity fax protocol standard-t38 lb-redundancy 0default entity modem protocol pcm standard g711alawdefault entity payload-size g729 20terminator #number-match longestnumber-priority peer enable

    #number-substitute 100dot-match left-rightrule 1 ^328068..$ 328068..rule 2 ^68..$ 328068..rule 3 ^....$ 32806888rule 4 ^........$ 32806888##entity 10 potsline1/0:1send-number 4

    description Ramais PABXmatch-template 328068[0-9][0-9]send-ring#entity 11 potsline 1/0:1send-number 4description PABX - Chamada a cobrarmatch-template 9090328068[0-9][0-9]send-ring#entity 100 voipaddress sip proxy

    description LONGA_DISTANCIAmatch-template 0[1-9].[1-9][1-9][2-9].......#entity 101 voipaddress sip proxydescription LONGA_DISTANCIA_9match-template 0[1-9].[1-9][1-9]9........#entity 102 voipaddress sip proxy

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    68/96

    description A_COBRAR_LOCALmatch-template 9090........#entity 103 voipaddress sip proxydescription A_COBRAR_LONGA_DISTANCIAmatch-template 90[1-9].[1-9][1-9][2-9].......

    #entity 104 voipaddress sip proxydescription ZERO_800match-template 0800......T#entity 105 voipaddress sip proxydescription ZERO_300match-template 0300......T#entity 106 voipaddress sip proxy

    description INTERNACIONALmatch-template 00.T#entity 107 voipaddress sip proxydescription Servicos Publicosmatch-template 1..T#entity 108 voipaddress sip proxydescription LOCAL CELULARmatch-template [7-9].......

    #entity 109 voipaddress sip proxydescription IG Provedoresmatch-template 1[5-9]......#entity 110 voipaddress sip proxydescription ZERO_500match-template 0500......T#entity 114 voipaddress sip proxy

    description A_COBRAR_LONGA_DISTANCIA_9match-template 90[1-9].[1-9][1-9]9[7-9].......#entity 116 voipaddress sip proxydescription A_COBRAR_LOCAL_9 digito SPmatch-template 90909........#entity 117 voipaddress sip proxy

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    69/96

    description Celular_LOCAL_9 digito SPmatch-template 9........#entity 118 voipaddress sip proxydescription LOCALmatch-template [2-6].......

    #entity 119 voipaddress sip proxydescription Longa_Distancia_Servicos_Publicosmatch-template 0[1-9].[1-9][1-9]1..T#entity 120 voipaddress sip proxydescription Servios_Publicosmatch-template 19.#aaa-client#

    subscriber-line1/0:1undo cng-onecho-canceller enabledtmf threshold digital 1substitute calling 100hunt-group enable#ip route-static 0.0.0.0 0.0.0.0 189.52.113.33#header motd %||========================================|| SOMENTE USUARIOS AUTORIZADOS

    AUTHORIZED USERS ONLY OS ACESSOS SERAO MONITORADOS||=======================================||%#user-interface tty 12user-interface aux 0user-interface vty 0 4authentication-mode scheme#return

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    70/96

    ! Hostname

    ! Slot onde a placa E1 esta instalada. Por padro usa-se o slto 3/0 e 3/1.

    ! Quantidades de canais.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    71/96

    ! Sip server.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    72/96

    Regras de substituio. Para este caso o numero chave era 32806888, e a faixa de ramais eram de 6800 a 6899.Quando no for possivel sumarizar, precisamos configurar linha a linha.

    ! Porta da E1

    ! Esta regra precisa englobar todos os numeros do cliente, caso necessrio criar mais de uma.

    ! Porta da E1

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    73/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    74/96

    ! Porta da E1

    ! Rota default, configurar o ip do PE Embratel

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    75/96

    #sysname YELLOW_VIAGENS#domain default enable system#telnet server enable

    #undo ip http enable#password-recovery enable#local-user EBTpassword cipher PRO1ANauthorization-attribute level 3service-type telnetundo local-user admin##traffic classifier NetworkControl operator and

    if-match dscp cs2 cs6 cs7traffic classifier voz operator andif-match dscp eftraffic classifier class_default operator andtraffic classifier Sinaliz-SIP operator andif-match dscp cs3#traffic behavior NetworkControlqueue af bandwidth pct 2traffic behavior vozqueue ef bandwidth pct 93 cbs-ratio 25traffic behavior class_default

    gts cir 2600remark dscp defaulttraffic behavior Sinaliz-SIPqueue af bandwidth pct 4#qos policy SHAPE-OUTclassifier voz behavior vozclassifier Sinaliz-SIP behavior Sinaliz-SIPclassifier class_default behavior class_defaultclassifier NetworkControl behavior NetworkControl##controller E1 1/0

    pri-set timeslot-list 1-31frame-format crc4tdm-clock internal

    PARA ACESSO ETHERNET

    #interface Ethernet0/0port link-mode routedescription YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)duplex full

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    76/96

    speed 100bandwidth 2600ip address 189.52.113.34255.255.255.252qos max-bandwidth 2600qos apply policy SHAPE-OUT outbound#

    PARA ACESSO FRAME-RELAY

    #fr class WAN_OUTcir allow 2600000cbs 26000cir 2600000apply policy SHAPE-OUT outbound#interface Serial2/0description YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)link-protocol fr nonstandardfr interface-type dcefr lmi type nonstandard

    fr traffic-shapingfr traffic-policingbandwidth2600qos max-bandwidth 2600#interface Serial2/0.1 P2Pdescription YELLOW | 2600K | BHE/VL/3132806888 | (BHE/VL/3132806888)ip address 189.52.113.34255.255.255.252qos reserved-bandwidth pct 99fr dlci 100fr-class WAN_OUT#

    #interface Serial1/0:15isdn protocol-type dss1isdn protocol-mode networkisdn overlap-sendingisdn l3-timer T302 5#voice-setupcptone country-type BRcptone tone-type dial-tone amplitude 1500distinguish-localtalkvoip timer voip-to-pots 30vqa dscp signal cs3

    #sipproxy ipv4 189.52.61.117port 5060keepalive options interval 5#sip-server#call-rule-set#call-route

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    77/96

    #dial-programdefault entity compression 2nd-level g729br8default entity compression 3rd-level g711alawdefault entity compression 4th-level g729r8default entity fax protocol standard-t38default entity fax protocol standard-t38 hb-redundancy 0

    default entity fax protocol standard-t38 lb-redundancy 0default entity modem protocol pcm standard g711alawdefault entity payload-size g729 20terminator #number-match longestnumber-priority peer enable#number-substitute 100dot-match left-rightrule 1 ^328068..$ 328068..rule 2 ^68..$ 328068..rule 3 ^....$ 32806888rule 4 ^........$ 32806888

    ##entity 10 potsline1/0:15send-number 4description Ramais PABXmatch-template 328068[0-9][0-9]send-ring#entity 11 potsline 1/0:15send-number 4

    description PABX - Chamada a cobrarmatch-template 9090328068[0-9][0-9]send-ring#entity 100 voipaddress sip proxydescription LONGA_DISTANCIAmatch-template 0[1-9].[1-9][1-9][2-9].......#entity 101 voipaddress sip proxydescription LONGA_DISTANCIA_9match-template 0[1-9].[1-9][1-9]9........

    #entity 102 voipaddress sip proxydescription A_COBRAR_LOCALmatch-template 9090........#entity 103 voipaddress sip proxydescription A_COBRAR_LONGA_DISTANCIAmatch-template 90[1-9].[1-9][1-9][2-9].......

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    78/96

    #entity 104 voipaddress sip proxydescription ZERO_800match-template 0800......T#entity 105 voip

    address sip proxydescription ZERO_300match-template 0300......T#entity 106 voipaddress sip proxydescription INTERNACIONALmatch-template 00.T#entity 107 voipaddress sip proxydescription Servicos Publicosmatch-template 1..T

    #entity 108 voipaddress sip proxydescription LOCAL CELULARmatch-template [7-9].......#entity 109 voipaddress sip proxydescription IG Provedoresmatch-template 1[5-9]......#entity 110 voip

    address sip proxydescription ZERO_500match-template 0500......T#entity 114 voipaddress sip proxydescription A_COBRAR_LONGA_DISTANCIA_9match-template 90[1-9].[1-9][1-9]9[7-9].......#entity 116 voipaddress sip proxydescription A_COBRAR_LOCAL_9 digito SPmatch-template 90909........

    #entity 117 voipaddress sip proxydescription Celular_LOCAL_9 digito SPmatch-template 9........#entity 118 voipaddress sip proxydescription LOCALmatch-template [2-6].......

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    79/96

    #entity 119 voipaddress sip proxydescription Longa_Distancia_Servicos_Publicosmatch-template 0[1-9].[1-9][1-9]1..T#entity 120 voip

    address sip proxydescription Servios_Publicosmatch-template 19.#aaa-client#subscriber-line1/0:15undo cng-onecho-canceller enabledtmf threshold digital 1substitute calling 100hunt-group enable#

    ip route-static 0.0.0.0 0.0.0.0 189.52.113.33#header motd %||========================================|| SOMENTE USUARIOS AUTORIZADOS AUTHORIZED USERS ONLY OS ACESSOS SERAO MONITORADOS||=======================================||%#user-interface tty 12user-interface aux 0

    user-interface vty 0 4authentication-mode scheme#return

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    80/96

    ! Hostname

    ! Valor da banda do circuito

    ! Slot onde a placa E1 esta instalada. Por padro usa-se o slto 3/0 e 3/1.

    ! Quantidades de canais.

    ! Descrio do circuito, encontrada no SAIP.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    81/96

    ! Velocidade do circuito.! IP de Wan.! Valor da banda do circuito

    ! Slot onde a placa E1 esta instalada, seguido de :15.

    ! Sip server.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    82/96

    Regras de substituio. Para este caso o numero chave era 32806888, e a faixa de ramais eram de 6800 a 6899.Quando no for possivel sumarizar, precisamos configurar linha a linha.

    ! Porta da E1

    ! Esta regra precisa englobar todos os numeros do cliente, caso necessrio criar mais de uma.

    ! Porta da E1

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    83/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    84/96

    ! Porta da E1

    ! Rota default, configurar o ip do PE Embratel

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    85/96

    Script GW AG30 Cenrio VIPLINE Sin. R2 entre PABX e CPE

    !

    interface ethernet 1

    description [DESCRIO ACESSO SAIP]

    ip address [IP SERIAL USUARIO SAIP]255.255.255.252

    bandwidth [BANDWIDTH SAIP]

    multicast

    speed auto

    no shutdown

    !

    no access-list sequence-numbers

    ip domain lookup

    !

    no ip pmtu-discovery

    no ip ftp server

    ip ftp banner CPE

    ip ftp passv 6000 6003

    !

    ip http server

    ip telnet server

    ipv6 hop-limit 64

    ipv6 fragment time 60

    !

    ip route static inter-vrf

    ip route 0.0.0.0/0 [IP BORDA EMBRATEL]

    ipv6 route static inter-vrf

    !

    sip

    user EX-USER

    protocol udp port 5060

    codec g729

    codec fax g711u

    no vad

    dtmf inband

    cid from uri

    no prack

    no compact-headers

    account 1- -

    no auth-user

    display-name [1 NUMERO DA FAIXA DE RAMAIS - 8 DIGITOS]

    contact [1 NUMERO DA FAIXA DE RAMAIS - 8 DIGITOS]

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    86/96

    no restricted-id

    allow-simult

    server 1

    !

    UTILIZAR DA FORMA ABAIXO CASO EXISTA A NECESSIDADE DE CRIAR UM RANGE DE ACCOUNTS:

    !

    account range 1-50- - -

    -allow-simult

    server 1

    !

    vsp 1

    only-proxy local-ip

    server [IP SIP ACESSO - SAIP]

    no did display-name

    no did contact

    no did restricted-id

    no expire-time

    sip-port 5060

    no proxy-server

    cid from uri

    dtmf outband

    codec g729

    codec fax t38

    no vad

    protocol udp

    prack

    no compact-headers timeout 2

    no 180-sdp

    no remote-codec

    no shutdown

    !

    no vsp 2

    no vsp 3

    no vsp 4

    no vsp 5

    no integrated-sip

    rtp port-range 10000 12000 dscp ef-class

    dscp ef-class

    !

    !

    no aaa new-model

    !

    line console

    !

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    87/96

    line vty

    password PRO1AN

    !

    !

    !

    no ntp authenticate

    banner motd ^!

    ||========================================||

    SOMENTE USUARIOS AUTORIZADOS

    AUTHORIZED USERS ONLY

    OS ACESSOS SERAO MONITORADOS

    ||=======================================||

    ^

    session-timeout 5

    service password-encryption

    hostname [HOSTNAME]

    !

    !

    UTILIZAR DA FORMA PARA PABX R2

    pbx

    digital-line 1

    type master r2 bra

    digits 4

    idc

    timeout 4

    line-signaling incoming digital outgoing digital

    register-signaling incoming mfc outgoing mfc channels [QUANTIDADE DE CANAIS]

    no co number

    no co ld-code

    occupation decreasing

    !

    UTILIZAR DA FORMA PARA PABX ISDN

    pbx

    digital-line 1

    type master isdn

    digits 4

    channels [QUANTIDADE DE CANAIS]

    occupation increasing

    !

    group voip slot 0 type bidirectional

    group voip slot 0 description VOZ-VOIP

    group e1 slot 0 type bidirectional

    group e1 slot 0 description VOZ

    redirection input voip-operator groups 0 from * to * output e1 groups 0 from {From} to {To:-4}

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    88/96

    redirection input e1 groups 0 from ^334400[0-5][0-9]$ to * output voip-operator groups 0 from {From} to {To}

    redirection input e1 groups 0 from ^00[0-5][0-9]$ to * output voip-operator groups 0 from 3344{From} to {To}

    redirection input e1 groups 0 from * to * output voip-operator groups 0 from [TRONCO CHAVE]to {To}

    !

    end

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    89/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    90/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    91/96

    Modificar as regras abaixo conforme a necessidade de cada cl

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    92/96

    Mantm os nmeros completos (prefixo + MCDU) recebidos na faixa fornecida para o cliente;

    Acrescenta o prefixo 3344 a um MCDU recebido na faixa fornecida ao cliente

    Converte qualquer nmero com qualquer quantidade de dgitos no nmero chave.

    ATENO: MANTER AS REGRAS SEM ADIO DE ESPAO, SEGUINDO O MODELO DO EXEMPLO.

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    93/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    94/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    95/96

  • 8/10/2019 Procedimento Ativao-Migrao Vip Line V21

    96/96

    Exemplo de n chave e faixa - 33440000 (0000 0059)