[asterisk-dev] [Code Review] 3028: ari: Add 'number', 'digits', and 'characters' URI scheme playback implementations

Joshua Colp reviewboard at asterisk.org
Tue Nov 26 14:04:00 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3028/
-----------------------------------------------------------

(Updated Nov. 26, 2013, 8:04 p.m.)


Review request for Asterisk Developers.


Changes
-------

Incorporated feedback.


Repository: Asterisk


Description
-------

There is currently no way in ARI to easily say a number, digits, or a string of characters. You can do it manually but this is extremely cumbersome. The attached change implements this functionality using new URI schemes in the Playback operation.

number:<number> will play the provided number
digits:<digits> will play the provided digits
characters:<characters> will play the provided characters

By using the existing playback operation these can be queued up just like any other sound file, allowing you to construct a complete sentence if you desire.


Diffs (updated)
-----

  /branches/12/res/res_stasis_playback.c 403158 

Diff: https://reviewboard.asterisk.org/r/3028/diff/


Testing
-------

Executed playback with the various URI schemes.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131126/84820e0f/attachment.html>


More information about the asterisk-dev mailing list