[Home]

Summary:ASTERISK-28642: SayAlpha not working in GoSub
Reporter:Mikhail (j3st3r)Labels:
Date Opened:2019-12-02 09:23:37.000-0600Date Closed:2019-12-02 10:11:42.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_saynumber
Versions:13.23.1 Frequency of
Occurrence
Related
Issues:
Environment:Debian GNU/Linux 9Attachments:
Description:Trying to use SayAlpha(SayAlphaCase)

here id dialplan
{noformat}
[sub-say-tracking]

exten => s,1,NoOp(lets check if we have a tracking number)
same => n,Set(TRACKING=${SHELL(curl 'mysite.com)})
same => n,ExecIf($["${TRACKING}"=""]?Return())
same => n,Wait(1)
same => n,SayAlpha(${TRACKING})
same => n,Return()
{noformat}


If $\{TRACKING} = RU and SayAlpha(RU) - I see error No application 'SayAplhaCase' for extension (sub-say-tracking, s, 5)

If $\{TRACKING} = RU_124 and SayAlpha(RU_124) - I see error No application 'SayAplhaCase' for extension (sub-say-tracking, s, 5) - works fine

Looks like a bug

Comments:By: Asterisk Team (asteriskteam) 2019-12-02 09:23:38.060-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Joshua C. Colp (jcolp) 2019-12-02 09:29:40.317-0600

What is the actual full complete console output, as well as the output of "dialplan show"?

By: Mikhail (j3st3r) 2019-12-02 09:35:30.307-0600

{noformat}
[2019-12-02 14:47:31] WARNING[27790][C-00000138] pbx.c: No application 'SayAplha' for extension (sub-say-tracking, s, 5)
{noformat}

CLI> dialplan show sub-say-tracking
{noformat}
[ Context 'sub-say-tracking' created by 'pbx_config' ]
 's' =>          1. NoOp(lets check if we have a tracking number) [pbx_config]
                   2. Set(TRACKING=${SHELL(curl 'https://mysite.com')}) [pbx_config]
                   3. ExecIf($["${TRACKING}"=""]?Return())       [pbx_config]
                   4. Wait(1)                                  [pbx_config]
                   5. SayAlpha(${TRACKING})                      [pbx_config]
                   6. Return()                                   [pbx_config]
{noformat}


By: Sean Bright (seanbright) 2019-12-02 10:11:43.091-0600

You spelled {{SayAlpha}} wrong (you used {{SayAplha}}).

bq. pbx.c: No application *'SayAplha'* for extension (sub-say-tracking, s, 5)