aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_disa.c')
-rwxr-xr-xapps/app_disa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index 26676d4bb..a518cb7e1 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -129,12 +129,12 @@ static int disa_exec(struct ast_channel *chan, void *data)
FILE *fp;
char *stringp=NULL;
- if (ast_set_write_format(chan,AST_FORMAT_ULAW))
+ if (ast_set_write_format(chan,AST_FORMAT_ULAW, 1))
{
ast_log(LOG_WARNING, "Unable to set write format to Mu-law on %s\n",chan->name);
return -1;
}
- if (ast_set_read_format(chan,AST_FORMAT_ULAW))
+ if (ast_set_read_format(chan,AST_FORMAT_ULAW, 1))
{
ast_log(LOG_WARNING, "Unable to set read format to Mu-law on %s\n",chan->name);
return -1;