Hello, I am with Raspberry Pi3 and Asterisk 13.14.1~dfsg-2+deb9u4 built by buildd @ testbuildd on a armv7l running
And Asterisk GUI Version 2.
I can’t find way to change the music on hold…
It’s not like Elastix?
Hello, I am with Raspberry Pi3 and Asterisk 13.14.1~dfsg-2+deb9u4 built by buildd @ testbuildd on a armv7l running
And Asterisk GUI Version 2.
I can’t find way to change the music on hold…
It’s not like Elastix?
GUI are not supported on this forum, in case you decide to install plain asterisk changes are made on /etc/asterisk/musiconhold.conf
Hi, how to modify /etc/asterisk/musiconhold.conf?
And in what format I will convert the auido for music on hold??
I exported from my old Elastix 8kHz mono wave.
If you are using a GUI doesnt matter what change you do on your configurations files, they will be overwritten by the GUI
Asterisk GUI is not supported. Full Stop!
The preferred format for music on hold is the supported format closest to the codec you use. You can have the files in more than one format. To keep it simple, use .wav (RIFF), in 16 bit, signed linear, 8kHz, mono format.
Note that MoH will not work well with vocoder type cdecs, e.g. GSM and G.729.
Hi Team,
I am facing a strange issue while calculating the talk time of transferred calls.
CentOS 7, Asterisk 11
My scenario is Agent 501 and 502 are part of a Queue.
1- Make inbound call that will land in Queue,
2- Agent 501 will attend the call and talk for 30 sec
3- Agent 501 will transfer call to Agent 502
4- Agent 502 will talk around 20 sec.
5- Agent 502 will hangup the call
Now Agent 501 has all the talk time and Agent 502 has no talk time shown in ‘queue show’.
So for my findings are that Queue is not aware of transferred call to Agent 501.
Is there any appropriate way to push queue events that call has been transferred and its should log Agent 502 talk time.
Place a local channel ahead of the queue and direct the transfer to that.
Don’t hijack thread please open a new one
My gui doesn’t work fully.
And I use terminal.
And thats why we don’t support GUI’s here.
Apologize for that.
Opening separate thread.
Hi Team,
I am facing a strange issue while calculating the talk time of transferred calls.
CentOS 7, Asterisk 11
My scenario is Agent 501 and 502 are part of a Queue.
1- Make inbound call that will land in Queue,
2- Agent 501 will attend the call and talk for 30 sec
3- Agent 501 will transfer call to Agent 502
4- Agent 502 will talk around 20 sec.
5- Agent 502 will hangup the call
Now Agent 501 has all the talk time and Agent 502 has no talk time shown in ‘queue show’.
So for my findings are that Queue is not aware of transferred call to Agent 501.
Is there any appropriate way to push queue events that call has been transferred and its should log Agent 502 talk time?
You have not started a new thread.
Who can show me how to modify /etc/asterisk/musiconhold.conf file and where I have to put .wave music?
To me the documentation https://github.com/asterisk/asterisk/blob/master/configs/samples/musiconhold.conf.sample is pretty clear. If you want more help than that, you really need to hire a paid consultant.
The exact form of file extensions is critical to Asterisk. .wave has no meaning, .wav is linear, and .WAV is GSM.
It was so easy…
So
in musiconhold.conf
from
[default]
mode=files
directory=moh
I change to
[default]
mode=files
directory=/var/lib/asterisk/moh
And I solve my problem…
But it will be so cool to setup m3u stream of radio?
Is it possible?
Yes.
Use a custom application to play the stream.
I tried this bash script “moh.sh”
#!/bin/bash
if -n “ls /tmp/asterisk-moh-pipe.*
” ; then
rm /tmp/asterisk-moh-pipe.*
fi
PIPE="/tmp/asterisk-moh-pipe.$$"
mknod $PIPE p
mplayer http://193.108.24.21:8000/fresh -really-quiet -quiet -ao pcm:file=$PIPE -af resample=8000,channels=1,format=mulaw 2>/dev/null | cat $PIPE 2>/dev/null
rm $PIPE
I put the bash script in /usr/sbin/
In my musiconhold.conf I put under default:
[default]
;mode=files
;directory=/var/lib/asterisk/moh
mode=custom
application=/usr/sbin/moh.sh
Now service asterisk restart…
And don’t hear nothing in hold on…
And how can I change ring tone while calling with hold on music?
In my extention.conf I don’t see line where to read [incoming] ?