Tielin Xu
2006-Dec-05 16:49 UTC
[asterisk-users] Need some examples for configuring Asterisk under Realtime static
Hi List: Can someone hlep to provide one or two examples to data entry for sip.conf under the table structure? CREATE TABLE `sip_conf` ( `id` int(11) NOT NULL auto_increment, `cat_metric` int(11) NOT NULL default '0', `var_metric` int(11) NOT NULL default '0', `commented` int(11) NOT NULL default '0', `filename` varchar(128) NOT NULL default '', `category` varchar(128) NOT NULL default 'default', `var_name` varchar(128) NOT NULL default '', `var_val` varchar(128) NOT NULL default '', PRIMARY KEY (`id`), KEY `filename_comment` (`filename`,`commented`) ) TYPE=MyISAM; Thanks, Tielin
Dovid B
2006-Dec-06 03:19 UTC
[asterisk-users] Need some examples for configuring Asterisk underRealtime static
----- Original Message ----- From: "Tielin Xu" <TIELXU01@noa.nintendo.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, December 06, 2006 1:49 AM Subject: [asterisk-users] Need some examples for configuring Asterisk underRealtime static> Hi List: > > Can someone hlep to provide one or two examples to data entry for > sip.conf under the table structure? > > CREATE TABLE `sip_conf` ( > `id` int(11) NOT NULL auto_increment, > `cat_metric` int(11) NOT NULL default '0', > `var_metric` int(11) NOT NULL default '0', > `commented` int(11) NOT NULL default '0', > `filename` varchar(128) NOT NULL default '', > `category` varchar(128) NOT NULL default 'default', > `var_name` varchar(128) NOT NULL default '', > `var_val` varchar(128) NOT NULL default '', > PRIMARY KEY (`id`), > KEY `filename_comment` (`filename`,`commented`) > ) TYPE=MyISAM; > > Thanks, > > TielinDo want to add an account via mysql or hard code it in sip.conf ? After making asterisk you can do make samples. This will create sample file. The setup for the db is pretty much the same for sip.conf (the same data is required).