Displaying 20 results from an estimated 2000 matches similar to: "ExecIf and empty variables (early evaluation)"
2008 Dec 04
2
set monitor_filename
Hi
I have this in my queue extension and I see this in asterisk when I call to the queue, but no file is created in the directory any ideas?
exten => s,1,Set(MONITOR_FILENAME=/var/spool/asterisk/queuecalls/QSAMPLE-${UNIQUEID})
-- Executing [s at kundservice:1] Set("SIP/0850001175-b7942770", "MONITOR_FILENAME=/var/spool/asterisk/queuecalls/QSAMPLE-1228382046.12")
Regards
2011 Feb 20
1
MEMBERINTERFACE and MEMBERNAME questions
Hi!
Did play around with queues and need some help. I thought that MEMBERINTERFACE and MEMBERNAME should be set to the ?device? the call was queued to not the device that called the queue, or do i miss something?
Running: Asterisk 1.8.2.3 built by root @ sip on a i686 running Linux on 2011-01-31 13:38:23 UTC
0317998985 calls Kinna (0320209030)
Tomas Ekman (SIP/0317998972) receives the call but
2007 Jul 13
1
QUEUE_WAITING_COUNT
Hi,
I'm playing around with the QUEUE_WAITING_COUNT function but it always
seems to return zero? I've tried everything. I suspect that this feature
is not implemented in 1.2.7 which I am running..
Does anyone know in which version this function was added?
Regards,
Jan
2006 May 23
2
Queue Count
Is there an Asterisk Application/Function/Variable that returns the current number of callers in a given queue?
Thanks,
Doug
2007 Aug 30
4
How to handle "+" prefix
Hi,
How can I have A*k convert a call from +441793xxxxxx to Dial
00441793xxxxxx instead?
With the "_+." Below I can "catch" the call, but EXTEN doesn't get set
as expected.. and then I need to figure out how to pass the call onto
the outgoing-pstn context. Not sure if a Goto would work here...
[outgoing-pstn-international]
exten => _+.,1,Set(EXTEN=00${EXTEN:+1})
exten
2008 Aug 21
2
Changing callerID in a context
Hello,
I am trying to alter the outbound callerID for extensions within a
context I have created.
I wrote the following:
exten => _9.,2,ExecIf($[$["${REALCALLERIDNUM}" = "360"] | $["$
{REALCALLERIDNUM}" = "670"]]|Set|CALLERID(num)=581560)
exten => _9.,3,ExecIf($[$["${REALCALLERIDNUM}" = "361"] | $["$
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
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
2011 May 03
1
How to debug MixMonitor misbehaviour
Hi everyone,
For some reason MixMonitor doesn't record when it should; It actually shows
the MixMonitor line just fine on the CLI. How can MixMonitor be debugged for
things like privilege issues or filename issues?
**I had this working at one point and then stopped working. Not sure what I
changed.
System Info:
Asterisk 1.4.21.2
Queuemetrics 1.6.3.0
[queuedial]
; this piece of dialplan is
2007 Jul 05
1
Missing TRANSFER event in queue log when using Local Channels
Has anyone observed a problem where using Local channels with AddQueueMember
results in missing TRANSFER events?
Right now I'm using straight SIP channels when I call AddQueueMember(). I'm
contemplating moving to Local channels because the non-state-based
wrapuptime blows when you have a channel in multiple queues (they can hang
up and get a call immediately so long as it's from a
2011 Aug 15
3
Queue Breakout Input being Ignored
Hello,
Raw stats:
Version:1.8.3.2
OS:Centos 5.6
Special setup: postgre database
I am having a few queue issues with Asterisk specifically relating to
breaking out from queues while on hold.
The intent is that while someone is on hold they can press a key (lets
say *) to break from the queue and go elsewhere (in this case to leave a
message).
However In all of my testing I am unable to get
2003 Jul 01
6
Enhanced queue app
To all who need more queue functionality,
We are contracting Digium to enhance the queue app for our call center needs. Please read the following email conversation and give your ideas. Unless a glaring omission is found in my specification we will have them start tomorrow (Wednesday). I may not have thought of something important. It will be released to all Asterisk users by Digium. Thanks for
2010 Jan 04
1
Realtime Queue Members Not Ringing
Hi,
So I'm using Asterisk Realtime Queues and Queue members on 1.4.28.
I've noticed if there are no people in the queue when a call enters,
even after a queue member enters, the call is never rang to him.
From the debug, it seems that Asterisk is only grabbing the queue
member list upon entering the queue. And not again until another call
enters the queue. As a result, a caller will
2019 Feb 13
6
trouble removing + sign
I'm using BLACKLIST() to check numbers, which does not like leading +
signs. I want to test if there is a plus sign, and then remove it.
I tried:
; strip leading plus sign
same => n, Verbose( callerid 0:1 is ${CALLERID(num):0:1} )
same => n,ExecIf($["${CALLERID(num):0:1}" = "+"]?Set(CALLERID(num) =
${CALLERID(num):1})
2015 Jan 28
2
queue show <queue-name> vs queue log for calculating average hold time
Hi
We're using 1.8.23.1 on CentOS 5 and are trying to get accurate stats for
queues.
For a particular customer, when I run queue show <queue_name> I get the
following numbers:
<queue_name> has 0 calls (max unlimited) in 'ringall' strategy (17s
holdtime, 94s talktime), W:0, C:175, A:44, SL:48.6% within 45s
So from that data we look at
17s holdtime
And assume that is the
2016 Oct 20
2
queue_log/cel sqlite
On Thu, Oct 20, 2016 at 4:50 AM, marek cervenka <cervajs2 at gmail.com> wrote:
> i tested this
>
> # cat /etc/asterisk/extconfig.conf
> [settings]
> queue_log => sqlite3,cdrDb
>
> # cat /etc/asterisk/res_config_sqlite3.conf
> [cdrDb]
> dbfile = /var/lib/asterisk/realtime.sqlite3
>
> sqlite3 /var/lib/asterisk/realtime.sqlite3
>
> CREATE TABLE
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
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
2009 Oct 26
1
state_interface backport issue
It's my understanding that the backport is available now in 1.4.
However, seem to be having some issues with it. Just wondering if I have
everything setup right.
I'm running 1.4.26.2 realtime.
queue_members:
`uniqueid` int(10) unsigned NOT NULL auto_increment,
`membername` varchar(40) default NULL,
`queue_name` varchar(128) default NULL,
`interface` varchar(128) default NULL,
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 HTML attachment was