[Home]

Summary:ASTERISK-24930: SayNumber() gender option get error and hangup channel.
Reporter:Avraam David (adavid)Labels:
Date Opened:2015-04-01 03:20:11Date Closed:2015-04-22 17:31:42
Priority:MajorRegression?
Status:Closed/CompleteComponents:PBX/General
Versions:11.16.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:if use genfer option in saynumber(), get error and hangup the channel.

my dialplam is:
saynumber(2,f)
or
saynumber(2,m)
or
saynumber(2,n)
or
saynumber(2,c)

error message in cli is: *SayNumber gender option is either 'f', 'm', 'c' or 'n'*

Comments:By: Rusty Newton (rnewton) 2015-04-03 13:53:34.872-0500

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



By: Rusty Newton (rnewton) 2015-04-03 13:54:59.198-0500

I tried to reproduced with
{noformat}
exten = 100,1,Answer()
same = n,Saynumber(100,f)
same = n,Saynumber(100,m)
same = n,Saynumber(100,c)
same = n,Saynumber(100,n)
same = n,Hangup()
{noformat}
In the latest SVN branch of 11 and 13. In both cases the executions of saynumber worked without issue.

If you can reproduce this problem, you'll need to provide additional configuration and debug to demonstrate as mentioned in my comment above.

Thanks!


By: Avraam David (adavid) 2015-04-04 13:12:27.292-0500

i checked again, if have space before the option after the comma, got the error message.


By: Rusty Newton (rnewton) 2015-04-22 17:31:42.690-0500

Ah, yeah that should be expected behavior. Don't add whitespace before your options. Thanks for letting us know , I'll go ahead and close this out.