Displaying 20 results from an estimated 10000 matches similar to: "Do I understand GROUPs correctly?"
2007 Jul 17
5
Asterisk PRI Busy Problem
Hi,
I've an PRI coming to my asterisk ,calls are coming fine and my agents are
able to answer no prob. but I've an agreement with my telco with some
incoming no if the no of calls on these no are more then 3 then send to
another no. they use busy signal to divert call on another number so I'm
sending the call to Congestion() if no of calls in this group are more then
3. But my
2005 Oct 16
1
GROUP and GROUP_COUNT
I have a macro and when I call it I have something like this:
exten => s,1,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)})
exten => s,n,Set(GROUP()=MYGROUP) ;Set Group
exten => s,n,NoOp(Group List: ${GROUP_LIST()})
exten => s,n,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)})
The GROUP_COUNT returns zero before the call to GROUP but also returns 0 after
the call to GROUP.
If I
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
2006 Jan 10
0
Max calls & IAX2 trunking
Is it possible to increment a call group (Max_Calls) from one server to
the next server?
I'm trying to set a maximum call limit between two facilities (2
Asterisk servers) using Set Group. I want the limit to be set at 4.
The problem with the code that I have in place, is it allows for 4 on
each server, hence the possibility of maxium of 8 concurrent calls.
I need to be able to, when 1
2010 Jun 05
1
Problem with GROUP()
Hello list,
using asterisk 1.4.30 and trying GROUP() and GROUP_COUNT() for the first
time... Having some troubles.
This the dialplan (using a sub) :
exten => s,n,Set(_custID=${custID})
exten => s,n,GROUP(${custID})
exten => s,n,NoOp(grouppcount = GROUP_COUNT(${custID}))
exten => s,n,GoToIf($[ ${GROUP_COUNT(${custID})} > 2 ]?maxreached)
The CLI shows :
[Jun 5 16:06:26] --
2009 Dec 15
2
member (In use)
Hello list.
We just upgraded to 1.6.1.11.
We are using real time information stored on mysql databases. That is all
running fine.
Now, since we upgraded, some member don't get calls from queues.
In CLI: "queue show" shows something like:
611 (Local/611 at agents) with penalty 20 (realtime) (*In use*) has taken no
calls yet
We use the extension 611 in different computers, in the
2008 Oct 10
2
Configuring Bandwidth.com SIP trunks to prevent one-way audio
Hello,
We have 2 SIP trunks from Bandwidth.com and if both are in use and someone
tries to dial out, they cause another call to get one-way audio (the caller
hears us, we cannot hear them). This happens 100% of the time and
Bandwidth.com doesn't offer any support. I don't see any setting that tells
Asterisk that there are 2 channels available from Bandwidth.com's IP. I'm
2010 Nov 05
1
GROUP_COUNT not counting correctly
Hello,
this is a test to add a channel to multiple GROUPs.
this is my dialplan :
exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40)})
exten => s,n,Set(GROUP(40)=40)
exten => s,n,NoOp(This channel is member of : ${GROUP_LIST()})
exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40)})
exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40L)})
exten => s,n,Set(GROUP(40)=40L)
exten =>
2006 Mar 24
3
iax limit question
I want to limit the number of simultaneous incoming
calls that my IAX DID can accept to, say, 2. The IAX
DID provider sets no limit.
The code below does work, but when the limit is in
effect, new callers hear a "call cannot be completed
as dialed.." message instead of a busy signal. Maybe
this is an issue with the provider, but I do not like
this and want callers to hear a busy signal.
2005 May 18
1
Mysql cmd with Asterisk Problems
Hello all:
I am trying to use the mysql command to retrieve information from a mysql
database.
my example here was formed from using the wiki reference to using the
mysql command.
The problem is with the fetch command.
Here is the macro code:
Mysql(QueryString=SELECT\ ivr-password\ from\ users\ where\ ivr-id=${userid})
Mysql(Query r ${connid} ${QueryString})
Mysql(Fetch fetchid ${r} dbuserpass)
2007 Jun 29
1
Fwd: Call Wainting dysfunctions
I am trying to implement a Centralized Call Waiting System. I have red
some document about asterisk group features to manage group and
category of a sip channel.
I have done a lot of test about it but always it doesn't work
correctly if I transfer the call.
This is the macro code I use for inbound calls.
[macro-test]
; ${ARG1} - technology something like SIP
; ${ARG2} - resource.
2015 Mar 20
0
Asterisk on OpenWrt (first time user)
Hello list,
I'm hoping that you could read through this mail and give me some tips
on how to improve my setup (functionality, security, really anything).
It's my first Asterisk installation and meant for simple home use.
I installed Asterisk 11 on an OpenWrt Barrier Breaker router. Currently
it's configured for Ekiga so I can test. In a few weeks I'll change to a
Telco SIP
2008 Oct 28
1
Dealing with progress codes
Hi,
I've ran into an issue with a PRI provider in a major metropolitan area that
I haven't needed to deal with before and I was hoping someone might have
some insight on how to handle this within the Asterisk dialplan.
At this location users can't always tell if a number is long distance or not
(there are a lot of area codes and prefixes in the vicinity). Additionally,
users are
2005 Sep 23
1
Dial() and BackGround()
Hello,
is it possible to use Dial() and BackGround() in combination? I try to
do something like this, but it is not working :( :
exten => isdn,1,Set(LANGUAGE()=de)
exten => isdn,2,Set(GROUP()=support)
exten => isdn,3,GotoIf($[${GROUP_COUNT()} > 1],?100) ;Full group
exten => isdn,2,Ringing()
exten => isdn,3,Dial(SIP/302,120,tT)
exten => isdn,5,Congestion
exten =>
2011 Apr 24
1
Realtime and priority labels
In the following example
exten => _1NXXNXXXXXX,1,Set(GROUP(outbound)=myprovider)
exten => _1NXXNXXXXXX,n,Set(COUNT=${GROUP_COUNT(myprovider at outbound)})
exten => _1NXXNXXXXXX,n,NoOp(There are ${COUNT} calls for myprovider)
exten => _1NXXNXXXXXX,n,GotoIf($[ ${COUNT} > 2 ]?denied : continue)
exten => _1NXXNXXXXXX,n(denied),NoOp(There are too many calls up)
exten =>
2008 Jan 28
2
Dial agent channel - busy
Hi,
when I'm trying to call the following extension
exten => 6002,1,Verbose(1|Extension 6002)
exten => 6002,n,Dial(Agent/6002)
exten => 6002,n,Hangup()
the call is terminated and I get the following warning from asterisk:
app_dial.c:1106 dial_exec_full: Unable to create channel of type 'Agent'
(cause 17 - User busy)
When calling the agent with Dial(SIP/6002) no problem
2004 Nov 06
5
SIP Groups
I am wondering if there is a way to create a SIP/IAX group of outgoing
lines like Zap groups.
I am currently using the following method, but would like to use
features such as ?g2? that would list all the accounts for a SIP or IAX
connection.
exten =>
_1NXXNXXXXXX,1,Dial(SIP/account_name:Password@gw5.voicepulse.com/${EXTEN
})
exten =>
2007 Nov 22
5
Odd bug in Siemens C460IP ?
Hello,
I think I have encountered an odd bug in Siemens C460 IP/dect handsets,
which is a bit annoying, and I'm not (yet) sure how to get round it without
lots of hacks.
Basically, on all external incoming calls, we set:
exten => s,n,SIPAddHeader(Alert-Info: Bellcore-dr2)
This causes handsets (i.e. Cisco 7960 / Grandstream / aastra) to set a
different ring cadence so to differentiate
2008 Aug 29
0
Asterisk cdr_mysql inexact values
I have a simple cdr configured with the default tables, here is a row of a
good cdr report
calldate | clid | src |
dst | dcontext | channel | ect ..... ect
....
2008-08-29 10:16:49 | "C. BOUTON" <40> | 40 | XXXXXXXXXXX | phonesystems |
SIP/40-08776938 | ect ..... ect ....
I have replaced the number by
2010 Apr 02
3
Asterisk send calls to SIP Trunks with Round Robin Call Distribution
Hi All,
I know I can do this pretty easily with one of the SIP Proxy/Routers, I
already do this using OpenSER as a load balancer.
I have a special requirement that insist an Asterisk server, 1.6.1.x, is
used. I will have 2 SIP trunks coming into the server and I will have to
send calls to these SIP trunks with a round robin distribution pattern. I
was thinking of using a group count