Hello, I'm still using the mod_spidermonkey module. Haven't upgraded to the new version with V8. The wiki says the session.originate function is deprecated. Is there no way to originate a call using javascript? The page also mentions: api = freeswitch.API() api:execute("originate", "sofia/gateway/mygateway/123456789 9664") Should this be used instead? Regards, Grant
I believe you can supply a dialstring to the Session constructor to get the same effect. On 2 July 2014 14:21, Grant Bagdasarian <GB@cm.nl> wrote:
Hello,
I’m still using the mod_spidermonkey module. Haven’t upgraded to the new version with V8.
The wiki says the session.originate function is deprecated. Is there no way to originate a call using javascript?
The page also mentions:
api = freeswitch.API()
api:execute("originate", "sofia/gateway/mygateway/123456789 9664")
Should this be used instead?
Regards,
Grant
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Grant Bagdasarian
-
Steven Ayre