Hi, thanks for the help, but unfortunately I’m still having problems
I’ve put the 3 musiconhold .conf files back to default, and added a new streaming command in the freepbx web interface as you suggested…
I dialled in, my IVR answered me, then put me on hold as it should.
Unfortunately after a second or 2 of silence, I get the default wav music on hold supplied with freepbx.
[2015-01-20 14:57:22] VERBOSE[13392][C-00000000] pbx.c: Executing [musiconhold@app-blackhole:1] NoOp(“SIP/01xxxxxxxx-00000000”, “Blackhole Dest: Put caller on hold forever”) in new stack
[2015-01-20 14:57:22] VERBOSE[13392][C-00000000] pbx.c: Executing [musiconhold@app-blackhole:2] Answer(“SIP/01xxxxxxxx-00000000”, “”) in new stack
[2015-01-20 14:57:22] VERBOSE[13392][C-00000000] pbx.c: Executing [musiconhold@app-blackhole:3] MusicOnHold(“SIP/01xxxxxxxx-00000000”, “”) in new stack
[2015-01-20 14:57:22] VERBOSE[13392][C-00000000] res_musiconhold.c: Started music on hold, class ‘default’, on channel ‘SIP/01xxxxxxxx-00000000’
How do I tell it to use my “linein” stream and not default? I haven’t noticed anywhere where this kind of thing would be configured. I’ve just got 3 SIP trunks from 2 providers configured, no extensions (I did try to get a SIP soft phone to work, but gave up as it wouldn’t work, and I didn’t actually need an extension anyway).
Also, not sure if it’s related, but it seem “suspicious”, my logs are now filling up with:
[2015-01-20 14:57:22] WARNING[2271] res_musiconhold.c: poll() failed: Interrupted system call
[2015-01-20 14:57:22] WARNING[2271] res_musiconhold.c: poll() failed: Interrupted system call
[2015-01-20 14:57:22] WARNING[2271] res_musiconhold.c: poll() failed: Interrupted system call
[2015-01-20 14:57:22] WARNING[2271] res_musiconhold.c: poll() failed: Interrupted system call
[2015-01-20 14:57:22] WARNING[2271] res_musiconhold.c: poll() failed: Interrupted system call
They actually start with asterisk, even before anything has been put on hold.
Which is worrying!