you are missing:
call-command: execute
and optionally:
event-lock: true // if you want this event to be exclusive until its done
and
async: true // if you are in sync mode and you want to do the command async
you might want to look at the ESL lib and use that instead of rolling your own event socket code which
usually generates many question and answer sessions like this one.
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900