[Home]

Summary:ASTERISK-04286: [patch] H.323 compilation failure fix
Reporter:Paul Cadach (pcadach)Labels:
Date Opened:2005-05-26 12:58:16Date Closed:2005-06-01 11:58:58
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ast-h323-account.diff
Description:In file included from ast_h323.cxx:48:
chan_h323.h:55: error: `AST_MAX_ACCOUNT_CODE' was not declared in this scope
make[1]: *** [ast_h323.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels/h323'
make: *** [debug] Error 2

compile failure

****** ADDITIONAL INFORMATION ******

Originally reported by wgfreewill at ASTERISK-3875.

JerJer's fix in the CVS-HEAD isn't clear because constant could be changed in main tree and should be synchronously updated in ast_h323.h.
Comments:By: wgfreewill (wgfreewill) 2005-05-31 09:48:49

Looks fixed, compilation was successfull.

wg

By: Paul Cadach (pcadach) 2005-05-31 10:29:33

JerJer fix isn't clear - it defines AST_MAX_ACCOUNT_CODE within chan_h323's sources and it's not related to the one defined in asterisk's core tree, so changes in asterisk's core (probably) will cause chan_h323 mis-working. Attached patch uses definition from core tree to be sure the value is correct.

By: jerjer (jerjer) 2005-06-01 11:58:44

applied to cvs -head

By: jerjer (jerjer) 2005-06-01 11:58:58

not in -stable.