I am trying to figure out if there is any API (or any way) by which I can dial a
call or hang up a call from inside my program

I found out one method ..that is . platformReuest() API.. but i can't seem to figure out how to hang up a call..

Could anyone pls help me out in this.

Thanks in advance.