AccelerateNetworks / PagingServer

SIP-based Announcement / PA / Paging / Public Address Server system
GNU General Public License v2.0
28 stars 14 forks source link

Need to create /etc/paging/.config & /etc/paging.wav for script to work properly on OrangePI PC #15

Closed danry25 closed 8 years ago

danry25 commented 8 years ago

To get pulse to run correctly on the OrangePI (without pulse complaining "E: [pulseaudio] core-util.c: Failed to create secure directory (/home/paging/.config/pulse): No such file or directory" when started by systemd) /etc/paging/.config needs to exist. Also, /etc/paging.wav needs to be put in place and enabled, otherwise the paging.service itself will hang & fail or hang for 10 seconds then connect the call.

mk-fg commented 8 years ago

without pulse complaining "E: [pulseaudio] core-util.c: Failed to create secure directory (/home/paging/.config/pulse): No such file or directory"

Ah yeah, apparently install scripts either create user or its home dir but not both on the first run, a mistake.

Also, /etc/paging.wav needs to be put in place and enabled

Same issue was actually pointed-out in #14, I think, and should be fixed wrt operation without klaxon file, at least, but don't think I've rebuilt the packages with updated script, was lazy to find old microsd image where debian container was.

Will do though, though workaround can be grabbing script from the github.

mk-fg commented 8 years ago

Ah yeah, apparently install scripts either create user or its home dir but not both on the first run, a mistake.

Should be fixed in 5788a02

mk-fg commented 8 years ago

Also, you mentioned /etc/paging/.config in first title and message - surely that's a mistake, should be /home/paging/.config, right?

mk-fg commented 8 years ago

Added these debs:

Though only thing that actually needs updating for aforementioned issue is paging-server, ofc, but I'd suggest updating pjsip and other stuff as well.