mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
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
This commit is contained in:
@@ -1205,7 +1205,8 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp
|
|||||||
f.datalen = samples * 2;
|
f.datalen = samples * 2;
|
||||||
#endif
|
#endif
|
||||||
f.offset = AST_FRIENDLY_OFFSET;
|
f.offset = AST_FRIENDLY_OFFSET;
|
||||||
f.data = buf + AST_FRIENDLY_OFFSET;
|
f.mallocd = 0;
|
||||||
|
f.data = buf;
|
||||||
f.samples = samples;
|
f.samples = samples;
|
||||||
f.src = "app_sms";
|
f.src = "app_sms";
|
||||||
/* create a buffer containing the digital sms pattern */
|
/* create a buffer containing the digital sms pattern */
|
||||||
|
Reference in New Issue
Block a user