Config follows:
interface t1 0/2
tdm-group 1 timeslots 1 speed 64
tdm-group 2 timeslots 2 speed 64
tdm-group 3 timeslots 3 speed 64
tdm-group 4 timeslots 4 speed 64
tdm-group 5 timeslots 5 speed 64
tdm-group 6 timeslots 6 speed 64
tdm-group 7 timeslots 7 speed 64
tdm-group 8 timeslots 8 speed 64
tdm-group 9 timeslots 9 speed 64
tdm-group 10 timeslots 10 speed 64
tdm-group 11 timeslots 11 speed 64
tdm-group 12 timeslots 12 speed 64
tdm-group 13 timeslots 13 speed 64
tdm-group 14 timeslots 14 speed 64
tdm-group 15 timeslots 15 speed 64
tdm-group 16 timeslots 16 speed 64
tdm-group 17 timeslots 17 speed 64
tdm-group 18 timeslots 18 speed 64
tdm-group 19 timeslots 19 speed 64
tdm-group 20 timeslots 20 speed 64
tdm-group 21 timeslots 21 speed 64
tdm-group 22 timeslots 22 speed 64
tdm-group 23 timeslots 23 speed 64
tdm-group 24 timeslots 24 speed 64
no shutdown
voice trunk T02 type t1-rbs supervision wink role network
description "PBX RBS"
resource-selection linear ascending [Use opposite direction from PBX to reduce glare]
caller-id-override number-inbound [Number to present as ANI from trunk]
caller-id-override emergency-outbound [Number to present as emergency ANI from trunk]
did digits-transferred 4 [Change to what PBX is configured to take if not 4]
connect t1 0/2 tdm-group 1
connect t1 0/2 tdm-group 2
connect t1 0/2 tdm-group 3
connect t1 0/2 tdm-group 4
connect t1 0/2 tdm-group 5
connect t1 0/2 tdm-group 6
connect t1 0/2 tdm-group 7
connect t1 0/2 tdm-group 8
connect t1 0/2 tdm-group 9
connect t1 0/2 tdm-group 10
connect t1 0/2 tdm-group 11
connect t1 0/2 tdm-group 12
connect t1 0/2 tdm-group 13
connect t1 0/2 tdm-group 14
connect t1 0/2 tdm-group 15
connect t1 0/2 tdm-group 16
connect t1 0/2 tdm-group 17
connect t1 0/2 tdm-group 18
connect t1 0/2 tdm-group 19
connect t1 0/2 tdm-group 20
connect t1 0/2 tdm-group 21
connect t1 0/2 tdm-group 22
connect t1 0/2 tdm-group 23
connect t1 0/2 tdm-group 24
modem-passthrough
rtp delay-mode adaptive
!
voice grouped-trunk PBX
trunk T02
accept [Pattern of incoming numbers to route to PBX]