! version 15.5 service timestamps debug datetime msec localtime service timestamps log datetime msec localtime service password-encryption service internal service sequence-numbers ! hostname BE6K-GW-SP ! boot-start-marker boot-end-marker ! ! card type e1 0 0 no logging queue-limit no logging buffered no logging rate-limit enable secret 5 $1$cg9k$AV29DxoxTjBenjJyGixIg. ! aaa new-model ! ! ! ! ! ! ! aaa session-id common ethernet lmi ce network-clock-participate wic 0 network-clock-select 8 E1 0/0/0 ! ! ! ! ! ! ! ! ! ! ! ip vrf x rd 1:1 route-target export 1:1 route-target import 1:1 ! ! ! ! no ip domain lookup ip domain name lineatech.com.br ip host ns.ciscolocal.com 172.27.199.1 ip host ntp.ciscolocal.com 172.27.199.1 ip host pcp.ciscolocal.com 172.27.199.10 ip host plm.ciscolocal.com 172.27.199.11 ip host ucm-pub.ciscolocal.com 172.27.199.11 2001::172:27:199:11 ip host ucn1.ciscolocal.com 172.27.199.12 ip host imp1.ciscolocal.com 172.27.199.13 ip host s1-dgw.ciscolocal.com 172.27.199.1 ip host s1-ns.ciscolocal.com 172.27.199.1 ip host s1-vgw.ciscolocal.com 172.27.199.1 ip host s1-ntp.ciscolocal.com 172.27.199.1 ip host s1-cimc1.ciscolocal.com 172.27.199.2 ip host s1-esxi1.ciscolocal.com 172.27.199.4 ip host _cisco-uds._tcp.ciscolocal.com srv 0 1 8443 ucm-pub.ciscolocal.com ip host _cuplogin._tcp.ciscolocal.com srv 0 1 8443 imp1.ciscolocal.com ip cef no ipv6 cef multilink bundle-name authenticated ! ! ! ! isdn switch-type primary-net5 ! ! voice-card 0 ! ! ! voice service voip ip address trusted list ipv4 192.168.0.0 255.255.255.0 ipv4 10.255.0.0 255.255.0.0 ipv4 10.81.234.0 255.255.255.0 ipv4 10.7.75.0 255.255.255.0 ipv4 172.16.27.0 255.255.255.0 address-hiding allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip no supplementary-service sip moved-temporarily no supplementary-service sip refer fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip header-passing registrar server expires max 3600 min 120 asserted-id pai midcall-signaling passthru pass-thru headers unsupp pass-thru subscribe-notify-events all pass-thru content unsupp pass-thru content sdp ! ! ! ! voice iec syslog ! ! voice translation-rule 1 rule 1 /^11\(........\)/ /0\1/ rule 2 /^\(.*\)/ /0015\1/ ! voice translation-rule 2 rule 1 /.+551130741111/ /399/ rule 2 /1130741111/ /399/ ! voice translation-rule 3 rule 1 /\(^9\)/ // rule 2 /\(^8\)/ // rule 3 /\(^7\)/ // ! ! voice translation-profile Entrada-SIP-VIVO translate calling 2 translate called 2 ! voice translation-profile Redial translate calling 1 ! voice translation-profile SAIDA-SIP-VIVO translate called 3 ! ! ! license udi pid CISCO2921/K9 sn FJC2016A2KZ license accept end user agreement hw-module pvdm 0/0 ! hw-module pvdm 0/1 ! hw-module sm 1 ! ! ! username telco secret 5 $1$6bwD$L50NoKtqMpuwuBsSc7hEx/ ! redundancy notification-timer 120000 ! ! controller E1 0/0/0 framing NO-CRC4 ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani cas-custom 0 country brazil metering debounce-time 10 release-guard-time 600 seizure-ack-time 78 double-answer answer-signal group-b 1 dnis-digits min 1 max 32 ani-digits min 1 max 32 ! bridge irb ! ! ! ! interface Embedded-Service-Engine0/0 no ip address shutdown ! interface GigabitEthernet0/0 no ip address duplex auto speed auto bridge-group 1 ! interface GigabitEthernet0/1 ip vrf forwarding x ip address 192.168.0.105 255.255.255.0 ip nat inside ip virtual-reassembly in duplex auto speed auto ! interface GigabitEthernet0/2 description SIP=VIVO ip address 10.7.75.154 255.255.255.248 ip nat outside ip virtual-reassembly in duplex auto speed auto ! interface ucse1/0 description Internal interface connected to UCSE Port 0 ip unnumbered GigabitEthernet0/0 ip virtual-reassembly in service-module heartbeat-reset disable imc ip address 192.168.0.101 255.255.255.0 default-gateway 192.168.0.1 imc access-port shared-lom console bridge-group 1 ! interface ucse1/1 no ip address ! interface Vlan1 no ip address ! interface BVI1 ip address 192.168.0.100 255.255.255.0 ip nat inside ip virtual-reassembly in h323-gateway voip interface h323-gateway voip bind srcaddr 192.168.0.100 ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ip nat inside source static 192.168.0.100 interface GigabitEthernet0/2 ip route 0.0.0.0 0.0.0.0 192.168.0.1 ip route 10.229.0.0 255.255.0.0 10.7.75.153 ip route 10.255.0.0 255.255.0.0 10.7.75.153 ip route vrf x 0.0.0.0 0.0.0.0 192.168.0.1 ip ssh version 2 ! ip access-list extended vivo-sip permit ip 192.168.0.0 0.0.0.255 10.255.0.0 0.0.255.255 permit ip 10.255.0.0 0.0.255.255 192.168.0.0 0.0.0.255 permit ip 192.168.0.0 0.0.0.255 10.7.75.0 0.0.0.255 permit ip 10.7.75.0 0.0.0.255 192.168.0.0 0.0.0.255 permit ip 10.81.234.0 0.0.0.255 10.255.0.0 0.0.255.255 permit ip 10.255.0.0 0.0.255.255 10.81.234.0 0.0.0.255 permit ip 10.81.234.0 0.0.0.255 10.7.75.0 0.0.0.255 permit ip 10.7.75.0 0.0.0.255 10.81.234.0 0.0.0.255 permit ip 192.168.0.0 0.0.0.255 any permit ip 192.168.0.0 0.0.0.255 10.229.0.0 0.0.255.255 permit ip 10.229.0.0 0.0.255.255 192.168.0.0 0.0.0.255 ! logging trap debugging ! route-map voip-sip permit 10 match ip address vivo-sip ! ! ! ! ! control-plane ! bridge 1 protocol ieee bridge 1 route ip ! voice-port 0/0/0:0 translation-profile incoming Redial cptone BR ! voice-port 0/3/0 connection plar 0044 ! voice-port 0/3/1 ! ! ! ! ! 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 ! sccp ccm 192.168.0.103 identifier 1 version 7.0 ! ! ! dial-peer voice 2 voip description CALLs to CUCM destination-pattern 00.. session target ipv4:192.168.0.103 incoming called-number .T codec g711ulaw ! dial-peer voice 100 pots destination-pattern 3702 direct-inward-dial port 0/3/0 forward-digits all ! dial-peer voice 1000 voip description CALLs from Predio to CUCM destination-pattern 1.. session target ipv4:192.168.0.103 codec g711ulaw ! dial-peer voice 101 pots destination-pattern 1318 direct-inward-dial port 0/3/0 forward-digits all ! dial-peer voice 1 pots description INBOUND Calls incoming called-number . direct-inward-dial port 0/0/0:0 ! dial-peer voice 10 pots description OUTBOUND CALLs preference 2 destination-pattern .T direct-inward-dial port 0/0/0:0 ! dial-peer voice 1002 voip translation-profile incoming Entrada-SIP-VIVO destination-pattern 1130743... session protocol sipv2 session target ipv4:192.168.0.103 voice-class sip dtmf-relay force rtp-nte voice-class sip bind control source-interface GigabitEthernet0/2 voice-class sip bind media source-interface GigabitEthernet0/2 dtmf-relay sip-info sip-kpml sip-notify rtp-nte codec g711ulaw ! dial-peer voice 1010 voip translation-profile outgoing SAIDA-SIP-VIVO preference 1 destination-pattern 9T session protocol sipv2 session target ipv4:10.255.240.111 voice-class sip dtmf-relay force rtp-nte voice-class sip bind control source-interface GigabitEthernet0/2 voice-class sip bind media source-interface GigabitEthernet0/2 dtmf-relay rtp-nte h245-signal h245-alphanumeric sip-notify codec g711ulaw ! dial-peer voice 1011 voip translation-profile outgoing SAIDA-SIP-VIVO preference 1 destination-pattern 8T session protocol sipv2 session target ipv4:10.255.240.111 voice-class sip dtmf-relay force rtp-nte voice-class sip bind control source-interface GigabitEthernet0/2 voice-class sip bind media source-interface GigabitEthernet0/2 dtmf-relay rtp-nte h245-signal h245-alphanumeric sip-notify codec g711ulaw ! dial-peer voice 1012 voip translation-profile outgoing SAIDA-SIP-VIVO preference 1 destination-pattern 7T session protocol sipv2 session target ipv4:10.255.240.111 voice-class sip dtmf-relay force rtp-nte voice-class sip bind control source-interface GigabitEthernet0/2 voice-class sip bind media source-interface GigabitEthernet0/2 dtmf-relay rtp-nte h245-signal h245-alphanumeric sip-notify codec g711ulaw ! ! ! ! gatekeeper shutdown ! ! ! line con 0 ! end BE6K-GW-SP#