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