RECORD FILE functionality

Hi guys,

I am new to asterisk. What is the meaning of “offset” field in RECORD FILE. According to it says that: [offset samples] is optional, and if provided will seek to the offset without exceeding the end of the file.

What does that actually mean?. Also, when I run this command with different offset value (e.g: offset=0 for first call to the command and offset=25000 for second call to the command) I get endpos=64000 and endpos=89000 in the return value. So 89000 = 64000+25000. But what actually this endpos is?

What will happen if I re record a file with different offset values?

Please explain.