okay so lets start with some of the basics then. this config has both IP configuation and SIP stuff in it.
ip cef
ip domain-name ALTER.NET
ip name-server primaryDNS
ip name-server secondary DNS
ip name-server Tertiary DNS
interface Multilink 3003
bandwidth 3072
! 2 x 1536 =3072 bandwidth for 2 T1s
ip address a.b.c.d e.f.g.h
no ip redirects
no ip proxy-arp
max-reserved-bandwidth 100
service-policy output PIP_ADVANTAGE
no ip mroute-cache
no peer neighbor-route
no cdp enable
ppp multilink
ppp multilink fragment disable
ppp multilink group 3003
this stuff is just setting up the IP connection and some of the underlying services like DNS
codec preference 1 g729r8
codec preference 2 g711ulaw
codec preference 3 g711alaw
this is for your codec preferences so by default you're looking at using G.729 as the default codec. This is compressed voice and takes up less bandwidth than the other codecs but faxes and other analog devices won't work with a compressed call so you need support for G.711 (u law in particular) for things like fax machines
class-map match-any Gold
match dscp cs5 ef
match access-group 140
class-map match-any AF4
match dscp cs4 af41 af42 af43
!
class-map match-any AF3
match dscp cs3 af31 af32 af33 cs6 cs7
!
class-map match-any AF2
match dscp cs2 af21 af22 af23
match access-group 142
policy-map PIP_ADVANTAGE
class Gold
priority x
!
class AF4
bandwidth remaining percent 40
random-detect
!
class AF3
bandwidth remaining percent 40
random-detect
!
class AF2
bandwidth remaining percent 16
random-detect
!
class class-default
bandwidth remaining percent 4
random-detect
access-list 140 permit udp any any tos 5
access-list 142 permit tcp any any eq pop3
access-list 142 permit tcp any eq pop3 any
access-list 142 permit udp any any eq 2049
access-list 142 permit udp any eq 2049 any
access-list 142 permit tcp any any eq www
access-list 142 permit tcp any eq www any
access-list 142 permit tcp any any eq ftp-data
access-list 142 permit tcp any eq ftp-data any
access-list 142 permit tcp any any eq ftp
access-list 142 permit tcp any eq ftp any
access-list 142 permit udp any any eq domain
access-list 142 permit udp any eq domain any
access-list 142 permit tcp any any eq 3306
access-list 142 permit tcp any eq 3306 any
this is mostly QOS stuff, the Default class there is setting up your ACL's for data
let's start with that. If that stuff makes sense, we'll go through some of the other stuff like the translations. If not, let me know what parts of this need more description or clarification.