[Freeswitch-users] voicemail files all 252 bytes, no audio

Anthony Minessale anthony.minessale at gmail.com
Mon Jul 29 17:12:59 UTC 2019


On Mon, Jul 29, 2019 at 11:32 AM Nathan Stratton <nathan at robotics.net>
wrote:

> It says it is copying....
>
> 2019-07-29 15:38:48.745547 [DEBUG] switch_core_file.c:967 Copy spooled
> file [/tmp/a5e19398-b86a-4021-af0a-00d32d76153e.wav] to
> [/var/lib/freeswitch/storage/voicemail/default/
> nathan at stage.illumy1.com/(null)/msg_5c3baf58-dfad-4df5-9d4f-d1187d480345.wav
> ]
>
> I see directory nathan at stage.illumy1.com/(null)/ directory created, but
> the file is never copied.
>
>
Is there a way to work the (null) out of the filename, maybe its some bash
conflicts.  The operation is done via the system command.


> ><>
> nathan stratton
>
>
> On Mon, Jul 29, 2019 at 11:19 AM Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> One pro tip that might help.
>>
>> make a directory somewhere and make sure its writable by FS like
>> /var/fsspool
>>
>> Add a line to vars.xml
>>
>> <X-PRE-PROCESS cmd="set" data="audio_spool_path=/var/fsspool"/>
>>
>>
>> Then all recordings will be done on the local disk until they are
>> finished then copied to the actual desired path.
>> This is designed for slow filesystems like nfs where side effects of I/O
>> can cause issues in the real-time logic needed for recording
>>
>>
>>
>>
>> On Sun, Jul 28, 2019 at 5:48 PM Per Modin <per at wgtwo.com> wrote:
>>
>>> Hi Nathan,
>>>
>>> we had the same issue on S3 (via s3fuse) on 1.8 (worked fine on 1.6).
>>> Switching storage solution to EFS solved it for us.
>>>
>>> Best,
>>> Per.
>>>
>>> On 26/07/2019 14:58, Nathan Stratton wrote:
>>> > Figured it out! It has something to do with S3, that mounted directory
>>> > when I unmounted and wrote to the local FS it works fine.
>>>
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> https://freeswitch.com
>>
>>
>>
>> --
>> Anthony Minessale II
>> Founder, FreeSWITCH.
>> http://freeswitch.com
>>
>>
>> https://youtu.be/l_hOxzCt6X4
>> https://www.youtube.com/watch?v=oAxXgyx5jUw
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



-- 
Anthony Minessale II
Founder, FreeSWITCH.
http://freeswitch.com


https://youtu.be/l_hOxzCt6X4
https://www.youtube.com/watch?v=oAxXgyx5jUw
https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190729/e269407b/attachment-0001.html>


More information about the FreeSWITCH-users mailing list