def record path, params={}, &block
      args = [path, params[:limit]].compact.join(" ")
      application "record", args, &block
    end
def record path, params={}, &block
      args = [path, params[:limit]].compact.join(" ")
      application "record", args, &block
    end
Records a message, with an optional limit on the maximum duration of the
 recording.
 @example Without limit
   record "/path/to/new/file.wac"
 @example With 20 second limit
   record "/path/to/new/file.wac", :limit => 20
 @see http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record