As a lot of use run Synchronet from a remote linux server, the playtone doesn't really work for us or I'm doing it wrong? I haven't found much on changing the sysop paging around. Is there a way to change how many timesor
duration it tries?
The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
-altere
As a lot of use run Synchronet from a remote linux server, the playtone The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
I am sure I will be corrected if I am wrong, but it seems to me that the page sysop is a hard coded function bbs.page_sysop(); and seems to only be abled to toggle on/off or long/short page. the command shells (menus) make use of external .js scripts, for instance, chat_sec.js which has a
case 'C':
if(!bbs.page_sysop())
bbs.page_guru();
break;
I suppose it would be possible to write a .js that does a exec('ssh user@host "mpg123 tone.mp3"'); ie:
case 'C':
system.exec('ssh user@host "mpg123 tone.mp3"');
break;
or if on a un*x system use system.popen('ssh user@host "mpg123 tone.mp3"');
Hope this helps a little
PS I am also curious of a better way to implement this.
Re: Re: Sysop Paging(menus)
By: Mortifis to Altere on Wed Nov 13 2019 08:59 am
As a lot of use run Synchronet from a remote linux server, the playtone The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
I am sure I will be corrected if I am wrong, but it seems to me that the page sysop is a hard coded function bbs.page_sysop(); and seems to only be abled to toggle on/off or long/short page. the command shells
tacklemake use of external .js scripts, for instance, chat_sec.js which has a
case 'C':
if(!bbs.page_sysop())
bbs.page_guru();
break;
I suppose it would be possible to write a .js that does a exec('ssh user@host "mpg123 tone.mp3"'); ie:
case 'C':
system.exec('ssh user@host "mpg123 tone.mp3"');
break;
or if on a un*x system use system.popen('ssh user@host "mpg123 tone.mp3"');
I looked at a few of the files briefly, not sure it's something I can
at this point. May give it a go, and I'll either figure it out in a week or so or give up. lol
Hope this helps a little
We'll see.
PS I am also curious of a better way to implement this.
Do you currently have a way to hear sysop pages? I'm also wondering if samba/sshfs could be used to mount ro and use the monitor tools?
As a lot of use run Synchronet from a remote linux server, the playtone doesn't really work for us or I'm doing it wrong? I haven't found much on changing the sysop paging around. Is there a way to change how many timesor
duration it tries?
The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
Setup a custom chat pager in SCFG->Chat Features. You should be able to invoke any command-line you wish when the user pages you for chat.
Re: Sysop Paging
By: Digital Man to Altere on Wed Nov 13 2019 01:26 pm
The only thing I really know is to play a tone from my local machine remotely from the server to let me know, with something like 'ssh user@host "mpg123 tone.mp3"' but no clue how I would go about implementing this.
Setup a custom chat pager in SCFG->Chat Features. You should be able to invoke any command-line you wish when the user pages you for chat.
As there is sound.js and playtone.js, perhaps I'm missing something but how does bbs.page.sysop in chat_sec.js know which one to fire?
Setup a custom chat pager in SCFG->Chat Features. You should be able to invoke any command-line you wish when the user pages you for chat.
As there is sound.js and playtone.js, perhaps I'm missing something but how does bbs.page.sysop in chat_sec.js know which one to fire?
Based on what is configured in SCFG->Chat Features->External Chat Pagers.
Re: Sysop PagingPagers.
By: Digital Man to Altere on Thu Nov 14 2019 10:37 am
Setup a custom chat pager in SCFG->Chat Features. You should be able to invoke any command-line you wish when the user pages you for chat.
As there is sound.js and playtone.js, perhaps I'm missing something but how does bbs.page.sysop in chat_sec.js know which one to fire?
Based on what is configured in SCFG->Chat Features->External Chat
So If ?playtone.js is listed and I add another custom one, it will fire off both of them?
Re: Sysop Pagingyou
By: Digital Man to Altere on Thu Nov 14 2019 10:37 am
Setup a custom chat pager in SCFG->Chat Features. You should be able to invoke any command-line you wish when the user pages
somethingfor chat.
As there is sound.js and playtone.js, perhaps I'm missing
Pagers.but how does bbs.page.sysop in chat_sec.js know which one to fire?
Based on what is configured in SCFG->Chat Features->External Chat
So If ?playtone.js is listed and I add another custom one, it will fireoff
both of them?ssh:2222
-altere
---
� Synchronet � Athelstan BBS � athelstan.org � telnet:23 |
As a lot of use run Synchronet from a remote linux server, the playtone doesn't really work for us or I'm doing it wrong? I haven't found much on changing the sysop paging around. Is there a way to change how many timesor
duration it tries?
onAs a lot of use run Synchronet from a remote linux server, the playtone doesn't really work for us or I'm doing it wrong? I haven't found much
timeschanging the sysop paging around. Is there a way to change how many
or duration it tries?
I have a pager designed for that situation inherently. There is a mod that installs on your BBS's server, and one that runs on your local computer where you want it to notify. It's still in testing but you can get it from here: https://sourceforge.net/projects/syncpager/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:21:48 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,792,009 |