ffmpeg -i 888001000029999.wav -c:a pcm_alaw output1.wav
@echo off
: Setting a Timestamp variable which can be used in a batch file
FOR /f "tokens=1-4 delims=/ " %%A IN ('date /t') DO (
set nday=%%A
set nmonth=%%B
set nyear=%%C
)
set SORTDATE=%nyear%%nmonth%%nday%
FOR /f "tokens=1-2 delims=: " %%A IN ('time /t') DO (
set hour=%%A
set min=%%B
)
set SORTTIME=%hour%%min%
set TIMESTAMP=%sortdate%-%sorttime%
echo windump -i 2 -n -s 0 -c 100000 -w %COMPUTERNAME%-%TIMESTAMP%.pcap port 5060
windump -i 1 -n -s 0 -c 100000 -w %COMPUTERNAME%-%TIMESTAMP%.pcap port 5060
ping -n 10 127.0.0.1 >NUL