Michael Zheng
2004-Jan-30 14:28 UTC
[Asterisk-Users] Help!!!: test Asterisk error: error on IAX1.conf and warning on chan_iax2.c
Hi, all Please help me. My platform is RedHat Linux 9.0. I have a wildcard x100p. I just installed asterisk by following step: # cd ../zaptel # make clean ; make install # cd ../libpri # make clean ; make install # cd ../asterisk # make clean ; make install # make samples When I test Asterisk typing # asterisk –vvvvc I get one error and one warning: [chan_iax.so] => (Inter Asterisk eXchange) == Manager registered action IAX1peers == Parsing '/etc/asterisk/iax1.conf': Not found (No such file or directory) Jan 30 14:38:23 ERROR[1074468608]: chan_iax.c:4826 set_config: Unable to load config iax1.conf == Parsing '/etc/asterisk/iax.conf': Found == Using TOS bits 16 == Registered channel type 'IAX1' (Inter Asterisk eXchange Drver) == Registered channel type 'IAX' (Inter Asterisk eXchange Drver) == IAX Ready and Listening on 0.0.0.0 port 5036 [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) == Manager registered action IAXpeers == Parsing '/etc/asterisk/iax.conf': Found Jan 30 14:38:24 WARNING[1074468608]: chan_iax2.c:5510 set_config: Ignoring port for now == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == Using TOS bits 16 == IAX Ready and Listening on 0.0.0.0 port 4569 What is in the file IAX1.conf, why I don't have this file? Why I get warning on chan_ian2.c? How can I solve these problems? By the way, if I only use wildcards (wildcard x100p and wildcard TDM400p), when I install Asterisk, can I skip installing libpri just do like this: # cd ../zaptel # make clean ; make install # cd ../asterisk # make clean ; make install # make samples (skip: cd ../libpri; make clean; make install) Best, Michael __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
Brancaleoni Matteo
2004-Jan-30 14:52 UTC
[Asterisk-Users] Help!!!: test Asterisk error: error on IAX1.conf and warning on chan_iax2.c
hi> > What is in the file IAX1.conf, why I don't have this > file? Why I get warning on chan_ian2.c? How can I > solve these problems?Sorry if I'm rude, but RTFML (read the f*** mailing list)... this has been widely discussed recently. then... first: don't crosspost to the -dev mailing list... this ins't a -dev question second: there's a transition in progress in iax channels. The old chan_iax is obsoleted by the new chan_iax2 so now chan_iax searches for iax1.conf instead of iax.conf (used only by iax2). so don't use iax1 at all, put a noload => chan_iax.so in modules.conf ... and you're done. for the port error, is only a warining. iax2 port is now hardcoded to chan_iax2, so it ignores the conf file port=XXXX param (for now). as soon as the transition will be done, iax2 will read correctly the portparam.> (skip: cd ../libpri; make clean; make install)yes, as the name libpri is needed only for pri matteo -- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia - Emmegi Srl