Displaying 20 results from an estimated 81 matches for "queuename".
2009 Jul 22
3
ExecIf and empty variables (early evaluation)
Imagine that you have this code:
exten => _X!,n,Set(foo=${QUEUE_WAITING_COUNT(${QueueName})}))
If ${QueueName} happens to be unset, this will cause a warning:
[Jul 22 14:26:17] ERROR[8114]: app_queue.c:5187
queue_function_queuewaitingcount: QUEUE_WAITING_COUNT requires an
argument: queuename
The obvious solution:
exten => _X!,n,ExecIf($["${QueueName}" != ""]?S...
2007 Jul 07
1
Channel name in queue log replaced by a manager event?
Under 1.4.5 and 1.4.6, I've seen a few instances where the channel name in
queue log entries is replaced by a snippet of a manager event:
--START--
1183582823|1183582823.104763|queuename|SIP/XXXX|REMOVEMEMBER|
1183582828|1183582793.104744|queuename|
Context: macro-dialout
Extension: s
Priority: 3
Application: GotoIf
AppData: 0?blockclid
Uniqueid: 1183582822.104759
|CONNECT|12|1183582816.104754
1183582833|1183582485.104605|queuename|SIP/XXXX|AGENTATTEMPT|
---END---
--START--
11837...
2010 Jul 11
1
Is a device a member of a queue?
I'm looking for a function I can put in my dial plan that tells me if
a device is a member of a queue, but I can seem to find one. Basically
I want to be able to dial to join a queue and if I'm already on the
queue, leave......
exten => 4,1,GotoIf(${is_queue_member(queuename,SIP/${ext})}?leave:join)
exten => 4,n(leave),RemoveQueueMember(queuename,SIP/${ext})
exten => 4,n,Hangup
exten => 4,n(join),AddQueueMember(queuename,SIP/${ext})
or simular, If such a function exists it would be very handy....
The only way I can see of doing this is to use
queue_member_li...
2008 Mar 13
2
queue log vs. cdr
Hi,
Surely, I must be overlooking something. If I run the
following SQL queries I don't get the same number of
rows. Is this coherent?
mysql> select * from queue_log where queuename =
'4010' and FROM_UNIXTIME(time) between 20080308000000
and 20080313145900 group by callid;
357 rows in set (0.01 sec)
mysql> select * from cdr where dst = 4010 and calldate
between 20080308000000 and 20080313145900 group by
uniqueid;
219 rows in set (0.19 sec)
Thanks!
_____...
2003 Jul 01
6
Enhanced queue app
...;
To: "Greg Vance" <gvance@digium.com>
Sent: Thursday, June 26, 2003 4:19 PM
Subject: Re:
>> Greg,
>> Just to be clear.
>>
>> Agent picks up phone and dials extension to 'login app':
>>
>> exten => 750,1,QueueLogin(<QueueName>)
>>
>> or dials extension for 'logout app':
>>
>> exten => 751,1,QueueLogout(<QueueName>).
>>
>> Caller ID capture could be used for agent phone number, possibly
>> confirming number to agent.
>>
>> By the...
2003 Jun 23
5
dynamic queue channels
Hi, I'm trying to build a call center application that allows attendants
to come in the morning and dial a certain extension to make their
extension available.
I wouldn't like to use the AgentLogin app because their line would need
to stay off-hook (is this correct?)
Is there any SET channel status command that would allow me to do
something like this?
PauloHM
-------------- next
2011 May 03
1
How to debug MixMonitor misbehaviour
...needed - just fill in the same variables.
exten => _XXX.,1,Set(QDIALER_QUEUE=q-${EXTEN:0:3})
exten => _XXX.,n,Set(QDIALER_NUMBER=${EXTEN:3})
exten => _XXX.,n,Set(QDIALER_AGENT=Agent/${CALLERID(num)})
exten => _XXX.,n,Set(QDIALER_CHANNEL=ZAP/g0/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
*exten => _XXX.,n,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV,b,)*
exten => _XXX.,n,Goto(qm-queuedial,s,1)
CLI output:
-- Called 4904166356574 at queuedial/n
-- Executing [4904166356574 at queuedial:1]
Set("Local/4904166356574 at queuedial-d851,2", "QDI...
2007 Jul 05
1
Missing TRANSFER event in queue log when using Local Channels
...FER events. Without it, the 'h' extension gets invoked as soon as the
call is bridged to the agent.
My agent context looks like this:
[agents]
exten => 491,1,Dial(SIP/491,20)
exten => h,1,PauseQueueMember(|${CUT(CHANNEL,,1)})
When I do something along the lines of:
AddQueueMember(queuename,Local/XXXX at agents)
Then as soon as the call is bridged, my 'h' extension gets run:
-- Executing [491 at agents:1] Dial("Local/491 at agents-c002,2", "SIP/491")
in new stack
-- Called 491
-- SIP/491-00aa22d0 is ringing
-- Local/491 at agents-c002,1 is...
2010 Jan 04
1
Realtime Queue Members Not Ringing
...queue.
So my question is this, is this fixed in 1.6.x? Or does anyone else even
see this as a problem/bug? Might I suggest a fix of if the queue is
empty upon entry of a call, Asterisk checks back every 15 seconds (or
whatever) to refresh the queue member list.
Btw, if a 'queue show <queuename>' is done from CLi, or
QUEUE_MEMBER_COUNT() is used it will grab a new member list, and the
call will ring through. Just seems like a bad behavior.
Any thoughts?
--Robert
2015 Jan 28
2
queue show <queue-name> vs queue log for calculating average hold time
...we look at
17s holdtime
And assume that is the average hold time before calls get answered by a
queue members.
However, if I calculate the average hold time from out queue log table
using the following SQL
select sum(data1)/ count(*) as ave_hold_time from queue_log where time >
DATE(NOW()) and queuename='<queue_name>' and event='CONNECT';
I get the vastly different figure of 92.4.
So, is the queue show figure wrong due to a bug or am I making an incorrect
assumption as to what it means?
Thanks in advance
Ish
--
Ishfaq Malik
Department: VOIP Support
Company: Packnet Lim...
2016 Oct 20
2
queue_log/cel sqlite
...gt;
> sqlite3 /var/lib/asterisk/realtime.sqlite3
>
> CREATE TABLE "queue_log" ("time" TEXT, "data1" TEXT, "data2" TEXT, "data3"
> TEXT, "data4" TEXT, "data5" TEXT, "event" TEXT, "agent" TEXT, "queuename"
> TEXT, "callid" TEXT);
>
> and it works
>
> sqlite> select * from queue_log;
> 2016-10-20 11:40:36.628804||||||QUEUESTART|NONE|NONE|NONE
> 2016-10-20 11:40:36.690313||||||CONFIGRELOAD|NONE|NONE|NONE
>
> column types needs modification to something more...
2010 Sep 16
5
AGI Delimiter in 1.6
Hi
I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things
I do on INVITES is to re-authenticate the user from OpenSER. Then when
the INVITE gets passed to Asterisk I capture the AUTH to a variable in
the dialplan and pass to an AGI script. I am now trying to set the
same thing up in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the
2007 Sep 20
1
Queue Question
I'm curious if anyone has implemented the following:
Need to setup an on-call queue, that activates after 5PM and de-activates at 8AM, also that activates/deactivates on demand(I'm thinking a feature code here). The "agents" need to log in via cell phones, and when calls come in from outside to the asterisk system, it'll need to call the cell phone agents that are active.
2006 Oct 25
2
Multiple queue_log files based on queue - is it possible??
Hello List,
Question: Has anyone been able to create multiple queue_log files in
/var/log/asterisk for multiple queues?
We are designing a multi-tenant system and separating the log files
would be useful, instead of dropping all queue actions into one file.
Is it possible this is a user configurable option I am missing?
Cheers,
--
------
Christopher T Aloi
------
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/${MACRO_EXTE...
2009 Sep 30
1
EXTENSION_STATE Asterisk 1.6
Hi
I've a queue which has generic zap extensions (of my legacy PBX which is
connected to asterisk via cross over on span 4 ) logged in ..The legacy pbx
extensions are able to logon to queue perfect.. but Whenever a call comes in
queue the status of that extension in "queue show <queuename>" always shows
as "NOT IN USE" instead of ringing or In use as shown in a SIP extension..My
question is there anyway to register custom generic zap extensions onto the
hints and get the status via extension state command ..alternatviley how can
I show the device status as "In...
2009 Oct 23
1
how to announce the agent answering in a queue to the caller
Hi to all
i'm using Asterisk 1.4 and need to announce something like
'The operator answering to you call is XXX'
to the caller, is it possible to do that using an AGI script ?
The syntax in Asterisk 1.4 is
Queue(queuename[|options][|URL][|announceoverride][|timeout][|AGI])
So, setting up an appropriate AGI script can i play an audio file (or
create it with some tts) to the call?
After the AGI script the call is linked with the operator even if
there is an Answer into the AGI?
Thanks to all
--
/*************/
ni...
2009 Oct 26
1
state_interface backport issue
...niqueid` int(10) unsigned NOT NULL auto_increment,
`membername` varchar(40) default NULL,
`queue_name` varchar(128) default NULL,
`interface` varchar(128) default NULL,
`penalty` int(11) default NULL,
`paused` int(1) default NULL,
`state_interface` varchar(128) NOT NULL,
Data:
1, Name, QUEUENAME, Local/1050 at agents/n, 1, , SIP/100
Local agents are setup setup in an 'agents' context.
[agents]
exten => 1050,1,Set(agentsip=${DB(agent_sip/1050)}
exten => 1050,2,Dial(SIP/${agentsip})
Queue shows the agent as unavailable when the SIP device (SIP/100) is
down. (as I would hope...
2010 Sep 13
2
Correct queue agi syntax in 1.6.2.11
Hello list,
what is the correct syntax ?
exten => s,n,Queue(${queuename},,,,${timeout},cleanpickup.agi^${CHANNEL})
[Sep 13 10:23:58] WARNING[23551]: res_agi.c:886 launch_script: Failed to
execute
'/var/lib/asterisk/agi-bin/cleanpickup.agi^SIP/329909007906-0000017a':
File does not exist.
Kind regards,
Jonas.
-------------- next part --------------
An HT...
2011 Mar 11
1
Automatically unpause a paused queue memeber - bad idea?
I have some cases when I want to pause a queue member and automatically unpause the queue member after a specified time.
Right now I am doing it by a AMI script, but was thinking if it is possible to add a parameter to PauseQueueMember like,
PauseQueueMember([queuename],interface[,options[,reason[,time]]]) where time will be how long (in seconds) the interface
will be paused. before brought back.
Maybe it is a bad idea, I dont know, what do you think?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pip...