**************************************************************************
This configuration assumes a Type of Service of 0xB8 in Asterisk and in
the phones. Set it in sip.conf or iax.conf [general] tos=0xB8
**************************************************************************
! Corporate HQ
!
! IOS Version 12.3
!
hostname gw-1.corporate
!
ip cef
!
class-map match-any voice-qos-class-map
match ip dscp ef
!
!
policy-map qos-policy-map
class voice-qos-class-map
priority 96
class class-default
bandwidth 1062
!
interface Serial1/0
description T-1 to Remote Office
bandwidth 1544
ip address 172.16.0.57 255.255.255.252
service-policy output qos-policy-map
!
**************************************************************************
**************************************************************************
! Remote Office
!
! IOS Version 12.3
!
hostname gw-1.remote-office
!
ip cef
!
class-map match-any voice-qos-class-map
match ip dscp ef
!
!
policy-map qos-policy-map
class voice-qos-class-map
priority 96
class class-default
bandwidth 1062
!
interface Serial1/0
description T-1 to Corporate HQ
bandwidth 1544
ip address 172.16.0.58 255.255.255.252
service-policy output qos-policy-map
!
**************************************************************************