Need your help to use "TDM" in Asterisk

Hi Developers,
Currently Asterisk has full control from user OFF-HOOK till ON-HOOK(Data’s are transmitted from caller to receiver through Asterisk and vise versa). But what I planned is to put a TDM switch. when a external ring arrives it will interrupt Asterisk. Asterisk will check for the extension to connect and it will pass appropriate commands to TDM which will establish a connection between caller and receiver in TDM. Now further data transfer occurs through TDM. So can some one help me, what are the files which are to modified to do this.

to be frank, the developers of Asterisk don’t tend to spend any time here … it’s much more a users forum than anything else.

you will get a better response on the -dev mailing lists … look at lists.digium.com/