Page 1 of 1

Ingroup continuation of on hold music

PostPosted: Sun Mar 25, 2018 5:13 am
by dspaan
I'm having a problem with setting up an ingroup.

When a caller enters the queue and hears the on hold music when the first on hold prompt is played the music resets to the next song instead of continueing where left off.
The same thing happens when you place a call on hold from the agent screen and take it back and place it on hold again.
I also tested this on another server with SVN 2757 but there the problem does not occur. Is this a system setting i overlooked?


Versie: 2.14b0.5
SVN Version: 2942
DB Schema Version: 1540

Re: Ingroup continuation of on hold music

PostPosted: Sun Mar 25, 2018 8:05 am
by mflorell
In-group queue hold is a completely different process from an agent putting a customer on hold.

As for the difference between servers, what version of Asterisk is each of them using? Also, can you post the musiconhold.conf file?

Re: Ingroup continuation of on hold music

PostPosted: Sun Mar 25, 2018 10:41 am
by dspaan
Hi Matt, the one that's SVN 2942 is Asterisk 1.8.29.0-vici. musiconhold-vicidial.conf:

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
; Default Music On Hold
[default]
mode=files
directory=/var/lib/asterisk/default
sort=alpha

; Comhouse Wachtmuziek
[comhouse_music]
mode=files
directory=/var/lib/asterisk/comhouse_music
random=yes

; brightline
[brightline]
mode=files
directory=/var/lib/asterisk/brightline
random=yes

; Wachtmuziek RondOm
[RondOm_muziek]
mode=files
directory=/var/lib/asterisk/RondOm_muziek
random=yes

; Algemene popmuziek
[popmuziek]
mode=files
directory=/var/lib/asterisk/popmuziek
random=yes



; END OF FILE Last Forced System Reload: 2015-07-24 12:00:43





The SVN 2757 server has Asterisk 1.8.32.1-vici. musiconhold-vicidial.conf:

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
; Default Music On Hold
[default]
mode=files
directory=/var/lib/asterisk/default
sort=alpha

; Goedemorgen-Goedemiddag
[GMGM]
mode=files
directory=/var/lib/asterisk/GMGM
sort=alpha

; Queue Dial Tone then wait prompt
[QUE]
mode=files
directory=/var/lib/asterisk/QUE
sort=alpha

; Wachtmuziek
[HOLD]
mode=files
directory=/var/lib/asterisk/HOLD
sort=alpha

; On hold prompt met muziek
[Goedemorgen-Goedemiddag-Music]
mode=files
directory=/var/lib/asterisk/Goedemorgen-Goedemiddag-Music
random=yes

; DENNIS
[DENNIS]
mode=files
directory=/var/lib/asterisk/DENNIS
random=yes

; Standaard rinkel buiten openingstijden
[AFTERHOURSGMGM]
mode=files
directory=/var/lib/asterisk/AFTERHOURSGMGM
sort=alpha

; sterlingbosch
[sterlingbosch]
mode=files
directory=/var/lib/asterisk/sterlingbosch
sort=alpha

; Operator on hold muziek niet wijzigen svp dennis
[HOLD2]
mode=files
directory=/var/lib/asterisk/HOLD2
sort=alpha

; GMGM wachtmuziek niet wijzigen vraag Dennis
[GMHOLD2]
mode=files
directory=/var/lib/asterisk/GMHOLD2
sort=alpha

; Beschaafd
[Beschaafd]
mode=files
directory=/var/lib/asterisk/Beschaafd
random=yes



; END OF FILE Last Forced System Reload: 2015-01-27 21:06:40

Re: Ingroup continuation of on hold music

PostPosted: Sun Mar 25, 2018 10:06 pm
by mflorell
No idea on this one, never had that reported before. Do you have to Asterisk output from this?

Re: Ingroup continuation of on hold music

PostPosted: Mon Mar 26, 2018 12:52 am
by dspaan
All i can see is this:

[Mar 26 07:49:19] -- Started music on hold, class 'popmuziek', on SIP/flux_comhouse-00000000
[Mar 26 07:49:22] -- Stopped music on hold on SIP/flux_comhouse-00000000
[Mar 26 07:49:22] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Mar 26 07:49:22] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Mar 26 07:49:22] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Mar 26 07:49:22] -- Playing '1a3_Scheenbeschermeringesprek' (escape_digits=) (sample_offset 0)
[Mar 26 07:49:30] -- Started music on hold, class 'popmuziek', on SIP/flux_comhouse-00000000

Re: Ingroup continuation of on hold music

PostPosted: Mon Mar 26, 2018 5:24 am
by mflorell
Have you tried turning off "random=yes" in that one?

Re: Ingroup continuation of on hold music

PostPosted: Mon Mar 26, 2018 2:44 pm
by dspaan
Just did that but it keeps resetting the music after each prompt.

Re: Ingroup continuation of on hold music

PostPosted: Tue Mar 27, 2018 5:34 am
by mflorell
And the Asterisk CLI output is identical on both systems?

Have you searched the asterisk bug tracker for any related issues?

Re: Ingroup continuation of on hold music

PostPosted: Thu Apr 05, 2018 12:50 am
by dspaan
Hi Matt,

This turns out to be an Asterisk bug: https://issues.asterisk.org/jira/browse/ASTERISK-24019

All i did was replace res_musiconhold.so in /usr/lib64/asterisk/modules with the version from the server that didn't have the problem and issue fixed!

Re: Ingroup continuation of on hold music

PostPosted: Thu Apr 05, 2018 4:57 am
by mflorell
Thanks for posting your solution! :)