Jason Goecke
2004-Dec-14 05:52 UTC
[Asterisk-Users] Asterisk Realtime IAX - Adding fields for database table
Hello, Right now there is not a table build script at: http://www.voip-info.org/wiki-Asterisk+RealTime+IAX Therefore I have taken the SIP build script and added a few fields that I use from my iax.conf (could be more out there, please see the complete build script below): `dbsecret` varchar(100) default '', `notransfer` varchar(100) default '', `inkeys` varchar(100) default '', `auth` varchar(100) default '', `qualify` varchar(4) default NULL, While most of IAX peers are working for inbound/outbound, Voicepulse is not (requires the 'qualify' field set to yes). Not sure if this is a problem on my side (although it works from the iax.conf settings). So, my question is. Will the Asterisk Realtime code pick up any new fields added to a table and use those dynamically? What else could the problem be? Any ideas? ----------------------------------------- # Host: X # Database: my_table # Table: 'iax_buddies' # CREATE TABLE `iax_buddies` ( `dbsecret` varchar(100) default '', `notransfer` varchar(100) default '', `inkeys` varchar(100) default '', `auth` varchar(100) default '', `name` varchar(30) NOT NULL default '', `accountcode` varchar(30) default NULL, `amaflags` char(1) default NULL, `callgroup` varchar(30) default NULL, `callerid` varchar(100) default NULL, `canreinvite` varchar(100) default '', `context` varchar(30) default NULL, `defaultip` varchar(15) default NULL, `dtmfmode` varchar(7) default NULL, `fromuser` varchar(50) default NULL, `fromdomain` varchar(31) default NULL, `host` varchar(31) NOT NULL default '', `incominglimit` char(2) default NULL, `outgoinglimit` char(2) default NULL, `insecure` varchar(100) default '', `language` char(2) default NULL, `mailbox` varchar(50) default NULL, `md5secret` varchar(32) default NULL, `nat` varchar(5) default NULL, `permit` varchar(95) default NULL, `deny` varchar(95) default NULL, `pickupgroup` varchar(10) default NULL, `port` varchar(5) NOT NULL default '', `qualify` varchar(4) default NULL, `restrictcid` char(1) default NULL, `rtptimeout` char(3) default NULL, `rtpholdtimeout` char(3) default NULL, `secret` longtext, `type` varchar(6) NOT NULL default '', `username` varchar(30) NOT NULL default '', `allow` varchar(100) default NULL, `disallow` varchar(100) default NULL, `regseconds` int(11) NOT NULL default '0', `ipaddr` varchar(15) NOT NULL default '', UNIQUE KEY `name` (`name`) ) TYPE=MyISAM; -----------------------------------------
Kevin P. Fleming
2004-Dec-14 08:32 UTC
[Asterisk-Users] Asterisk Realtime IAX - Adding fields for database table
Jason Goecke wrote:> While most of IAX peers are working for > inbound/outbound, Voicepulse is not (requires the > 'qualify' field set to yes). Not sure if this is a > problem on my side (although it works from the > iax.conf settings).qualify= and mailbox= do not work with the realtime configuration engine. It doesn't matter if you specify them in the database, the thread that handles them will never look at the peers you have defined in the database, only the ones defined in iax.conf.
Craig Guy
2004-Dec-15 00:24 UTC
[Asterisk-Users] Looking for affordable Digium hardware vendor inAustralia
Austech Partnerships (www.atp.org.au) I believe are the A-tick holders for digium hardware in Australia. They have told me previously that digium hardware not supplied by them is not approved for connection in Australia. Even then the only approved hardware currently are the quad-port PRI cards. The TDM cards are pending approval and have been for some time now. Craig ----- Original Message ----- From: "Kavit Munshi" <kavit@xolinc.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, December 15, 2004 9:14 AM Subject: [Asterisk-Users] Looking for affordable Digium hardware vendor inAustralia> Hi, > > We are looking for a regular supplier of Digium hardware in Australia. > any help will be appreciated. > > regards > > Kavit > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users