Turn debugging on in the database (http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#mohqueues.dbase) and take a look at the logs.  They should help to reveal what is happening.

On Sat, Jul 23, 2016 at 7:36 AM, Gaurav Bmotra <saigauravmehra91@gmail.com> wrote:
alright now i have resolve the above error but MOH not working 
when i have put the call on hold then there is no music play
i have just put the audio file in /var/kamailio/MOH 

On Sat, Jul 23, 2016 at 3:23 AM, Gaurav Bmotra <saigauravmehra91@gmail.com> wrote:
but in my kamailio configuration file rtpproxy is configure



On Sat, Jul 23, 2016 at 2:36 AM, Robert Boisvert <rdboisvert@gmail.com> wrote:
It looks like you haven't correctly setup and configured the rtpproxy feature which mohqueue relies on. See http://kamailio.org/docs/modules/4.3.x/modules/rtpproxy.html#idp2409144

On Fri, Jul 22, 2016 at 3:06 PM, Gaurav Bmotra <saigauravmehra91@gmail.com> wrote:
hi Robert
 now kamailio service is started successfully 
SIP to SIP call going good but MOH still not working 


i  get these error
but is i check the logs then it shows
--------------------------------------------------------
Jul 23 00:26:26 bmotra /usr/sbin/kamailio[6647]: ERROR: rtpproxy [rtpproxy.c:1716]: send_rtpp_command(): proxy <udp:127.0.0.1:7722> does not respond, 
Jul 23 00:26:26 bmotra /usr/sbin/kamailio[6647]: WARNING: rtpproxy [rtpproxy.c:1573]: rtpp_test(): can't get version of the RTP proxy
Jul 23 00:26:26 bmotra /usr/sbin/kamailio[6647]: WARNING: rtpproxy [rtpproxy.c:1609]: rtpp_test(): support for RTP proxy <udp:127.0.0.1:7722> has been
Jul 23 00:26:26 bmotra /usr/sbin/kamailio[6647]: ERROR: rtpproxy [rtpproxy.c:1961]: unforce_rtp_proxy(): no available proxies
Jul 23 00:26:26 bmotra /usr/sbin/kamailio[6657]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: transaction answered: timestamp=1469213786;method=BY
Jul 23 00:26:44 bmotra /usr/sbin/kamailio[6645]: ERROR: rtpproxy [rtpproxy.c:2638]: force_rtp_proxy(): no available proxies
Jul 23 00:26:59 bmotra /usr/sbin/kamailio[6655]: ERROR: rtpproxy [rtpproxy.c:2638]: force_rtp_proxy(): no available proxies
Jul 23 00:26:59 bmotra /usr/sbin/kamailio[6655]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: transaction answered: timestamp=1469213819;method=IN
Jul 23 00:27:04 bmotra /usr/sbin/kamailio[6648]: ERROR: rtpproxy [rtpproxy.c:1961]: unforce_rtp_proxy(): no available proxies
Jul 23 00:27:04 bmotra /usr/sbin/kamailio[6655]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: transaction answered: timestamp=1469213824;method=BY
lines 1-36/36 (END)
------------------------------------------------------------------------------------------ 

On Fri, Jul 22, 2016 at 2:12 PM, Daniel Tryba <d.tryba@pocos.nl> wrote:
On Fri, Jul 22, 2016 at 02:34:53AM +0530, Gaurav Bmotra wrote:
> no i have not use kamdbctl extra
>  i have create these tables (mqueues, mcalls) manualy

That isn't enough, modules check the version table for specific versions
of the target tables structures:
See mohqueue-create.sql somewhere in the source tree, it contains:

CREATE TABLE `mohqcalls` (
...
);

INSERT INTO version (table_name, table_version) values
('mohqcalls','1');

CREATE TABLE `mohqueues` (
...
);

INSERT INTO version (table_name, table_version) values
('mohqueues','1');


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--








Regards:
Gaurav Bmotra

Smith Infotech 
E-46, phase 8 , Indus Area S.A.S Nagar Mohali 160071

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--








Regards:
Gaurav Bmotra

Smith Infotech 
E-46, phase 8 , Indus Area S.A.S Nagar Mohali 160071



--








Regards:
Gaurav Bmotra

Smith Infotech 
E-46, phase 8 , Indus Area S.A.S Nagar Mohali 160071

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users