[asterisk-users] groups and categories
Julian Lyndon-Smith
asterisk at dotr.com
Thu May 17 05:02:15 CDT 2012
I know that I should know this. But I'm having serious brain farts at the
moment.
I want to have a call be counted in a number of ways
outbound
inbound
potential
so, for example, a call comes into my dialplan, I want to add it to
TotalCalls (all calls inbound + outbound)
InboundCalls (all inbound calls)
Potenial (all inbound calls that may potentially enter a conference)
Potenial (all inbound calls that may potentially enter a conference by
conference name)
the potential category needs to be decremented when the call actually
enters a conference
so, I have
exten => _[0-9A-Za-z].,n,Set(GROUP(conference)=TotalCalls)
exten => _[0-9A-Za-z].,n,Set(GROUP(conference)=Inbound)
exten => _[0-9A-Za-z].,n,Set(GROUP(conference)= Potenial)
exten => _[0-9A-Za-z].,n,Set(GROUP()= Potenial_${CONFNAME})
group_count(inbound)
group_count(inbound at conference)
group_count(potential at conference)
group_count(potential_${CONFNAME} )
however, when the call enters the conference, I need to unset the potential
calls groups
how do I do this ?
/me feels very very stupid
Julian
--
Julian Lyndon-Smith
IT Director, Dot R Limited
"I don’t care if it works on your machine! We are not shipping your
machine!”
The kangaroo dances: http://www.youtube.com/watch?v=MAWl5iYOaUg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120517/93571f00/attachment.htm>
More information about the asterisk-users
mailing list