[asterisk-bugs] [JIRA] (ASTERISK-16227) [patch] app_recordkey - new record application that returns key pressed

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Mar 14 21:02:34 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-16227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan reopened ASTERISK-16227:
------------------------------------


I don't think anyone ever saw the comment here - sorry :-(

If you're still interested in having this included, I'll post the links that will help you get this patch up onto review board.

> [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