Displaying 20 results from an estimated 7000 matches similar to: "AEL #include"
2006 Jan 28
3
(Un)PauseQeueMamber usage
Does anyone have an example of hoe to use these two commands? I have read he
documentation, and I am still unclear on where this command goes, as part of
extensions.conf or where?
If someone could post a working example it would be most helpful.
Regards to all,
Joe
2006 Nov 16
2
installing asterisk for Ubuntu Synaptic
I have an Ubuntu system and went into Synaptic and checked asterisk for
installation. Once installed, I started it with /usr/sbin/asterisk -vvvgc
and got the following output with several errors and notices. Do I need to
do more or are these ok? I expected to have some conf files in
/etc/asterisk but there is nothing there.
Thanks!
Created by Mark Spencer <markster@digium.com>
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
Gang,
I'm having this error pop up when I do a ForkCDR, and I'm not sure how
to get around it. Here are a few log lines:
Nov 8 10:37:08 VERBOSE[28079] logger.c: -- Executing
ForkCDR("Zap/49-1", "") in new stack
Nov 8 10:37:08 WARNING[28079] app_forkcdr.c: Channel does not have a
CDR
The scenario occurs like this:
I use a .call file to generate a call on
2009 May 15
2
Logging In / Out Agents on Asterisk 6 ???
Hi everybody
Did anybody by any chance ever work out how to log in and out agents on
Asterisk 6+?
I used to have it working perfect in Asterisk 1.2 but since I upgraded to 6
the agent login functions are gone and the readme file that came with it
made no sense to me.
I noticed somebody on the net posted that they had the same problem but used
Voicemail to authenticate users, but that seemed a
2011 Mar 03
6
[1.4] Forcing Asterisk/Zaptel to wait until callee answers?
Hello
I need to write a script that will dial a list of customers and play
a message.
I couldn't find a way to tell Asterisk/Zaptel to wait until the callee
has actually picked up the phone before proceeding with Playback():
============
;call made through Dial(): Doesn't proceed after off-hook/hangup
[internal]
exten => 8888,1,Dial(Zap/1/${IPPI})
exten => 8888,n,NoOp(We never
2009 Apr 22
1
Queue() Ignore Hangup Request
I saw a few posts of this problem before I could not figure out the
reason I am getting it.
I am running RHEL 5, Asterisk 1.4.21.2, zaptel 1.4.11 and libpri 1.4.4
Basically, if I dial into a queue and hang up the phone, Asterisk did
not detect the hangup request and Asterisk will only hang up when the
timer expires.
There is no such problem if I do not use Queue().
Any thoughts?
Here is my
2008 Jun 13
1
AEL Help
I need help translating extensions.conf to AEL:
[default]
exten => _X.,1,Set(DID=${EXTEN:6})
exten => _X.,n,Goto(continue,1)
exten => _1X.,1,Set(DID=${EXTEN:7})
exten => _1X.,n,Goto(continue,1)
exten => continue,1,Noop(${DID})
exten => continue,n,Set(GROUP(IAX)=incoming)
exten => continue,n,GotoIf($[${MATH(${GROUP_COUNT(incoming at IAX)}+${GROUP_COUNT(outgoing at
2009 Jul 15
1
ResetCDR after GotoIf doesn't set dst correctly, Is this a bug?
(Both on Asterisk 1.2 and 1.4)
I was struggling to find out why my CDR was recording dst = h after a call
hangup. It was working fine until I added a GotoIf statement before ResetCDR
to calculate some value for userfield column. Today I tested and found out
that if ResetCDR is put after GotoIf (or after if in AEL), it doesn't record
correct value in dst column, and isntead puts 'h'
2007 Apr 30
1
Simple dial plan inquiry
Hi all,
This is a simple concept, however I'm not entirely comfortable with
available applications and functions available to me to make this happen.
I have a simple dialout macro such as the following:
[macro-dialout];
arg1 = callerid number;
arg2 = phone numberl
exten => s,1,Set(CALLERID(number)=${ARG1})
exten => s,2,GotoIf($[${LEN(${ARG2})} = 10]?3:4)
exten =>
2007 Jan 08
1
No CDR from Outbound Call
I have a little call recording script that I am running and it works
fine, but I have one problem. I get CDR when a user calls into the
extension, but I do not get CDR for the call that it makes outbound on #
17. Any idea why? Here is the extensions info:
[default]
exten => 2211,1,Answer
exten => 2211,2,Wait(1)
exten => 2211,3,Playback(/etc/asterisk/recording/getshop)
exten =>
2005 Oct 15
6
ACD calls to busy agents
One of my friends is facing this problems and I could not find any
solution to that. Hence this post.
In her Asterisk PBX, she has programmed about 10 agents, and strategy is
rrmemory. Everything works fine. When an agent has received an ACD call,
another call is not presented to him as long as he is on the ACD call.
However when an agent has made an outgoing call, he is still presented
another
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work!
Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says
"the context for the voicemail box that we're looking for in the dialplan for the jump to the
2008 Dec 05
1
Gosubs broken since r160626 (1.6.0 SVN) ?
Hi all,
I've just upgraded to latest 1.6.0 SVN from a few days ago and my Gosubs
have stopped working.
This is from the verbose logs:
-- Executing [03333407271 at incoming-aaisp:4] GotoIf("IAX2/aaisp-3802",
"1?5:7") in new stack
-- Goto (incoming-aaisp,03333407271,5)
-- Executing [03333407271 at incoming-aaisp:5] Gosub("IAX2/aaisp-3802",
2005 Sep 26
1
system() app changed drastically! How do I use it now?
We upgraded to the latest version of asterisk (because we needed some
newer features), only to find all our PIN applications accepting any
number the caller makes up!
I traced this to the System application completely changing the way it
deals with success or failure of the program it calls.
Previously, if the PIN was completely bogus, we exited with -1, which
caused asterisk to jump to priority
2007 May 30
3
Dial plan inquiry using GotoIf()
Hi all,
I'm looking for some rudimentary insight on GotoIf() which seems to be
failing on me in my dial plan. All I basically wish to do is block a
particular caller. Sounds easy enough, but my ternary operator/plan
currently is not properly being implemented. Can anyone spot where I'm
being a momo?
All extensions get forwarded to the following macro:
[macro-forward]
; arg1 = phone
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}" !=
2009 May 03
2
Asterisk not starting up due to database problems
When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off?
Thanks
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk
2010 May 26
2
Getting 'username' of sip peer
Hello,
I have a few entries for sip peers in sip.conf with different name and
username, like
[TestSIPUser]
type=peer
host=dynamic
username=testuser
secret=1234
context=test_context
[TestNewUser]
type=peer
host=dynamic
username=newsipuser
secret=3456
context=test_context
When a call is made from any of these peers I want to get the username
of the peer.
for eg:- If a call is being made from
2009 Feb 26
3
call-limit on a per destination basis
Hello,
I use asterisk to to IAX2 trunking between London POP & Reunion Island pop.
I would like to know if it's possible to do a kind of call-limit (i.e.
restrict to XX) channels but on a per dialcode and / or destination basis.
For example:
[trunk]
; reunion proper, i want to send no more than 24 channels
exten => _0262XXXXXX,1,Dial(IAX2/mytrunk/${EXTEN})
; reunion mobile, i want
2010 Dec 07
1
No MOH with parked call
Hi,
Has anybody else noticed that MOH does not play on parked calls in
1.6.2.14? Or is it just my setup? MOH seems to work in every other
respect (Call Held or in-Queue), but when a call is parked, the logs
show MOH being started, but the parked party hears nothing.
The verbose logs show the following. Any thoughts on whet to check next?
Thanks,
Steve
### Call comes in here and is answered