implement AGI and AOCMessage commands