CAD/MDT Calls System

I need help with creating a call system. I have the UI layout for it but I just need to make it so it adds to active calls. Can anyone help me with this?