Hello,


On 24.10.17 03:04, Fedor wrote:
I got in my kamailio.cfg:

loadmodule "mohqueue.so"

# --- music on hold moh ----
modparam ("mohqueue", "db_url", "mysql://kamailio:PASSWORDHERE@localhost/kamailio")
modparam ("mohqueue", "mohdir", "/etc/kamailio/moh")
modparam ("mohqueue", "moh_maxcalls", 3000)


Databases for mohqueue exist
rttproxy configured

fed@vps1:/etc/kamailio# ll /etc/kamailio/moh/
total 185424
drwxr-xr-x 2 kamailio kamailio    4096 Oct  8 09:32 ./
drwxr-xr-x 3 root     root        4096 Oct  8 10:04 ../
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.0
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.1
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.10
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.11
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.12
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.13
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.14
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.15
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.16
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.17
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.18
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.19
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.2
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.20
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.3
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.4
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.5
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.6
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.7
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.8
-rw-r--r-- 1 kamailio kamailio 8627660 Oct  8 09:32 hold.9
-rw-r--r-- 1 kamailio kamailio 8627660 Jan  2  2017 hold.wav


rtpproxy configured, but no music on hold(srtp works fine)

Can anybody help me, please?

I don't use mohqueue myself, but I noticed that you mention srtp and afaik rtpproxy cannon encrypt/decrypt srtp traffic. Have you tried with plain rtp (no encryption)?

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com
Kamailio World Conference - www.kamailioworld.com