Bug 7526 - previous commit broke app_sms

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Tilghman Lesher 20 years ago
parent 6ea65400a0
commit ce37a590e5

@ -1205,7 +1205,8 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp
f.datalen = samples * 2;
#endif
f.offset = AST_FRIENDLY_OFFSET;
f.data = buf + AST_FRIENDLY_OFFSET;
f.mallocd = 0;
f.data = buf;
f.samples = samples;
f.src = "app_sms";
/* create a buffer containing the digital sms pattern */

Loading…
Cancel
Save