[Freeswitch-users] how to alert existing voice mail

Bzzz lazyvirus at gmx.com
Mon May 28 03:26:22 MSD 2012


On Sun, 27 May 2012 16:01:01 -0700 (PDT)
Sherif Omran <sherifomran2000 at yahoo.com> wrote:

> 
> Any idea? /tmp/ does not have any files inside

As its name suggest, content of /tmp is often fugitive.
If you want to get the message, use a script such as:

#!/bin/sh
for i in `seq 1 50000`; do
    echo "----------------------------------------------------------------------------------------------------------------"
    echo "----------------------------------------------------------------------------------------------------------------"
    cp /tmp/mail.* /whatever/
    echo "num = $i "
    echo "----------------------------------------------------------------------------------------------------------------"
    echo "----------------------------------------------------------------------------------------------------------------"
done

Echos are only there to speed down the loop.

JY
-- 
I'm an evolutionist; I refuse to believe that I could have been
created by man.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list