Hello, your code looks OK, except of 2 parts, First, you don't need to use dev_Connect for this app, dx_listen/ipm_Listen pair would do all you need. Second: In your snippet I don't see how sc_tsinfo is defined, as long as the timeslot pointer. It looks like the structure gets overwritten before xx_Listen is called. I'm attaching here some working code what is doing what your app needs, it plays, records, sends digits etc. Please give it a try, the interface should be self-explanatory. Please let me know if you have questions on using or reviewing it. It's a quite old demo, compiled with VS 6.0, but it's easy to turn to VS 9+,.
↧