freeswitch icon indicating copy to clipboard operation
freeswitch copied to clipboard

[suggestion] Move `build/standalone_module` to `src/mod/applications/mod_skel` or merge them selectively

Open toraritte opened this issue 5 months ago • 1 comments

Learning how FreeSWITCH modules work from Creating New Modules in the docs, which points to src/mod/applications/mod_skel, but accidentally opened build/standalone_module/mod_skel.c in my editor with a quick open feature, causing some confusion.

After comparing the two, I can see that build/standalone_module/mod_skel.c has been added 10 years ago, never to be touched again, while src/mod/applications/mod_skel gets regular updates.

I could only find build/standalone_module referenced in one file (see below), so perhaps the files there could simply be moved to src/mod/applications/mod_skel and update the references?

(It looks like only the pkg-config file is needed, but I'm quite far from understanding FreeSWITCH build system and Autotools yet.) https://github.com/signalwire/freeswitch/blob/6a25584da25e621438ee401de3666c2b42d8a794/src/mod/Makefile.am#L50-L58

toraritte avatar May 24 '25 23:05 toraritte