Author: nmartin Date: Thu Apr 16 23:50:32 2009 New Revision: 13073 Log: cleaned up licensing and attribution to original author Modified: freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/README freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/dial_by_name_directory.js Modified: freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/README ============================================================================== --- freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/README (original) +++ freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/README Thu Apr 16 23:50:32 2009 @@ -28,8 +28,8 @@ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -The original author of this work, Nik Martin, must be credited -as the original author of this work. +The original authors of this work, John Wehle, then Nik Martin, must be credited +as the original authors of this work. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES Modified: freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/dial_by_name_directory.js ============================================================================== --- freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/dial_by_name_directory.js (original) +++ freeswitch/trunk/scripts/contrib/nmartin/dial_by_name_directory/dial_by_name_directory.js Thu Apr 16 23:50:32 2009 @@ -11,6 +11,7 @@ If the prior author's claimed copyright is infringed by the one I claim we'll work it out, BUT I prefer a much looser MIT license: ============================================================== + Copyright (c) 2009 Nik Martin Permission is hereby granted, free of charge, to any person @@ -25,8 +26,8 @@ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -The original author of this work, Nik Martin, must be credited -as the original author of this work. +The original authors of this work, John Wehle, then Nik Martin, must be credited +as the original authors of this work. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES @@ -203,7 +204,13 @@ session.streamFile (recorded_name); break; } +//TODO: say <module_name> <say_type> <say_method> <text> << spell out the name if they have not recorded one yet + } + + session.execute ("phrase", "spell," + choice); +//TODO: prompt to see if they REALLY want this person, then go back up if not. + session.execute ("transfer", choice + " XML features"); exit(); \ No newline at end of file