Summary:ASTERISK-01510: [request] holdandannounce app
Reporter:cmslaght (cmslaght)Labels:
Date Opened:2004-04-30 09:59:49Date Closed:2011-06-07 14:04:55
Versions:Frequency of
Description:Incoming caller is asked to say there name after the tone to be announced after which they are put on hold.  The desired extension is called and the waiting callers name is announced followed by options to accept call by pressing 1, or additional options of N+101 for digits 2-9 so I can setup more options based on my priority settings.


I have been playing with parkandannounce and the issues I run into is if I am on the phone, it needs to check ischannelavail, if yes then try me, else wait(5).  Then once I am available, I can decide whether to take it or not.  I also don't like the fact that I have to know and dial the parked call extension.  If holdandannounce works right, I could use it to forward to my cell phone or home but keep them in the asterisk system in case I can't or don't want to take the call.
Comments:By: cmslaght (cmslaght) 2004-04-30 10:07:08

This is how I am announcing calls now.  Where 'pleaserecordname' is just my voice telling the caller to say there name after the tone. Where 'onholdcaller' says "is on hold and parked at".

exten => 212,1,Answer
exten => 212,2,Playback(pleaserecordyourname)
exten => 212,3,Record(${UNIQUEID}:gsm|2)
exten => 212,4,Parkandannounce(${UNIQUEID}:onholdcaller:PARKED|7200|Zap/2|local-extensions,${EXTEN},1)

By: Brian West (bkw918) 2004-04-30 10:57:14

You can do exactly what you want with some dialplan logic.

You setup a exten for it to return to that rings you.. if busy it re-parks the call.  No need for a special app for what can be done with the dialplan.

By: Brian West (bkw918) 2004-04-30 10:58:57

Join #asterisk-bugs and see if I or one of the other bug marshals can give you some input on how to do exactly what you want... remember chan_local is da bomb! :)