@ -94,7 +94,7 @@ class App extends lapis.Application
[freeswitch: "/freeswitch"]: respond_to {
POST: =>
uid = @params["user"] or @params["sip_auth_username"]
@user = Users\find id: uid
@user = Users\find extension: uid
if not @user
return status: 404, "no such user"