! voice service voip 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 pass-through g711ulaw sip midcall-signaling passthru media-change early-offer forced sip-profiles 11 ! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 ! ! voice class sip-profiles 11 request ANY sip-header Allow-Header modify "UPDATE, " "" response ANY sip-header Allow-Header modify "UPDATE, " "" request ANY sdp-header Connection-Info remove response ANY sdp-header Connection-Info remove ! ! ! ! voice register global default mode no allow-hash-in-dn ! ! ! ! voice translation-profile INCOMING translate calling 4 translate called 3 ! voice translation-profile outgoing-PSTN translate calling 2 translate called 1 ! voice translation-profile outgoing-PSTN-00 translate calling 2 ! ! ! ! redundancy mode none ! ! vlan internal allocation policy ascending ! ! translation-rule 3 ! ! ! ! ! ! interface GigabitEthernet0/0/0 description *** link with cucm *** ip address 192.168.60.250 255.255.255.0 negotiation auto ! interface GigabitEthernet0/0/1 description *** TO CPE  *** ip address 172.16.10.2 255.255.255.252 negotiation auto ! interface GigabitEthernet0/0/2 no ip address shutdown negotiation auto ! interface GigabitEthernet0 vrf forwarding Mgmt-intf no ip address negotiation auto ! interface Vlan1 no ip address shutdown ! ip default-gateway 192.168.60.254 ip forward-protocol nd no ip http server no ip http secure-server ip route 0.0.0.0 0.0.0.0 192.168.60.254 ip ssh version 2 ! ! ! ! ! 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 voice 1 voip description *** appels vers les numeros Internationaux *** translation-profile outgoing outgoing-PSTN destination-pattern ^000T session protocol sipv2 session target ipv4:172.16.10.1 voice-class codec 1 voice-class sip options-keepalive voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 2 voip description *** appels vers les numeros GSM *** translation-profile outgoing outgoing-PSTN destination-pattern ^0[24589].......$ session protocol sipv2 session target ipv4:172.16.10.1 voice-class codec 1 voice-class sip options-keepalive voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 3 voip description *** appels vers les numeros Fixes *** translation-profile outgoing outgoing-PSTN destination-pattern ^0[37].......$ session protocol sipv2 session target ipv4:172.16.10.1 voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 4 voip description *** appels vers les numeros Urgence *** translation-profile outgoing outgoing-PSTN destination-pattern ^019.$ session protocol sipv2 session target ipv4:172.16.10.1 voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 5 voip description *** appels vers les numeros serveurs vocaux *** translation-profile outgoing outgoing-PSTN destination-pattern ^01[1278]..$ session protocol sipv2 session target ipv4:172.16.10.1 voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 6 voip description *** Call Leg IN - Inbound calls from CPE *** translation-profile incoming INCOMING session protocol sipv2 incoming called-number ^711305[4-9].$ voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 11 voip description *** vers AA par CUCM-PUB *** destination-pattern ^7060$ session protocol sipv2 session target ipv4:192.168.60.12 voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/0 voice-class sip bind media source-interface GigabitEthernet0/0/0 dtmf-relay rtp-nte no vad ! dial-peer voice 21 voip description *** to CUCM-PUB *** destination-pattern ^[1-7]...$ session protocol sipv2 session target ipv4:192.168.60.12 voice-class codec 1 voice-class sip options-keepalive voice-class sip bind control source-interface GigabitEthernet0/0/0 voice-class sip bind media source-interface GigabitEthernet0/0/0 dtmf-relay rtp-nte no vad ! dial-peer voice 100 voip description *** From CUCM *** answer-address ^[1-7]...$ session protocol sipv2 voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 22 voip description *** Call Leg IN - inbound from CPE *** translation-profile incoming INCOMING session protocol sipv2 incoming called-number ^71234720$ voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad ! dial-peer voice 23 voip description *** Call Leg IN - inbound from CPE *** translation-profile incoming INCOMING session protocol sipv2 incoming called-number ^71755005$ voice-class codec 1 voice-class sip bind control source-interface GigabitEthernet0/0/1 voice-class sip bind media source-interface GigabitEthernet0/0/1 dtmf-relay rtp-nte no vad !