voice class codec, g711 as first preference and g729 second
2. voice class h323 with timeout 3 3. dial-peer to match incoming call leg 4. two dial-peers to send calls to CCM. enable no vad on these dial-peers and al so dtmf-relay 5. 4 outgoing dial-peers for 911, local, long and international 6. enable qos for signaling voice class codec 1 codec preference 1 g711alaw (under most circumstances g711ulaw is enough, unless the site is in Europse or a country that uses alaw) codec preference 2 g711ulaw codec preference 3 g729r8 ! ! ! voice class h323 1 h225 timeout tcp establish 3 dial-peer voice 1 pots incoming called-number . direct-inward-dial port 1/0:1 dial-peer voice 2 voip destination-pattern 3 voice-class codec 1 voice-class h323 1 session target ipv4:10.1.21.39 dtmf-relay h245-alphanumeric ip qos dscp cs3 signaling no vad ! dial-peer voice 3 voip preference 1 destination-pattern 3 voice-class codec 1 voice-class h323 1 session target ipv4:10.1.21.38 dtmf-relay h245-alphanumeric ip qos dscp cs3 signaling no vad