Displaying 3 results from an estimated 3 matches for "notloggedin".
2012 Aug 23
1
GotoIf redirection to label not working correctly
...> internal, and run through the [internal] context as follows:
[internal]
exten => _3XX,1,NoOp()
same => n,Set(E=${EXTEN})
same => n,Set(${E}_VMCONTEXT=${HOTDESK_INFO(vmcontext,${E})})
same => n,Set(USER_LOCATION=${HOTDESK_USER_STATUS(${E})})
same => n,GotoIf($[${ODBCROWS} < 1]?notloggedin)
same => n,Dial(SIP/${USER_LOCATION},20,wWU(blf-begincall^${E}^INUSE)b(blf-begincall^s^1(${E}^RINGING)))
same => n,Voicemail(${E}@${${E}_VMCONTEXT},b)
same => n,Hangup()
same => n(notloggedin),Set(LOGGED_OFF=1)
same => n,Voicemail(${E}@${${E}_VMCONTEXT},u)
same => n,Hangup()
In b...
2006 Jan 12
2
Web services and login?
Has anyone managed to do this? I thought about using sessions but they
dont want to work for me... Here''s what I''m doing as a little test:
class NotLoggedIn < Exception
end
class ProjectsController < ApplicationController
wsdl_service_name ''Projects''
web_service_api ProjectsApi
def Login
@session[:loggedIn] = true
end
def GetProjects
if @session[:loggedIn]
return Project.find(:all)
else
raise NotLogged...
2013 Mar 12
0
Calls getting "stuck open"
...LERID(num)=${${WHO}_CID_NUMBER})
same => n,Goto(users,${EXTEN},1)
[users]
include => internal
[internal]
exten => _1XX,1,Verbose(5,Internal user - ${EXTEN})
same => n,Set(E=${EXTEN})
same => n,Set(USER_LOCATION=${HOTDESK_USER_STATUS(${E})})
same => n,GotoIf($[${ODBCROWS} < 1]?notloggedin)
same => n,Dial(SIP/${USER_LOCATION},20,wWU(blf-begincall^${E}^INUSE)b(blf-begincall^s^1(${E}^RINGING)))
same => n,Voicemail(${E}@rsnwo,b)
same => n,Hangup()
same => n(notloggedin),Set(LOGGED_OFF=1)
same => n,Voicemail(${E}@rsnwo,u)
same => n,Hangup()
[blf-begincall]
exten =>...