CallKit - Can I auto-hang up a phone call made on my app?

I am looking for a way to end a phone call made through my app to another person using the same app after a certain amount of time. I am new to Swift / X-Code and new to the CWC course! I hope you can be of some help.
Regards,
Jude