I know that with perl and lua is possible to specy a script to execute in the freeswitch startup. But with javascript I dont know if there is this option also.
To do with lua. Open the lua.conf in the autoload configs of freeswitch and there is this option there.
Leo

Is there a way to cause a JavaScript script to be executed
during FreeSWITCH initialization?