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
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" <lars@fredriksson.net> To: <asterisk-users@lists.digium.com> 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 outthere that can say if Asterisk can do any of this;> > We have a customer that want call handling we cant give him with atraditional 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 somephones 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 thephones 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 employeecould 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, AvayaINDeX, Avaya IPOffice and Siemens and none of those can do this ...> > Thanks for any answer! > > Best regards Lars Fredriksson, Sweden > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi! Thanks for the tip! Okay, looked a little around AGI and it didn't look to hard doing a script that read which phones that should answer which group from an external textfile, and such file would be quite easy to modify with a CGI-script. And I tried it with a static extensions.conf like below and it seems to work, great! Is there any other considerations or tips about using a solution like this? --<SNIP from extensions.conf>-- exten => s,1,Answer ; Answer exten => s,2,Dial(Sip/7101&Sip/7102,20,m) ; Dial 20 seconds, if busy exten => s,103,Goto(s,3) ; go direct to next group exten => s,3,Dial(Sip/7103&Sip/7104,20,m) ; Dial 20 seconds, if busy exten => s,104,Goto(s,4) ; go direct to next group exten => s,4,Dial(Sip/7105&Sip/7106,20,m) ; Dial 20 seconds exten => s,5,Goto(s,2) ; Still no answer, goto ; first group --<SNAP>-- Regards, Lars ----- 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" <lars@fredriksson.net> To: <asterisk-users@lists.digium.com> 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 outthere that can say if Asterisk can do any of this;> > We have a customer that want call handling we cant give him with atraditional 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 somephones 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 thephones 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 employeecould 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, AvayaINDeX, Avaya IPOffice and Siemens and none of those can do this ...> > Thanks for any answer! > > Best regards Lars Fredriksson, Sweden > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users--__--__-- _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users End of Asterisk-Users Digest
> Why not just use appqueue?Is that the integrated quesolution that I config in queue.conf? But as I've understood it might be a little tricky to get the users the possibility to log in/out of groups in an easy way (each extension will maybe be the member of up to four groups, and it must be possible to log in/out of each group ...) Then I need the possibility to reroute the call to another group when either all memebers of the group are busy, or when "free" members in the group don't answer the call for xxx seconds? Is that possible with appqueue? Okay, the solution isn't maybe the best, but it's what the customer wants ... Regards, Lars Fredriksson> > Hi! > > Thanks for the tip! > > Okay, looked a little around AGI and it didn't look to hard doing a script > that read which phones that should answer which group from an external > textfile, and such file would be quite easy to modify with a CGI-script.And> I tried it with a static extensions.conf like below and it seems to work, > great! > > Is there any other considerations or tips about using a solution likethis?> > > --<SNIP from extensions.conf>-- > > exten => s,1,Answer ; Answer > > exten => s,2,Dial(Sip/7101&Sip/7102,20,m) ; Dial 20 seconds, if busy > exten => s,103,Goto(s,3) ; go direct to next group > > exten => s,3,Dial(Sip/7103&Sip/7104,20,m) ; Dial 20 seconds, if busy > exten => s,104,Goto(s,4) ; go direct to next group > > exten => s,4,Dial(Sip/7105&Sip/7106,20,m) ; Dial 20 seconds > > > exten => s,5,Goto(s,2) ; Still no answer, goto > ; first group > > --<SNAP>-- > > Regards, Lars > > ----- > > > Lars: > > Anything you want is possible to do with Asterisk... the matter is howmuch> time you want to spend to build that applications... I think that isposible> to do that with AGI scripts... > > Regards, > > Gus > > ----- Original Message ----- > From: "Lars Fredriksson" <lars@fredriksson.net> > To: <asterisk-users@lists.digium.com> > 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 anyoneout> 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 giveit> 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 inthe> 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 > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- __--__-- > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > > > End of Asterisk-Users Digest > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >--__--__--
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=0000214 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 ben@team.dcsi.net.au 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:lars@fredriksson.net] 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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users