Displaying 4 results from an estimated 4 matches for "addremove".
2007 Jan 23
1
DB_DELETE Function in 1.4
...this:
exten => s,n,DBDel(AGENT/${MACRO_EXTEN:1})
DBDel is marked as deprecated in favor of the DB_DELETE function but it
returns a warning when using it with a dialplan application like Set:
exten => s,n,Set(DB_DELETE(AGENT/${MACRO_EXTEN:1}))
Will return:
-- Executing [s@macro-queue-addremove:202] Set("SIP/2146-b6f09f30",
"DB_DELETE(AGENT/2109)") in new stack
[Jan 23 16:51:24] WARNING[4010]: pbx.c:5827 pbx_builtin_setvar: Ignoring
entry 'DB_DELETE(AGENT/2109)' with no = (and not last 'options' entry)
and it doesn't delete the database entry.
W...
2007 Oct 26
0
Queue() problems
...) as a replacement
for the deprecated AgentCallbackLogin(), but I get _tree_
Queue()'s.
Massaged extensions.conf (can provide the original if need be):
----- s n i p -----
[default]
include => agent-loginout
include => local
; ----------
[agent-loginout]
exten => _100.,n,Macro(queue-addremove,I${EXTEN:3},dispatch,10)
[macro-queue-addremove]
exten => s,1,Goto(${ARG1:0:1})
exten => s,n(I),AddQueueMember(${ARG2},Local/${ARG1:1}@agents,${ARG3});
exten => s,n,Macro(queue-success,${ARG1:0:1})
[macro-queue-success]
exten => s,1,Playback(agent-loginok);
[local]
exten => 2403,1...
2006 Dec 01
1
app_sql_postgres gone in 1.4
Hi,
I'm putting together a system to manage agents with Realtime, and
without chan_agent. In 1.2.13, there's a handy (although marked as deprecated in apps/Makefile) PGSQL application to let me do this:
macro queue-addremove(queuename,penalty) {
switch(${MACRO_EXTEN:0:1})
{
case I: // Login
PGSQL(Connect connid host=XXX user=XXX password=XXX dbname=XXX);
PGSQL(Query resultid ${connid} INSERT INTO queue_member_table VALUES (\'${queuename}\'\,\'Local/${...
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces
previous postings of those patches.
The main difference is that the xl cfg file is now formatted using POD
instead of markdown and presented as a manpage.
I have setup a cron job to build docs/html and publish it at
http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now).
The motivation for some of these patches