[asterisk-users] Realtime Extensions -- Comments?

Douglas Garstang dgarstang at oneeighty.com
Tue Aug 22 07:20:25 MST 2006


The unofficial docs on the voip wiki for the realtime extensions table structure is:

CREATE TABLE `extensions_table` ( 
 `id` int(11) NOT NULL auto_increment, 
 `context` varchar(20) NOT NULL default '', 
 `exten` varchar(20) NOT NULL default '', 
 `priority` tinyint(4) NOT NULL default '0', 
 `app` varchar(20) NOT NULL default '', 
 `appdata` varchar(128) NOT NULL default '', 
 PRIMARY KEY  (`context`,`exten`,`priority`), 
 KEY `id` (`id`) 
) TYPE=MyISAM; 

Uhm... what abouts comments? What if I wanted to temporarily deactivate a couple of extensions? Without a comment flag, I'd have to completely remove those entries from the extensions table! That's not very friendly is it... Is there a better way?

Doug.



More information about the asterisk-users mailing list