You can try using the asterisk -r -x "CLI command" This allows you connect to the asterisk on the machine u run the command.
As for APIs have I have no ideas. May be the seniors can help you. Thank you.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users