Did you try enabling debugging (see http://kamailio.org/docs/modules/5.0.x/modules/mohqueue.html#rpc.debug)? What do the logs tell you?

On Thu, Oct 19, 2017 at 10:46 AM, Fyodor <notifications@github.com> wrote:

os: ubuntu 16.04
installation: apt install kamailio

rttproxy configured and works(SRTP works fine)
Databases for mohqueue exist

My kamailio.cfg:

loadmodule "mohqueue.so"

# --- music on hold moh ----
modparam ("mohqueue", "db_url", "mysql://kamailio:MYPASSWORDHERE@localhost/kamailio")
modparam ("mohqueue", "mohdir", "/etc/kamailio/moh")
modparam ("mohqueue", "moh_maxcalls", 3000)
fed@vps1:/etc/kamailio# ls -al /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

No errors or warnings in log file. Calls work fine, but no music on hold.

Can anybody help me, please?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev