Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] JavaScript apiExecute vs session.execute


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jcromes at gmail.com
Guest





PostPosted: Sun May 31, 2009 12:48 am    Post subject: [Freeswitch-users] JavaScript apiExecute vs session.execute Reply with quote

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
Back to top
mike at jerris.com
Guest





PostPosted: Sun May 31, 2009 1:11 am    Post subject: [Freeswitch-users] JavaScript apiExecute vs session.execute Reply with quote

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:

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

_______________________________________________
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
Back to top
jcromes at gmail.com
Guest





PostPosted: Sun May 31, 2009 11:06 am    Post subject: [Freeswitch-users] JavaScript apiExecute vs session.execute Reply with quote

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.


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services