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 <[email protected]>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 > [email protected] > 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:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
