[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:comment-tabpanel&focusedCommentId=225447#comment-225447 ] 

Matt Jordan commented on ASTERISK-16227:
----------------------------------------

Thanks for the contribution! If you'd like your contribution to be included faster, you should submit your patch for code review by the Asterisk Developer Community. To do so, please follow the Code Review [1] instructions on the wiki. Be sure to:
* Verify that your patch conforms to the Coding Guidelines [2]
* Review the Code Review Checklist [3] for common items reviewers will look for
* If necessary, provide tests for the Asterisk Test Suite that verify the correctness of your patch [4]
* As this is a new feature, please read the New Feature Guidelines [5]
* Make sure your new feature applies cleanly to Asterisk trunk

When ready, submit your patch and any tests to Review Board [6] for code review.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Code+Review
[2] https://wiki.asterisk.org/wiki/display/AST/Coding+Guidelines
[3] https://wiki.asterisk.org/wiki/display/AST/Code+Review+Checklist
[4] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation
[5] https://wiki.asterisk.org/wiki/display/AST/New+Feature+Guidelines
[6] https://wiki.asterisk.org/wiki/display/AST/Review+Board+Usage



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