Saying a date

FreePBX/Asterisk 14

In custom dial plan I am collecting three variables from the caller.

${MONTH}
${DAY}
${YEAR}

An example a caller could input is:
${MONTH}=01
${DAY}=05
${YEAR}=2019

What command could I use to string the variables together and speak back the date in a format like:
January 5th, 2019

Not sure if this is possible, but thought I would check.

Thanks in advance for any help or guidance here.

Just sure if you can do this way, take a look at the system greetings but numeric you can sure do with SayDigit.

Or, you can record your own greetings with the month names etc and then do
Playback(custom/${MONTH})

I did wind up going with an approach similar to this with custom recordings for the fields.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.