[asterisk-bugs] [JIRA] (ASTERISK-16227) [patch] app_recordkey - new record application that returns key pressed
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Thu Dec 14 12:03:07 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-16227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell closed ASTERISK-16227.
------------------------------------
Resolution: Suspended
Suspending due to lack of activity. The code was never posted for review, unless someone takes that initiative this patch is being considered abandoned.
As others have pointed out I think this new feature could be accomplished by adding options to the existing Record app. I'm -1 on duplicating the entire Record app.
> [patch] app_recordkey - new record application that returns key pressed
> -----------------------------------------------------------------------
>
> Key: ASTERISK-16227
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-16227
> Project: Asterisk
> Issue Type: New Feature
> Components: Applications/NewFeature
> Reporter: Cal Woodruff
> Assignee: Cal Woodruff
> Attachments: app_recordkeys-1.4.c, app_recordkeys-1.6.c, app_recordkeys-tested.zip
>
>
> I tweaked the app_record application such that it returns a key. Here is an example of how I am using it:
> ; RecordKey stops on any digit rather than just #. It returns the digit as in ${EXTEN}
> exten => s,2,RecordKey(${newmsg}.${rectype},${silence},${msg_length})
> exten => _X,1,Set(seccode=${EXTEN})
> exten => _X,2,Read(secrest,,3)
> exten => _X,3,Set(seccode=${seccode}${secrest})
> exten => _X,4,AGI(ll-login.pl,${seccode})
> exten => _X,5,Playback(ll-en-invalid)
> exten => _X,6,Goto(lifeline,s,2)
> exten => _X,100,Goto(geninstr,s,1)
> The reason for this application is to make it easier for our voicemail clients to enter their login information. The behavior matches that of our old dialogic equipment.
> ****** ADDITIONAL INFORMATION ******
> I have a few questions:
> Will this cause any performance problems?
> What is the best way to grab more than one digit?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list