[asterisk-users] groups and categories

2012-05-17 Thread Julian Lyndon-Smith
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@conference)
group_count(potential@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
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] groups

2007-02-28 Thread Khaled
Dears 

 

Please how can create an independent group of users on asterisk ,in which
user on group A cant dial user on group B.

 

 

Thanks 

 

 

 

 

 

Khaled Chehab

System Integration Engineer

Xplorium Offshore.

Sakiet Al Janzir

Postal Code: 1102-2080

Tel: (961) 1- 868 686

Fax :(961) 1-808 810

GSM: (961) 3-979 343

 




*
No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] groups

2007-02-28 Thread Mohamed A. Gombolaty
Dear Khaled,

The way I would go to do so is to put  the group of people you want to
call each other in one context and the other people in an another
context. That's one way to do so.

Thx
MAG

Khaled wrote:

 Dears

 Please how can create an independent group of users on asterisk ,in
 which user on group A cant dial user on group B.

 Thanks

 Khaled Chehab

 System Integration Engineer

 Xplorium Offshore.

 Sakiet Al Janzir

 Postal Code: 1102-2080

 Tel: (961) 1- 868 686

 Fax :(961) 1-808 810

 GSM: (961) 3-979 343

 ---
 *
 No employee or agent is authorized to conclude any binding agreement
 on behalf of Xplorium with another party by e-mail without express
 written confirmation by an officer of Xplorium. Any views expressed by
 an individual in this electronic message do not necessarily reflect
 views of Xplorium or its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to
 the addressee(s), and contain confidential information protected from
 disclosure belonging to Xplorium.

 If you are not the intended addressee of this electronic message and
 its attachments, kindly delete it immediately from your system and
 notify the sender by electronic mail. You must not copy this message
 or attachment or disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message
 and any of its attachments, or that they are free from computer
 viruses or other defects.
 *


 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
Thx
MAG


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Groups in *

2003-10-31 Thread Asterisk
Hi Lars,

I believe what you want to do is possible by applying a patch to the
Queue app, that being put together by some wizards.

You can find out about it here:
http://bugs.digium.com/bug_view_page.php?bug_id=214

I consider myself fairly new to Asterisk, but I'm going to assume that
patch will eventually become part of the Asterisk distribution once its
features are finalised.

With the patch you have a queue timeout option (which is set in
queues.conf). You can set a timeout for each queue to whatever you like,
after the timeout comes, you'll go to the next step in your
extention.conf which would be the next queue (or group).

exten = groups,1,Queue(group1)
exten = groups,2,Queue(group2)
exten = groups,3,Queue(group3)
exten = groups,4,Queue(group4)
exten = groups,5,Playback(sorry-no-one-cares)

Using the AddQueueMember (there is also a RemoveQueueMember) app, you
could create an extension that enables group members to log in and out
of each queue (or group).

I have a CGI Programming with Perl book in front of me right now
because I want a web front end as well! If I get anywhere soon I'll let
you know...

:)
Ben

__
Benjamin Wakefield
[EMAIL PROTECTED]
http://www.dcsi.net.au/
DCSI - We do Internet.
64 Queen Street
Warragul, VIC 3820 AU
Ph: (+61) 1300 665 575
Fx: (+61) 1300 556 595






-Original Message-
From: Lars Fredriksson [mailto:[EMAIL PROTECTED] 
Posted At: Tuesday, 28 October 2003 6:52 AM
Posted To: Asterisk
Conversation: [Asterisk-Users] Groups in *
Subject: [Asterisk-Users] Groups in *

Hi list!

I have a little question about groups and Asterisk ... is there anyone
out there that can say if Asterisk can do any of this;

We have a customer that want call handling we cant give him with a
traditional PBX, and I'm running Asterisk @home so I thought I could
give it a try ...

The customer wants that incoming call should go to one group with some
phones in it, if the group is busy tha call should stay there for xxx
seconds before it goes to another group. But if there are phones free in
the group they should ring for xxx seconds before the call goes to
another group. And like this it would go on with lots of groups ;-)

He also wants queue messages in all groups and the possibility for the
phones to log in and out of the different groups (in the morning one
phone should be member of three groups, and after lunch log out of those
groups and log on to another group ...)
I think some kind of web-frontend would be quite kewl, so each employee
could log on to a webpage and mark which groups he will answer on (I
don't know how * keeps track of such things?)

We have tried with PBX's like Panasonic TDA, Ericsson BusinessPhone,
Avaya INDeX, Avaya IPOffice and Siemens and none of those can do this
...

Thanks for any answer!

Best regards Lars Fredriksson, Sweden

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Groups in *

2003-10-27 Thread Lars Fredriksson
Hi list!

I have a little question about groups and Asterisk ... is there anyone out there that 
can say if Asterisk can do any of this;

We have a customer that want call handling we cant give him with a traditional PBX, 
and I'm running Asterisk @home so I thought I could give it a try ...

The customer wants that incoming call should go to one group with some phones in it, 
if the group is busy tha call should stay there for xxx seconds before it goes to 
another group. But if there are phones free in the group they should ring for xxx 
seconds before the call goes to another group. And like this it would go on with lots 
of groups ;-)

He also wants queue messages in all groups and the possibility for the phones to log 
in and out of the different groups (in the morning one phone should be member of three 
groups, and after lunch log out of those groups and log on to another group ...)
I think some kind of web-frontend would be quite kewl, so each employee could log on 
to a webpage and mark which groups he will answer on (I don't know how * keeps track 
of such things?)

We have tried with PBX's like Panasonic TDA, Ericsson BusinessPhone, Avaya INDeX, 
Avaya IPOffice and Siemens and none of those can do this ...

Thanks for any answer!

Best regards Lars Fredriksson, Sweden

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Groups in *

2003-10-27 Thread CW_ASN - Gus
Lars:

Anything you want is possible to do with Asterisk... the matter is how much
time you want to spend to build that applications... I think that is posible
to do that with AGI scripts...

Regards,

Gus

- Original Message -
From: Lars Fredriksson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 27, 2003 4:52 PM
Subject: [Asterisk-Users] Groups in *


 Hi list!

 I have a little question about groups and Asterisk ... is there anyone out
there that can say if Asterisk can do any of this;

 We have a customer that want call handling we cant give him with a
traditional PBX, and I'm running Asterisk @home so I thought I could give it
a try ...

 The customer wants that incoming call should go to one group with some
phones in it, if the group is busy tha call should stay there for xxx
seconds before it goes to another group. But if there are phones free in the
group they should ring for xxx seconds before the call goes to another
group. And like this it would go on with lots of groups ;-)

 He also wants queue messages in all groups and the possibility for the
phones to log in and out of the different groups (in the morning one phone
should be member of three groups, and after lunch log out of those groups
and log on to another group ...)
 I think some kind of web-frontend would be quite kewl, so each employee
could log on to a webpage and mark which groups he will answer on (I don't
know how * keeps track of such things?)

 We have tried with PBX's like Panasonic TDA, Ericsson BusinessPhone, Avaya
INDeX, Avaya IPOffice and Siemens and none of those can do this ...

 Thanks for any answer!

 Best regards Lars Fredriksson, Sweden

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users