Try to configure the T1 as a channelized PRIs:
controller T1 0
framing esf
clock source line secondary 6
linecode b8zs
pri-group timeslots 1-24
The serial0 would be
interface Serial0
no ip address
shutdown
no fair-queue
clockrate 2015232
and the assosiated channels 23 would be
interface Serial0:23
no ip address
dialer rotary-group 1
isdn switch-type primary-4ess
isdn tei-negotiation first-call
isdn incoming-voice modem
isdn T321 0
no cdp enable
Best,
Plamen