lib/fsr/command_socket.rb in freeswitcher-0.1.4 vs lib/fsr/command_socket.rb in freeswitcher-0.3.0
- old
+ new
@@ -14,10 +14,10 @@
unless login
raise "Unable to login, check your password!"
end
end
- # Method to authenticate to FreeSWITCH
+ # login - Method to authenticate to FreeSWITCH
def login
#Clear buf from initial socket creation/opening
response
# Send auth string to FreeSWITCH
self << "auth #{@auth}"