Re: [Asterisk-java-devel] Asterisk Database Configuration
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2010-01-27 18:43:05
|
Hi ahmed, its always nice to see people, that are eager to learn and that use this great technology provided by the asterisk-team and especially S. Reuter and his contributors from asterisk-java. But sometimes it is annoying to always repeat the same things... please take care of the rules, otherwise it may happen very soon, that nobody takes care of your posts any more. Concerning to your question: - it is not an asterisk-java specific question, so you placed it in the wrong list.. you should try asterisk-users instead. but... before you do... try a search on google. with the right keywords, you´ll get a lot of tutorials that show you how to do it. Its really easy. Yves ahmed magdy schrieb: > Hello > > I need to add sip extensions from my UI so without going through > sip.conf so i created table > CREATE TABLE `sipfriends` ( > `name` varchar(40) NOT NULL default '', > `username` varchar(40) default '', > `secret` varchar(40) NOT NULL default '', > `context` varchar(40) NOT NULL default '', > `ipaddr` varchar(20) NOT NULL default '', > `port` int(6) NOT NULL default '0', > `regseconds` int(11) NOT NULL default '0', > PRIMARY KEY (`name`) > ) TYPE=MyISAM > then i put sip.conf > [general] > hostname=localhost > dbname=asterisk > table= sipfriends > password=ahmed > user=root > then i insert in sql this statment insert into sipfriends values > ('555','555','1234','555','192.168.50.149',5060,2); > i tried from Xlite to register with 555 but i couldn't > any help please > > -- > Ahmed Magdy Mahmoud > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |