[asterisk-users] Saying Ordinal Numbers

asterisk at phreaknet.org asterisk at phreaknet.org
Tue Aug 10 08:43:48 CDT 2021


On 8/10/2021 8:19 AM, Antony Stone wrote:
> On Tuesday 10 August 2021 at 15:16:11, Dovid Bender wrote:
>
>> On Tue, Aug 10, 2021 at 8:19 AM <asterisk at phreaknet.org> wrote:
>>> The prompts for saying any ordinal number are all there: from 1 to
>>> 999,999,999 - they just need to be spliced together properly. I am
>>> currently in the process of refactoring core "Say" code and could add a
>>> SayOrdinal() application while I'm at it. Would this meet your needs?
>>> NA
>>>
>>> Yes. That would do it. Come to think of it you should have that code
>>> already from the queue (where it announces what caller number you are).
> Are you sure it says "you are currently third in the queue"?
>
> I thought it said "you are currently at position number three in the queue"...
Indeed, it seems that app_queue uses ast_say_number:
https://github.com/asterisk/asterisk/blob/master/apps/app_queue.c#L4041
Either way, I have already finished adding the application, and will
push it up for review shortly.

NA



More information about the asterisk-users mailing list