Summary:ASTERISK-02738: chan_h323 will not compile
Reporter:jas_williams (jas_williams)Labels:
Date Opened:2004-11-04 04:46:23.000-0600Date Closed:2004-11-04 18:16:08.000-0600
Versions:Frequency of
Description:On stable release chan_h323 will not compile the following error is produced

ast_h323.cpp: In member function `void
  MyH323Connection::SendUserInputTone(char, unsigned int)':
ast_h323.cpp:725: invalid conversion from `char' to `const char*'
ast_h323.cpp: In member function `virtual void
  MyH323Connection::OnUserInputTone(char, unsigned int, unsigned int, unsigned
ast_h323.cpp:735: invalid conversion from `char' to `const char*'
ast_h323.cpp: In member function `virtual void
  MyH323Connection::OnUserInputString(const PString&)':
ast_h323.cpp:746: invalid conversion from `char' to `const char*'
/usr/include/c++/3.2.3/streambuf: At top level:
chan_h323.h:31: warning: `sockaddr_in bindaddr' defined but not used
make: *** [ast_h323.o] Error 1


All prerequisits in place and checked, I used to have this running fine. I have done a make update to ensure the code is current

Comments:By: lvazquez (lvazquez) 2004-11-04 13:32:35.000-0600

I have just submited another bug report (2790) on the same topic. The problem is related to a mismatch between the new signature of the send_digit(unsigned,char,char*) function in chan_h323.c and the type of the on_send_digit function pointer variable used to hold it.
A patch is included that seems to fix it.

By: Russell Bryant (russell) 2004-11-04 18:15:56.000-0600

This was a duplicate of 2669.  It should be fixed now.

Feel free to re-open if you have further problems.