[Asterisk-Users] WARNING[22314]: No such switch 'Realtime'

Chris Tooley ctooley at gmail.com
Tue Dec 28 16:57:00 MST 2004


It would be nice if the table schema and basic usage would sketched
out.  I'm happy to add it to the wiki, I just have to get a usable
configuration to do so.

I have the following as my create table statement.  I appreciate it if
it was corrected.

CREATE TABLE iax (
  uniqueid int(11) NOT NULL auto_increment,
  name varchar(30) NOT NULL default '',
  accountcode varchar(30) default NULL,
  amaflags char(1) default NULL,
  callgroup varchar(30) default NULL,
  callerid varchar(50) default NULL,
  canreinvite char(1) default NULL,
  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 char(1) default NULL,
  language char(2) default NULL,
  mailbox varchar(50) default NULL,
  md5secret varchar(32) default NULL,
  nat varchar(5) default NULL,
  auth varchar(5) default NULL,
  inkeys varchar(64) 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,
  notransfer varchar(4) default NULL,
  restrictcid char(1) default NULL,
  rtptimeout char(3) default NULL,
  rtpholdtimeout char(3) default NULL,
  secret varchar(30) default NULL,
  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 '',
  PRIMARY KEY  (uniqueid),
  UNIQUE KEY name (name),
  KEY name_2 (name)
) TYPE=MyISAM;

Where do the rest of the iax settings go (do we still use iax.conf?)
and do I have to set everyone up as a friend or can I use users and
peers as well?


Chris Tooley

On Tue, 28 Dec 2004 15:45:20 -0800, Gabriel Afana <adtomi at adelphia.net> wrote:
> 
> ----- Original Message -----
> From: "Nick Bachmann" <asterisk at not-real.org>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Tuesday, December 28, 2004 3:33 PM
> Subject: Re: [Asterisk-Users] WARNING[22314]: No such switch 'Realtime'
> 
> > Gabriel Afana wrote:
> >
> > >Ahhh, and I've read every message telling everybody they dont have the
> > >lastest version...thats why I went to asterisk.org and downloaded the
> > >highest-number version I could find in the FTP.... Ok....downloaded
> latest
> > >CVS but now asterisk wont compile.  I had it working before.
> > >
> > >during "make", it says:
> > >
> > >chan_zap.c:61:2: #error "You need newer libpri"
> > >
> > This error means that you need a newer libpri.
> >
> > That means you need to:
> >
> > # cvs checkout zaptel libpri asterisk
> >
> > and then
> >
> > # cd zaptel
> > # make clean; make install
> > # cd ../libpri
> > # make clean; make install
> > # cd ../asterisk
> > # make clean; make install
> >
> > Nick
> 
> 
> I did that...I can't tell you how many times!  but for some reason I just
> did it again and it worked.  I think it was because I was doing:
> 
> make clean
> make
> make instsall
> 
> instead of just:
> 
> make clean
> make install
> 
> Oh well...testing Realtime extensions now...I hope it works! :-)
> 
> Gabe
> 
> 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>



More information about the asterisk-users mailing list