the latest version returns an event with that data in it similar to the api method.


On Mon, Dec 21, 2009 at 2:48 AM, Ron McLeod <ron.freeswitch@mcleodnet.com> wrote:

When I try and perform an operation on a channel which has gone, an error is returned.  How can I detect this using the ESL?  execute() and sendRecv() always return 0 (zero) regardless of whether the command returns +OK or –ERR.

 

sendmsg 5d09753c-ede7-11de-85c6-27ab474dd533

call-command: execute

execute-app-name: hangup

execute-app-arg: UNALLOCATED_NUMBER

 

Content-Type: command/reply

Reply-Text: -ERR invalid session id [5d09753c-ede7-11de-85c6-27ab474dd533]

 

Thanks,

Ron


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
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