packages/net/asterisk-1.4.x/patches/013-chan_iax2-tmp_path.patch
agb 8b28448af3 Update to asterisk 1.4.21 (yes there's a 1.4.21.1 but I haven't tested it)
Package 'rawplayer'  for asterisk.
Requires the tonezone patch for app-meetme
Disabled ilbc which required a separate (non-free) package.

Signed-off-by: Michael Geddes <michael at frog dot wheelycreek dot net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 03:37:31 +00:00

13 lines
587 B
Diff

diff -Nru asterisk-1.4.18.org/channels/chan_iax2.c asterisk-1.4.18/channels/chan_iax2.c
--- asterisk-1.4.18.org/channels/chan_iax2.c 2008-01-31 20:52:49.000000000 +0100
+++ asterisk-1.4.19.1/channels/chan_iax2.c 2008-03-02 19:32:14.000000000 +0100
@@ -1554,7 +1554,7 @@
last++;
else
last = s;
- snprintf(s2, strlen(s) + 100, "/var/tmp/%s-%ld", last, (unsigned long)ast_random());
+ snprintf(s2, strlen(s) + 100, "/tmp/%s-%ld", last, (unsigned long)ast_random());
res = stat(s, &stbuf);
if (res < 0) {
ast_log(LOG_WARNING, "Failed to stat '%s': %s\n", s, strerror(errno));