JavaScript apiExecute vs session.execute
From JavaScript, what is the difference between apiExecute and session.execute? It seems they are mostly interchangable, in fact the Wiki gives examples of them doing identical operations. What advantages does one have over the other? Are there some things that cannot or should not be called from one or the other? Thanks!
apiExecute is for api commands (the ones you can run at the cli) and session.execute is for applications (the ones you run from the dialplan). Mike On May 31, 2009, at 1:43 AM, jcromes@gmail.com wrote:
From JavaScript, what is the difference between apiExecute and session.execute? It seems they are mostly interchangable, in fact the Wiki gives examples of them doing identical operations.
What advantages does one have over the other? Are there some things that cannot or should not be called from one or the other?
Thanks!
_______________________________________________ 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
Thanks, that clears it up nicely, although I'm not sure how I didn't figure that out before. I added some tweaks to the apiExecute and session.execute pages on the Wiki for the next guy who's confused.
participants (2)
-
jcromes@gmail.com
-
Michael Jerris