Music played while waiting on calls

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Music played while waiting on calls

Postby sofcall » Sat Mar 10, 2012 5:54 pm

Could you provide me a dialplan that enables my agents to have music played while waiting on calls.(outbound)
and ofcourse i will keep an eye on the server load.
my dialplan is as follow.

exten => _0ZXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0ZXXXXXXX.,n,Dial(${TRUNK}/0033${EXTEN:1},,tToR)
exten => _0ZXXXXXXX.,n,Hangup.

Thank you.
Goautodial CE 2.1/Vicidial version 2.4-309a
build:110430-1642/asterisk 1.4.39.1
Single server (IBM E-SERVER - 2 Cpu /Intel Xeon 2.6 GHz quad core(Processors:4)
Ram 4 Go DDR SDRAM - ECC
3 Mega upload and download
no extra hardware.
Webmin as an addons.
sofcall
 
Posts: 110
Joined: Wed Feb 02, 2011 4:49 am
Location: Morocco

thanks

Postby brett05 » Sat Mar 10, 2012 6:44 pm

Index: musiconhold.conf.sample

===================================================================

--- musiconhold.conf.sample (revision 1461)
+++ musiconhold.conf.sample (working copy)
@@ -10,6 +10,10 @@
mode=files
directory=/var/lib/asterisk/quiet-mp3


+[agents]
+mode=files
+directory=/var/lib/asterisk/agentmoh
+
#include musiconhold-vicidial.conf

; valid mode options:
Index: extensions.conf.sample
===================================================================
--- extensions.conf.sample (revision 1461)
+++ extensions.conf.sample (working copy)
@@ -331,7 +331,8 @@
; astGUIclient conferences
exten => _86000[0-4]X,1,Meetme,${EXTEN}|q
; VICIDIAL conferences
-exten => _86000[5-9]X,1,Meetme,${EXTEN}|F
+exten => _86000[5-9]X,1,SetMusicOnHold(agents)
+exten => _86000[5-9]X,2,Meetme,${EXTEN}|F1M
exten => _8600[1-2]XX,1,Meetme,${EXTEN}|F
; quiet entry and leaving conferences for VICIDIAL (inbound announce and SendDTMF)
exten => _78600XXX,1,Meetme,${EXTEN:1}|Fq
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Re: Music played while waiting on calls

Postby paok1926 » Sun Jan 20, 2019 11:48 am

The section in my extension.conf is like this.. what should i change to add "agents" music on hold ?

; 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()
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 » Sun Jan 20, 2019 2:38 pm

paok1926 wrote:The section in my extension.conf is like this.. what should i change to add "agents" music on hold ?

; 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()

‘M’ — enable music on hold when the conference has a single caller

It already has "F" (which is to pass through button presses), so add "M" to get "FM" and you'll have MOH when alone in the room AND pass through on button presses. But do note that this uses CPU power for the MOH. similar to having an extra call.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Music played while waiting on calls

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

so, it should be :
Code: Select all
; 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()


and where i declare the music list, in this example, "agents" ?
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 » Sun Jan 20, 2019 6:34 pm

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


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 19 guests