[Home]

Summary:ASTERISK-01656: Dial l command no longer has the c or confirmation option
Reporter:opsys (opsys)Labels:
Date Opened:2004-05-19 15:26:26Date Closed:2011-06-07 14:10:42
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) announcecid.agi
Description:Feature described in Handbook no longer works. ON page 18 of the handbook @ http://www.digium.com/handbook-draft.pdf has the following line:

If the letter c follows, then &ASTERISK-7999;Answer Confirmation&ASTERISK-8000; is requested, in which the call is not considered answered until the called user presses '#'



****** ADDITIONAL INFORMATION ******

This feature along with the A() option in the Dial command would make the caller announcement program work.

I remember that this was a great feature because I could simply ring my cell and if I never 'confirmed' the call it would continue to the next step in the context, thus the caller would then get my Asterisk VM instead of my cell VM.

With the addition of the A option in the Dial App this 'feature' makes even more sense. This would add the announce feature as you would simply use the flow in extensions.conf and a simple AGI to record the prompt and the using a dial statement such as:

Dial(SIP/myphone|20|A(recordedfile)|c)

Would accomplish wonders!!!

I have included a simple agi script that takes calleridnum and records a file and plays it before connecting the call. At this point since it is an unconditional answer and connect I do not have the option of 'hiding'. This does however allow me to know whose calling with my super-el-cheapo cordless phone without CID.

Script to be placed in /var/lib/asterisk/agi-bin as announcecid.agi. (don&ASTERISK-7996;t forget to make it executable, and also create the /var/lib/asterisk/sounds/cidannounce directory!!!)
Comments:By: Mark Spencer (markster) 2004-05-19 17:19:44

As you can see in the documentation this is a feature of chan_zap, not app dial.  It still works with zap as far as i know.  Queue has the ability to confirm on any channel, if you want to add that feature to dial go ahead or you can submit a feature request and see if somebody will bite on it.