Due to changes at the office, I'm finally getting around to setting up an AA to deal with incoming calls. One of the big changes is that we're dropping the old alphanumeric pager and will just send pages to our phones. I've got the outbound greeting message working in a test context no problem right now, but I'm kind of stuck on how to capture a DTMF sequence from a user and doing anything with it. Right now the pertinent DP features look like this: exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,2 exten => s,5,Background(greeting) exten => 1,1,Voicemail(u100) ; Press 1 to leave a message. exten => 2,1,Voicemail(u6003) ; Press 2 to send an emergency page exten => t,1,Dial(SIP/person,30,t) ; Ring my extension on timeout Obviously extension 2 needs to be changed, right now it just leaves a message in my mailbox. I'm figuring I'll add a new message that says "Please enter your callback number, followed by the pound sign." and put that in as a Background() message. The tricky bit that I can't figure out (without sample dialplans in voip-info) is how to capture the DTMF the caller provides and send it out via a System() call to an external application to page the oncall person. As the oncall person will conceivably change on a regular basis, we can't just hand it out to customers, unfortunately/thankfully. Thanks for any assistance!
Patrick Friedel wrote:> Obviously extension 2 needs to be changed, right now it just leaves a > message in my mailbox. I'm figuring I'll add a new message that says > "Please enter your callback number, followed by the pound sign." and > put that in as a Background() message. The tricky bit that I can't > figure out (without sample dialplans in voip-info) is how to capture > the DTMF the caller provides and send it out via a System() call to an > external application to page the oncallexten => 4852,1,Read(MEETMEPASS)|conf-getpin) exten => 4852,n,Set(DB(conference/1000)=${MEETMEPASS}) Doug
If you are using Comedian mail, you can to notification at the mailbox. ref: voicemail.conf 5600 => nnnn,Steven ,Steven@emailp.com,248nnnnnnn@messaging.nextel.com,attach=no|saycid=no|envelope=yes|delete=no|nextaftercmd=yes The 248nnnnnnn@messaging.nextel.com will send an email to my phone to let me know there is a voicemail. I havent looked into Comedian mail to see if it has an urgent message option. I hope this may be helpful. -- -- Steven May you have the peace and freedom that come from abandoning all hope of having a better past. --- - --- - - - - - - - -- - - - --- - ------ - - --- - - -- - - - -- - - - "Patrick Friedel" <pf@publicsafetynet.us> wrote in message news:4417108D.6070802@publicsafetynet.us...> Due to changes at the office, I'm finally getting around to setting up an AA to deal with incoming calls. One of the big changes > is that we're dropping the old alphanumeric pager and will just send pages to our phones. I've got the outbound greeting message > working in a test context no problem right now, but I'm kind of stuck on how to capture a DTMF sequence from a user and doing > anything with it. > > Right now the pertinent DP features look like this: > > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,2 > exten => s,5,Background(greeting) > > exten => 1,1,Voicemail(u100) ; Press 1 to leave a message. > > exten => 2,1,Voicemail(u6003) ; Press 2 to send an emergency page > > exten => t,1,Dial(SIP/person,30,t) ; Ring my extension on timeout > > Obviously extension 2 needs to be changed, right now it just leaves a message in my mailbox. I'm figuring I'll add a new message > that says "Please enter your callback number, followed by the pound sign." and put that in as a Background() message. The tricky > bit that I can't figure out (without sample dialplans in voip-info) is how to capture the DTMF the caller provides and send it out > via a System() call to an external application to page the oncall person. As the oncall person will conceivably change on a > regular basis, we can't just hand it out to customers, unfortunately/thankfully. Thanks for any assistance! > _______________________________________________ > --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 >
For setting the oncall solution you can do as follows Play the following message "to reach the on call tech/doctor etc. press 1 Then have the on call person set the number that they want to be reached at. [SetOnCallTech] Exten => _1NXXXXXXXXX,1,Answer Exten => _1NXXXXXXXXX,2,(please-enter-on-call-number) Exten => _1NXXXXXXXXX,3,Playback(you-entered) Exten => _1NXXXXXXXXX,4,Saydigites(${EXTEN}) Exten => _1NXXXXXXXXX,5,SetGlobalVar(OnTechNumConfirm=${EXTEN}) Exten => _1NXXXXXXXXX,6,Goto(SetOnCallTechConfirm,s,1) [SetOnCallTechCOnfirm] Exten => s,1,Playback(to-confirm-press-1-or-2-to-reenter) Exten => 1,1,SetGlobalVariable(OnCallTechNum=${OnTechNumConfirm}) Exten => 1,2,Playback(num-has-been-set) Exten => 2,1,Goto(SetOnCallTech,_1NXXXXXXXXX,1) As far as paging have the system send an sms to ${OnCallTechNum} mobile-carrier.com Dovid PS Please double check whay I hav above as I am half asleep. --- Patrick Friedel <pf@publicsafetynet.us> wrote:> Due to changes at the office, I'm finally getting > around to setting up > an AA to deal with incoming calls. One of the big > changes is that we're > dropping the old alphanumeric pager and will just > send pages to our > phones. I've got the outbound greeting message > working in a test > context no problem right now, but I'm kind of stuck > on how to capture a > DTMF sequence from a user and doing anything with > it. > > Right now the pertinent DP features look like this: > > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,2 > exten => s,5,Background(greeting) > > exten => 1,1,Voicemail(u100) ; Press 1 to leave a > message. > > exten => 2,1,Voicemail(u6003) ; Press 2 to send an > emergency page > > exten => t,1,Dial(SIP/person,30,t) ; Ring my > extension on timeout > > Obviously extension 2 needs to be changed, right now > it just leaves a > message in my mailbox. I'm figuring I'll add a new > message that says > "Please enter your callback number, followed by the > pound sign." and put > that in as a Background() message. The tricky bit > that I can't figure > out (without sample dialplans in voip-info) is how > to capture the DTMF > the caller provides and send it out via a System() > call to an external > application to page the oncall person. As the > oncall person will > conceivably change on a regular basis, we can't just > hand it out to > customers, unfortunately/thankfully. Thanks for any > assistance! > _______________________________________________ > --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>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com