[asterisk-users] Music on hold problem

Russell Bryant russell at digium.com
Wed Jul 18 21:11:57 CDT 2007


yonoko molomo wrote:
> [Jul 17 11:19:22] WARNING[23645]: src/chan_h323.c:1044
> ooh323_indicate: Don't know how to indicate condition -1 on ooh323c_1
> [Jul 17 11:19:25] NOTICE[23645]: rtp.c:783 process_rfc3389: Comfort
> noise support incomplete in Asterisk (RFC 3389). Please turn off on
> client if possible. Client IP: 10.4.0.116
> [Jul 17 11:19:25] WARNING[23645]: src/chan_h323.c:1044
> ooh323_indicate: Don't know how to indicate condition 16 on ooh323c_1

This would be a bug in the ooh323 channel driver.  Feel free to report it to 
bugs.digium.com.  I think it's an easy fix.

...

In fact, here is a patch that should fix it.  Feel free to go ahead and give it 
a try and let me know if it fixes the problem for you.  However, please still 
report it to bugs.digium.com, or I will forget to merge the change.


Index: asterisk-ooh323c/src/chan_h323.c
===================================================================
--- asterisk-ooh323c/src/chan_h323.c    (revision 413)
+++ asterisk-ooh323c/src/chan_h323.c    (working copy)
@@ -1036,9 +1036,16 @@
              ast_set_flag(p, H323_ALREADYGONE);
           }
           break;
+      case AST_CONTROL_HOLD:
+         ast_moh_start(ast, data, NULL);
+         break;
+      case AST_CONTROL_UNHOLD:
+            ast_moh_stop(ast);
+         break;
        case AST_CONTROL_PROCEEDING:
        case AST_CONTROL_RINGING:
        case AST_CONTROL_PROGRESS:
+      case -1;
           break;
        default:
           ast_log(LOG_WARNING,"Don't know how to indicate condition %d on %s\n",


-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-users mailing list