it is doable and here is the configuration
voice-card 0
dsp service dspfarm
sccp local (interface that you are using)
sccp ccm x.x.x.x(the ip address of the above interface) iden 1
sccp
sccp ccm group 1
asso ccm 1 pri 1
asso profi 1 reg LOCAL_XCODE_1
dspfarm profile 1 transc
codec g729r
max sess (specify how many sessions do you want)
associate application sccp
no shut
telephony-service
max-ephone 1
max-dn 1
ip source-address x.x.x.x(ip of the interface that you are using)
create cnf
sdspfarm uni 1
sdspfarm tag 1 LOCAL_XCODE_1
sdspfarm trans max sess x
voice service voip
all con s t s
dial-peer voice 1 voip
destination-pattern 1111
session target ipv4:x.x.x.x
session protocol sip
codec g711u
dial-peer voice 2 voip
destination-pattern 1111
session target ipv4:x.x.x.x
session protocol sip
codec g729r
dial-peer voice 3 voip
incoming called .
codec g711u
dial-peer voice 4 voip
incoming called .
this configuration should work with your setup.
waiting for your reply