[asterisk-users] Followme for multiple persons?

Danny Nicholas danny at debsinc.com
Mon Apr 13 09:22:00 CDT 2009


You could use this "on-call" script to go until you got an acceptance
exten => s,501,Set(ONECELL=${DB(Cell/One)})
exten => s,n,Set(TWOCELL=${DB(Cell/Two)})
exten => s,n,Set(THREECELL=${DB(Cell/Three)})
exten => s,n,Macro(calleng,${TWOCELL},1)
exten => s,n,Macro(calleng,${ONECELL},2)
exten => s,n,Macro(calleng,${THREECELL},3)
exten => s,n,VoiceMail(108 at default)
exten => s,n,Background(vm-goodbye)
exten => s,n,Hangup()

[macro-calleng]
exten => s,1,Background(please-wait-connect-oncall-eng)
exten => s,n,Background(number)
exten => s,n,SayDigits(${ARG2})
exten => s,n,Dial(Zap/g1/${DELAY}${ARG1},30)

You load the values of the numbers to call in the Asterisk DB and the call
goes in 30 second chunks until someone answers or voicemail Is reached.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of JD
Sent: Friday, April 10, 2009 5:08 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Followme for multiple persons?

I've got a challenge (or clarification request if I am mistaken) for the 
group.

I have a non-profit customer on asterisk 1.4 that has multiple 
volunteers that work from home. The volunteers are willing to take calls 
to help out the organization.

So, a formal queue is out. They don't want their home phones or cell 
phones to blindly send them callers. They want to take calls when/if 
they happen to be free to take a call at that particular moment. Plus, 
the queue function can't handle the "roll to voicemail" problem that all 
cell phones have. Plus, they won't have the discipline to log-in/log-out.

Fine, I thought, I'll just use the followme function in Asterisk 1.4. It 
rings four numbers at once. It asks the friendly screening question, 
allowing a volunteer to press 1 to take the call. Or, they hang up and 
perhaps someone else will take it. (Or, if nobody does, it goes to 
voicemail.)

Fine and dandy. Or so I thought. The problem is that followme is 
designed to assume that it is only going to reach exactly one person. 
So, if a phone answers and they press "2" to reject the call: bam, 
asterisk stops trying the other three phone numbers.

I am currently trying to educate the volunteers to "refrain from 
pressing 2" but that is prone to problems. I'd rather that there not be 
a reject function at all. Or, making it so that pressing 2 doesn't 
really reject the call, it just hangs it up. I could change the audio, 
and remap 2 to 9 and hope nobody presses it, but that seems like an 
accident waiting to happen.

Does anyone have suggestions?

John

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




More information about the asterisk-users mailing list