Il giorno dom, 19/02/2023 alle 19.26 +0000, debian-bu...@dc0wh17f.mooo.com ha scritto: > Hi Giuseppe, > > [...] > > Could you please verify if any of the proposed configuration works also > > when adding/removing a new IAX device when iaxmodem is already up and > > running? > Same. I think the behavior is not a systemd issue but an issue of iaxmodem. > Once iaxmodem is started, it reads all available config files and assigns > any existing symlinks to a new device of /dev/pts/<n>. It doesn't check if > it's already running and just overwrites existing symlinks. It doesn't > terminate itself either, so any previously started process of iaxmodem > remains still active. So, when I type /usr/bin/iaxmodem two times, the > result with two available configfiles under /etc/iaxmodem is four iaxmodem > processes running at the same time. > > As far as I understand the code of iaxmodem.c this is the intended behavior > (which, for me, is wrong). Maybe I should file a bug report against iaxmodem > first before we work on faxgetty's systemd unit - what do you think?
you may probably just write to iaxmodem-users mailing lists. I already contacted the author there and he is aware of this Debian bug. Bye, Giuseppe