mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
Fix w/ string field updates #6397
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+2
-2
@@ -11099,6 +11099,8 @@ int load_module(void)
|
||||
return -1;
|
||||
}
|
||||
#ifdef ZAPATA_PRI
|
||||
ast_string_field_init(&inuse, 16);
|
||||
ast_string_field_set(&inuse, name, "GR-303InUse");
|
||||
ast_cli_register_multiple(zap_pri_cli, sizeof(zap_pri_cli) / sizeof(zap_pri_cli[0]));
|
||||
#endif
|
||||
#ifdef ZAPATA_R2
|
||||
@@ -11113,8 +11115,6 @@ int load_module(void)
|
||||
ast_manager_register( "ZapDNDon", 0, action_zapdndon, "Toggle Zap channel Do Not Disturb status ON" );
|
||||
ast_manager_register( "ZapDNDoff", 0, action_zapdndoff, "Toggle Zap channel Do Not Disturb status OFF" );
|
||||
ast_manager_register("ZapShowChannels", 0, action_zapshowchannels, "Show status zapata channels");
|
||||
ast_string_field_init(&inuse, 16);
|
||||
ast_string_field_set(&inuse, name, "GR-303InUse");
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user