search for: myagent

Displaying 3 results from an estimated 3 matches for "myagent".

2009 Dec 14
3
hints through a Local channel
Hello all, I am trying to set up a dynamic channel to be used as an Agent dialer for a queue - you know, trying to replace AgentCallBackLogin for an Asterisk 1.6. I would like to do something like: [myagents] exten => XXX,1,Set(realchan=${DB(myagent/${EXTEN})}) exten => XXX,n,Dial(${realchan},tT,60) This basically fetches the actual channel to be used for dialling and dials it. What I would like now is to make app_queue aware in advance of the state of each channel, something like: exten =>...
2010 Feb 26
2
Problem accessing sub-methods of functions stored in a vector
...DECLARED list( set_id = function(newid) { id <<- newid }, get_id = function(newid) { return(id) }, # LOTS MORE SUB FUNCTIONS ) } If I create a variable to hold this function, I can then access all the subfunctions without problem Example: myAgent = agent(1) myAgent$get_id() # Works fine However, once this function is stored in a vector, I can no longer access the subfunctions. agents = c(agent(1), agent(2)) agents[[1]] # This shows the set_id function only, unnamed agents[[1]]$get_id() # Leads to error below: Error in agents[[1]]$get_...
2005 Jul 27
3
reference counting in ssh-agent?
Hi, In a machine that I regularly use one console and remotely I have the line: eval `ssh-agent` In my .login, as per the ssh-agent(1) man page. Problem: when I log out, the ssh-agent process persists which is the correct behavior in some cases, but not in others. This means that periodically I have to kill off hundreds of ssh-agent processes as they are taking up a substantial amount of my