Please explain 5 lines in config file

I am a novice and I inherited a “working” Trixbox - Asterisk - FreePBX system
Asterisk 1.2.22 - FreePBX 2.23

I have a couple of “Fax” extensions

The only place these Fax Extensions show up in Asterisk are in the file
\etc\asterisk\extensions_additional.conf

The only lines referencing a specific extension read

exten => 5726,1,Set(__FROM_DID=5726)
exten => 5726,n,Goto(from-did-direct,5726,1

and further down…

exten => 5726,1,Macro(exten-vm,novm,5726)
exten => 5726,n,Hangup
exten => 5726,hint,CUSTOM/5726

If someone could explain exactly what those 5 lines do
maybe I could figure out how this is supposed to work.

Thanks in Advance

Tom Gilbert - TomBexarMet

trying to figure out what Asterisk is doing is only going to get you in trouble.

Also, your system is so old that neither Asterisk (1.2) nor FreePBX (not sure what you really have as there isn’t a 2.23 but assuming 2.2.X or 2.3.X) are completely un-supported.

Your best bet would be to consider upgrading to something supported and given the age, you would be better off starting with a fresh distribution (something like the FreePBX Distribution). Short of that, you really want to upgrade Asterisk and FreePBX.

In any event, in the interim, you may want to try posing your question in terms of FreePBX configurations in the GUI and/or simply explaining what you want to do or what you think the system suppose to be configured to be doing.

The above lines are from auto-generated code and it looks like you have a custom extension configured in your code for exten 5726 so you’ll have to provide the above to get any sort of help from the community.