Music played while waiting on calls

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Music played while waiting on calls

Postby ruben23 » Wed Jul 12, 2017 9:03 am

VERSION: 2.14-579a
BUILD: 161128-1746
© 2016 ViciDial Grou
ASterisk 1.8
Ubuntu Server

Hi guys any idea how to configure the Dialplan or maybe some configuration on the latest vicidial trunk to play Audio Music while Agent are waiting for calls to come in please help, any sample config, i read a thread here before that says in Meetme configuration put option M, but how do i exactly format it on a dial plan..? Thanks
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Music played while waiting on calls

Postby mflorell » Wed Jul 12, 2017 9:17 am

Yes, this is a meetme option, you will need to put it in the extensions.conf:


; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM)
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},FM)
exten => _8600[1-2]XX,n,Hangup()



This is an explanation of the meetme M option:

M[(class)]: Enable music on hold when the conference has a single
caller. Optionally, specify a musiconhold class to use. If one is not
provided, it will use the channel's currently set music class, or 'de
fault'.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Music played while waiting on calls

Postby paok1926 » Sun Jan 20, 2019 6:33 pm

convert your music files to 8K, Mono, 16bit PCM
upload them to a directory.. e.g. /var/lib/asterisk/agents-1

add to musiconhold.conf
Code: Select all
[agents-1]
mode=files
directory=/var/lib/asterisk/agents-1

edit extensions.conf
from:
Code: Select all
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},F)
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},F)
exten => _8600[1-2]XX,n,Hangup()


to:
Code: Select all
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM(agents-1))
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},FM(agents-1))
exten => _8600[1-2]XX,n,Hangup()
Vicibox from ViciBox_v8_1.x86_64-8.1.2.iso | Asterisk 11.25.3-vici
VERSION: 2.14-695a - BUILD: 181116-1133
No Extra Software and Hardware | VM with 8 cores & 16Gb Ram
~8000-9000 calls per day
paok1926
 
Posts: 40
Joined: Mon Jan 07, 2019 6:45 pm

Re: Music played while waiting on calls

Postby paok1926 » Mon Jan 21, 2019 6:20 am

With this one works fine... We listen to Chopin, J.S.Bach, etc.. default music on hold..

Code: Select all
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM)


with this one,
Code: Select all
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM(agents-1))

custom music starts and after a few seconds the message "No one is in your session: 8600052" appears..
If i go back, i return to the agent screen for a few moments and re-appears back..
Vicibox from ViciBox_v8_1.x86_64-8.1.2.iso | Asterisk 11.25.3-vici
VERSION: 2.14-695a - BUILD: 181116-1133
No Extra Software and Hardware | VM with 8 cores & 16Gb Ram
~8000-9000 calls per day
paok1926
 
Posts: 40
Joined: Mon Jan 07, 2019 6:45 pm

Re: Music played while waiting on calls

Postby williamconley » Mon Jan 21, 2019 3:43 pm

Are you saying that the error message does not occur with the top version but does occur with the bottom version?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Music played while waiting on calls

Postby dspaan » Fri Feb 22, 2019 10:46 am

paok1926 wrote:convert your music files to 8K, Mono, 16bit PCM
upload them to a directory.. e.g. /var/lib/asterisk/agents-1

add to musiconhold.conf
Code: Select all
[agents-1]
mode=files
directory=/var/lib/asterisk/agents-1

edit extensions.conf
from:
Code: Select all
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},F)
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},F)
exten => _8600[1-2]XX,n,Hangup()


to:
Code: Select all
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM(agents-1))
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},FM(agents-1))
exten => _8600[1-2]XX,n,Hangup()


Do these instructions still apply to asterisk 13? I tried to test this and logged into a ratio campaign with a test list and a webphone and while waiting i didn't hear any music.
There was no output about playing files or failes of playing on the CLI.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1374
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 66 guests