Hi, I cannot seem to get jsrun working on the windows win32 builds, the v8 modules dont seem to be there, is there something i'm missing? Thanks Robb
Is the module loaded? 'module_exists mod_v8', see if that returns true. Else try 'load mod_v8', see if its just not loaded. On Sun, Nov 16, 2014 at 7:05 PM, Robert Boardman <robb@boardman.me.uk> wrote:
Hi, I cannot seem to get jsrun working on the windows win32 builds, the v8 modules dont seem to be there, is there something i'm missing?
Thanks
Robb
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
We may have never bothered to get these to build on 32 bit. Is there a reason you can't use the 64 bit build? If not, i would strongly recommend using that instead.
On Nov 16, 2014, at 8:05 PM, Robert Boardman <robb@boardman.me.uk> wrote:
Hi, I cannot seem to get jsrun working on the windows win32 builds, the v8 modules dont seem to be there, is there something i'm missing?
Thanks for your replies, yes I need to run on win32 because someone bought the wrong windows version, how easy is it to convert the javascript to lua? shown below var exit = false; function onInput( session, type, data, arg ) { if ( type == "dtmf" ) { console_log( "info", "Got digit " + data.digit + "\n"); if ( data.digit == "5" ) { exit = true; return( false ); } else if ( data.digit == "#" ) { return( "seek:0" ); } else if ( data.digit == "1" ) { return( "seek:-500" ); } else if ( data.digit == "*" ) { return( "pause" ); } else if ( data.digit == "3" ) { return( "seek:+500" ); } return( true ); } } session = new Session('sofia/gateway/sipuser/789'); session.waitForAnswer(10000); if ( session.ready( ) ) { session.answer( ); while ( session.ready( ) && ! exit ) { session.streamFile( "c:/wamp/www/tmp/robb193497-tmp.wav", onInput ); session.hangup( ); } if ( session.ready( ) ) { session.hangup( ); } } Thanks Robb
If you build it yourself, it should be included when building for 32-bit. I'm not sure it's included in the pre-compiled packages though. 2014-11-18 0:19 GMT+01:00 Robert Boardman <robb@boardman.me.uk>:
Thanks for your replies, yes I need to run on win32 because someone bought the wrong windows version, how easy is it to convert the javascript to lua? shown below
var exit = false;
function onInput( session, type, data, arg ) { if ( type == "dtmf" ) { console_log( "info", "Got digit " + data.digit + "\n"); if ( data.digit == "5" ) { exit = true; return( false );
} else if ( data.digit == "#" ) { return( "seek:0" );
} else if ( data.digit == "1" ) { return( "seek:-500" );
} else if ( data.digit == "*" ) { return( "pause" );
} else if ( data.digit == "3" ) { return( "seek:+500" );
} return( true );
}
} session = new Session('sofia/gateway/sipuser/789'); session.waitForAnswer(10000);
if ( session.ready( ) ) { session.answer( ); while ( session.ready( ) && ! exit ) { session.streamFile( "c:/wamp/www/tmp/robb193497-tmp.wav", onInput ); session.hangup( ); } if ( session.ready( ) ) { session.hangup( );
}
}
Thanks Robb
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
if it builds fine then we should just add it to the packages, please open a jira On Tuesday, November 18, 2014, Peter Olsson <peter@olssononline.se> wrote:
If you build it yourself, it should be included when building for 32-bit. I'm not sure it's included in the pre-compiled packages though.
2014-11-18 0:19 GMT+01:00 Robert Boardman <robb@boardman.me.uk <javascript:_e(%7B%7D,'cvml','robb@boardman.me.uk');>>:
Thanks for your replies, yes I need to run on win32 because someone bought the wrong windows version, how easy is it to convert the javascript to lua? shown below
var exit = false;
function onInput( session, type, data, arg ) { if ( type == "dtmf" ) { console_log( "info", "Got digit " + data.digit + "\n"); if ( data.digit == "5" ) { exit = true; return( false );
} else if ( data.digit == "#" ) { return( "seek:0" );
} else if ( data.digit == "1" ) { return( "seek:-500" );
} else if ( data.digit == "*" ) { return( "pause" );
} else if ( data.digit == "3" ) { return( "seek:+500" );
} return( true );
}
} session = new Session('sofia/gateway/sipuser/789'); session.waitForAnswer(10000);
if ( session.ready( ) ) { session.answer( ); while ( session.ready( ) && ! exit ) { session.streamFile( "c:/wamp/www/tmp/robb193497-tmp.wav", onInput ); session.hangup( ); } if ( session.ready( ) ) { session.hangup( );
}
}
Thanks Robb
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
Hi, Have your tried contact Microsoft Support directly and ask if you can use your serial key to install a windows x64 bit instead of Win32. I got a case with Windows 7, the customer bought the wrong windows version for their workstations, they ask to Microsfot what they can do. At the end they just got a dvd installer for windows 64 bit and used the previous windwows key without problem. The key was valid for both and only the "package model" was the same, example, the same serial was valid for windows standard 32 o x64 but it become valid for windows enterprise. On 11/17/2014 06:49 PM, Robert Boardman wrote:
Thanks for your replies, yes I need to run on win32 because someone bought the wrong windows version, how easy is it to convert the javascript to lua? shown below
var exit = false;
function onInput( session, type, data, arg ) { if ( type == "dtmf" ) { console_log( "info", "Got digit " + data.digit + "\n"); if ( data.digit == "5" ) { exit = true; return( false );
} else if ( data.digit == "#" ) { return( "seek:0" );
} else if ( data.digit == "1" ) { return( "seek:-500" );
} else if ( data.digit == "*" ) { return( "pause" );
} else if ( data.digit == "3" ) { return( "seek:+500" );
} return( true );
}
} session = new Session('sofia/gateway/sipuser/789'); session.waitForAnswer(10000);
if ( session.ready( ) ) { session.answer( ); while ( session.ready( ) && ! exit ) { session.streamFile( "c:/wamp/www/tmp/robb193497-tmp.wav", onInput ); session.hangup( ); } if ( session.ready( ) ) { session.hangup( );
}
}
Thanks Robb
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
see scripts/lua/callback.lua On Mon, Nov 17, 2014 at 5:19 PM, Robert Boardman <robb@boardman.me.uk> wrote:
Thanks for your replies, yes I need to run on win32 because someone bought the wrong windows version, how easy is it to convert the javascript to lua? shown below
var exit = false;
function onInput( session, type, data, arg ) { if ( type == "dtmf" ) { console_log( "info", "Got digit " + data.digit + "\n"); if ( data.digit == "5" ) { exit = true; return( false );
} else if ( data.digit == "#" ) { return( "seek:0" );
} else if ( data.digit == "1" ) { return( "seek:-500" );
} else if ( data.digit == "*" ) { return( "pause" );
} else if ( data.digit == "3" ) { return( "seek:+500" );
} return( true );
}
} session = new Session('sofia/gateway/sipuser/789'); session.waitForAnswer(10000);
if ( session.ready( ) ) { session.answer( ); while ( session.ready( ) && ! exit ) { session.streamFile( "c:/wamp/www/tmp/robb193497-tmp.wav", onInput ); session.hangup( ); } if ( session.ready( ) ) { session.hangup( );
}
}
Thanks Robb
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (5)
-
Brian West
-
Michael Jerris
-
Peter Olsson
-
Robert Boardman
-
Saugort Dario Garcia Tovar