voice service voip ip address trusted list ipv4 192.168.42.29 ipv4 192.168.42.30 ipv4 192.168.42.31 mode border-element 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 redirect ip2ip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface FastEthernet0/0/1---------->interface goes to pstan bind media source-interface FastEthernet0/0/1 min-se 300 session refresh header-passing error-passthru registrar server early-offer forced midcall-signaling passthru ! voice class codec 1 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g729r8 codec preference 4 g729br8 ! ! ! voice class server-group 1 ipv4 192.168.42.31 ------->cucm ipv4 192.168.42.30 preference 1 -------------->cucm ipv4 192.168.42.29 preference 2 -------------->cucm ipv4 30.16.1.1 preference 3 -------------->router interface ! ! voice register global mode esrst no allow-hash-in-dn system message WAN is Down max-dn 100 max-pool 100 ! voice register pool 1 id network 30.116.0.0 mask 255.255.0.0 ----->IP Phone Range dtmf-relay rtp-nte codec g711ulaw no vad dial-peer voice 1 voip translation-profile incoming 1 incoming called-number . dtmf-relay rtp-nte codec g711alaw no vad ! dial-peer voice 3 voip description To-CUCM-PUB destination-pattern 44.. session protocol sipv2 session transport tcp session server-group 1 dtmf-relay rtp-nte sip-notify sip-kpml codec g711alaw no vad ! dial-peer voice 2 voip description call to PSTN translation-profile outgoing 2 destination-pattern .T session protocol sipv2 session target ipv4:10.30.1.4:5166 dtmf-relay rtp-nte codec g711alaw no vad ! dial-peer voice 4 voip redirect ip2ip ! ! gateway timer receive-rtp 1200 ! sip-ua registrar ipv4:30.16.1.1 expires 3600