Cleaned up ending calls, added support for executing api commands on freeswitch