diff --git a/apps/app_sms.c b/apps/app_sms.c index de07fdb182..816cc426f0 100644 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -1203,7 +1203,7 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp f.datalen = len; f.offset = AST_FRIENDLY_OFFSET; f.mallocd = 0; - f.data = buf + AST_FRIENDLY_OFFSET; + f.data = buf; f.samples = samples; f.src = "app_sms"; /* create a buffer containing the digital sms pattern */