!
!
voice service voip 
 address-hiding
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 redirect ip2ip
 signaling forward unconditional
 fax protocol cisco 
 h323
  emptycapability
 sip
  bind control source-interface FastEthernet0/1
  bind media source-interface FastEthernet0/1
  referto-passing
  registrar server expires max 1200 min 300
  asserted-id pai
  privacy pstn
  early-offer forced
  midcall-signaling passthru
  sip-profiles 100
!
!
!
voice class codec 1
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
!
!
!
voice class sip-profiles 100
 request ANY sip-header From modify "<<removed>>" "<sip:<removed>>" 
!
!
!
!
!
!
!
!
!
!
voice-card 0
 dsp services dspfarm
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.0.254 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 h323-gateway voip interface
 h323-gateway voip bind srcaddr 192.168.0.254
!
interface FastEthernet0/1
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
ip forward-protocol nd
!
!
ip http server
ip dns server
ip nat inside source list 99 interface FastEthernet0/1 overload
!
access-list 99 remark NAT
access-list 99 permit 192.168.0.0 0.0.255.255
!
!
!
control-plane
!
!
!         
!
!
sccp local FastEthernet0/0
sccp ccm 192.168.0.1 identifier 1 priority 1 version 4.1 
sccp
!
sccp ccm group 30
 description == MTP_CUBE ==
 bind interface FastEthernet0/0
 associate ccm 1 priority 1
 associate profile 30 register MTP_CUBE_g711u
!
sccp ccm group 20
 description == Transcoding TRANS_CUBE ==
 bind interface FastEthernet0/0
 associate ccm 1 priority 1
 associate profile 20 register TRANS_CUBE
!
sccp ccm group 10
 description == MTP_CUBE ==
 bind interface FastEthernet0/0
 associate ccm 1 priority 1
 associate profile 10 register MTP_CUBE
!
dspfarm profile 20 transcode  
 description == Transcode profile 20 ==
 codec g711ulaw
 codec g711alaw
 codec g729ar8
 codec g729abr8
 maximum sessions 8
 associate application SCCP
!
dspfarm profile 10 mtp  
 codec g711alaw
 maximum sessions software 500
 associate application SCCP
!
dspfarm profile 30 mtp  
 codec g711ulaw
 maximum sessions software 500
 associate application SCCP
!
!         
dial-peer voice 10 voip
 description +++ZON+++
 service session
 destination-pattern .T
 voice-class codec 1
 session protocol sipv2
 session target dns:<removed>
 dtmf-relay rtp-nte
!
dial-peer voice 20 voip
 description +++CM+++
 destination-pattern 309800...
 voice-class codec 1
 session target ipv4:192.168.0.1
 session transport udp
 dtmf-relay h245-alphanumeric
!
!
gateway 
 timer receive-rtp 1200
!
sip-ua 
 credentials username <removed> password 7 <removed> realm <removed>
 authentication username <removed> password 7 <removed>
 no remote-party-id
 retry invite 2
 retry register 2
 registrar dns:<removed> expires 3600
 sip-server dns:<removed>
!
!
gatekeeper
 shutdown
!
!
line con 0
line aux 0
line vty 0 4
 no login
!
scheduler allocate 20000 1000
end