mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-14 13:58:38 +00:00
As suggested by seanbright, the PSEUDO_CHAN_LEN in
app_chanspy should be set at load time, not at compile time, since dahdi_chan_name is determined at load time. Also changed the next_unique_id_to_use to have the static qualifier. Also added the dahdi_chan_name_len variable so that strlen(dahdi_chan_name) isn't necessary. Thanks to seanbright for the suggestion. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@133169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -123,6 +123,7 @@ extern pid_t ast_mainpid;
|
||||
extern char record_cache_dir[AST_CACHE_DIR_LEN];
|
||||
extern char debug_filename[AST_FILENAME_MAX];
|
||||
extern const char *dahdi_chan_name;
|
||||
extern int dahdi_chan_name_len;
|
||||
extern enum dahdi_chan_modes {
|
||||
CHAN_ZAP_MODE,
|
||||
CHAN_DAHDI_PLUS_ZAP_MODE,
|
||||
|
||||
Reference in New Issue
Block a user