| 1 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
|---|
| 2 |
## fix-recordings.dpatch by Diego Iastrubni <diego.iastrubni@xorcom.com> |
|---|
| 3 |
## |
|---|
| 4 |
## DP: temporary calls should not be saved in /tmp, but in the sounds dir. This way |
|---|
| 5 |
## DP: we can rename them to the correct names in an atomic command |
|---|
| 6 |
|
|---|
| 7 |
@DPATCH@ |
|---|
| 8 |
diff -urNad freepbx-2.1.3.dfsg/amp_conf/astetc/extensions.conf /tmp/dpep.c51xrf/freepbx-2.1.3.dfsg/amp_conf/astetc/extensions.conf |
|---|
| 9 |
--- freepbx-2.1.3.dfsg/amp_conf/astetc/extensions.conf 2006-11-26 15:15:22.000000000 +0200 |
|---|
| 10 |
+++ /tmp/dpep.c51xrf/freepbx-2.1.3.dfsg/amp_conf/astetc/extensions.conf 2006-11-26 15:17:11.000000000 +0200 |
|---|
| 11 |
@@ -543,11 +543,11 @@ |
|---|
| 12 |
[macro-systemrecording] |
|---|
| 13 |
exten => s,1,Goto(${ARG1},1) |
|---|
| 14 |
|
|---|
| 15 |
-exten => dorecord,1,Record(/tmp/${CALLERID(number)}-ivrrecording:wav) |
|---|
| 16 |
+exten => dorecord,1,Record(custom/ivr-tmp-${CALLERID(number)}-ivrrecording:wav) |
|---|
| 17 |
exten => dorecord,n,Wait(1) |
|---|
| 18 |
exten => dorecord,n,Goto(confmenu,1) |
|---|
| 19 |
|
|---|
| 20 |
-exten => docheck,1,Playback(/tmp/${CALLERID(number)}-ivrrecording) |
|---|
| 21 |
+exten => docheck,1,Playback(custom/ivr-tmp-${CALLERID(number)}-ivrrecording) |
|---|
| 22 |
exten => docheck,n,Wait(1) |
|---|
| 23 |
exten => docheck,n,Goto(confmenu,1) |
|---|
| 24 |
|
|---|