Summary:ASTERISK-02624: After #2650 fix chan_h323 doesn't build anymore :(
Reporter:Andrey S Pankov (casper)Labels:
Date Opened:2004-10-18 03:40:53Date Closed:2004-11-04 18:13:24.000-0600
Versions:Frequency of
Environment:Attachments:( 0) h323.diff
( 1) h323.diff
Description:Proper fixes are in ASTERISK-2580 I hope...


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.2/streambuf: At top level:
chan_h323.h:31: warning: `sockaddr_in bindaddr' defined but not used
make: *** [ast_h323.o] Error 1
Comments:By: Andrey S Pankov (casper) 2004-10-23 06:33:01

[patch] Here is the fix. The disclaimer is on file at Digium.

By: marlow (marlow) 2004-10-27 23:06:48

Actually only one line has to be changed, to fix that. (See h323.diff 10-27-04)

By: Andrey S Pankov (casper) 2004-10-28 03:52:45

What do you mean by "one line"? You've uploaded exactly my fix... both files are IDENTICAL.

By: marlow (marlow) 2004-10-28 11:57:57

Seems that i was very tired tonight :)

By: Russell Bryant (russell) 2004-11-04 18:13:04.000-0600

should be fixed in stable now.  The fix will be included in 1.0.3

Please reopen if there are further problems.