mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
#define TYPE_DONTSEND 0x3
|
#define TYPE_DONTSEND 0x3
|
||||||
#define TYPE_MASK 0x3
|
#define TYPE_MASK 0x3
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <asterisk/translate.h>
|
#include <asterisk/translate.h>
|
||||||
#include <asterisk/module.h>
|
#include <asterisk/module.h>
|
||||||
#include <asterisk/logger.h>
|
#include <asterisk/logger.h>
|
||||||
|
|||||||
4
pbx.c
4
pbx.c
@@ -4333,8 +4333,8 @@ static int pbx_builtin_saynumber(struct ast_channel *chan, void *data)
|
|||||||
static int pbx_builtin_saydigits(struct ast_channel *chan, void *data)
|
static int pbx_builtin_saydigits(struct ast_channel *chan, void *data)
|
||||||
{
|
{
|
||||||
int res = 0;
|
int res = 0;
|
||||||
if (data && atoi((char *)data))
|
if (data)
|
||||||
res = ast_say_digits(chan, atoi((char *)data), "", chan->language);
|
res = ast_say_digit_str(chan, (char *)data, "", chan->language);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user