Posted: Tue Dec 21, 1999 7:28 am Post subject: [Asterisk] error on execution
Quote:
After I compile everything with make and make install, I try to run
./asterisk and I get this:
ERROR: File chan_vofr.c, Line 1044 (load_module): Unable to load config
adtranvofr.conf
WARNING: File loader.c, Line 156 (ast_load_resource): chan_vofr.so:
load_module failed, returning 134582432
WARNING: File loader.c, Line 248 (load_modules): Loading module chan_vofr.so
failed!
This is happening becuase there is no configuration file for the adtran
VoFR support in /etc/asterisk. You can find sample configuration files in
the configs directory off the source tree. Please remember that to use
Asterisk at this point, you have to have supported hardware (i.e. an
Internet PhoneJack, an Adtran Atlas (and supported frame relay card on the
linux box), or a rockwell chipset voicemodem (ISA, non-PNP -- and this
driver is not fully supported yet).
In the mean time, you can put the configs/modules.conf.sample in
/etc/asterisk/modules.conf and disable the modules for adtran vofr (using
the noload= option). Of course , if you disable the channels there's not
much you'll be able to do except kinda poke around the system.
I'm just now starting on some VoIP support. I've looked at OpenH323 but I
need someone with some C++ experience to help build a driver for it (and
there will be some important licensing concerns regarding it since it is
under MPL, incompatible with GPL. In the mean time, I'm making my own,
optimised VoIP protocol I'm calling "IAX" for Inter Asterisk eXchange.
Its purpose will be to support connecting multiple Asterisk PBX's together
using UDP, and I will probably try to make gnophone suppport it as a
client.
Posted: Tue Dec 21, 1999 12:46 pm Post subject: [Asterisk] error on execution
Hi
On Tue, Dec 21, 1999 at 01:28:04AM -0600, Mark Spencer wrote:
Quote:
This is happening becuase there is no configuration file for the adtran
VoFR support in /etc/asterisk. You can find sample configuration files in
the configs directory off the source tree. Please remember that to use
Asterisk at this point, you have to have supported hardware (i.e. an
Internet PhoneJack, an Adtran Atlas (and supported frame relay card on the
linux box), or a rockwell chipset voicemodem (ISA, non-PNP -- and this
driver is not fully supported yet).
What is the current status of this driver? Will it support isdn4linux
in the future? I hacked it a bit to initialize the isdn4linux modem
emulator, and it at least starts up without complaning. But chanlist
shows an empty list. I was using the command line ui btw.
*CLI> *CLI> chanlist
Channel (Context Extension Pri ) Appl. Data
*CLI> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem
said 'CALLER
NUMBER: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'CALLER NUMBER
: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'CALLER NUMBER
: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
*CLI> quit
So it is detecting the ring, but doing nothing. I suspect I have to
edit the extention file, but I don't really understand it.
Posted: Tue Dec 21, 1999 7:49 pm Post subject: [Asterisk] error on execution
teh AT commands for teh isdn4linux driver will be different, no doubtr,
than the aopen modem. You'll want to make a chan_modem_isdn4linux or even
a chan_isdn4linux probably.
Right now the driver won't do anything on incoming calls -- it could
though, we just need to start up the PBX on a RING -- I can try to put
that in CVS for the next release if you can't figure out how to do it (see
the chan_vofr and chan_ixj code for examples).
As for no t seeing any channels in chan list, they will only show up when
they are active. That is, chanlist doesn't show the drivers, it shows teh
active channels. If you were to start_pbx on an allocated channel, it
would work.
Thanks for your interest, and I'd like to see it work on isdn4linux. I
believe I may get sent an isdn card to play with once I return to the U.S.
Mark
-------------------------------------------------------------------------
Mark Spencer, President Free and Commercial Linux Support
Linux Support Services, LLC On the web or on the phone
923 Stage Road Suite F
Auburn, AL 36830 http://www.linux-support.net
(334) 887-1042 staff@linux-support.net
Toll free: (877) LINUX-ME
On Tue, Dec 21, 1999 at 01:28:04AM -0600, Mark Spencer wrote:
> This is happening becuase there is no configuration file for the adtran
> VoFR support in /etc/asterisk. You can find sample configuration files in
> the configs directory off the source tree. Please remember that to use
> Asterisk at this point, you have to have supported hardware (i.e. an
> Internet PhoneJack, an Adtran Atlas (and supported frame relay card on the
> linux box), or a rockwell chipset voicemodem (ISA, non-PNP -- and this
> driver is not fully supported yet).
What is the current status of this driver? Will it support isdn4linux
in the future? I hacked it a bit to initialize the isdn4linux modem
emulator, and it at least starts up without complaning. But chanlist
shows an empty list. I was using the command line ui btw.
*CLI> *CLI> chanlist
Channel (Context Extension Pri ) Appl. Data
*CLI> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem
said 'CALLER
NUMBER: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'CALLER NUMBER
: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'CALLER NUMBER
: 0'
DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
'RING'
*CLI> quit
So it is detecting the ring, but doing nothing. I suspect I have to
edit the extention file, but I don't really understand it.
Posted: Thu Dec 23, 1999 1:09 am Post subject: [Asterisk] error on execution
On Tue, Dec 21, 1999 at 01:49:08PM -0600, Mark Spencer wrote:
Quote:
teh AT commands for teh isdn4linux driver will be different, no doubtr,
than the aopen modem. You'll want to make a chan_modem_isdn4linux or even
a chan_isdn4linux probably.
Ok, probably a chan_modem_i4l, because it acts almost exactly like a
modem. Is that ok? I can create one based on the aopen code if you
want.
Quote:
Right now the driver won't do anything on incoming calls -- it could
though, we just need to start up the PBX on a RING -- I can try to put
that in CVS for the next release if you can't figure out how to do it (see
the chan_vofr and chan_ixj code for examples).
Do I also need to configure what happens after it answers? For
example, can I make it play a message or something so that I know it works?
Quote:
As for no t seeing any channels in chan list, they will only show up when
they are active. That is, chanlist doesn't show the drivers, it shows teh
active channels. If you were to start_pbx on an allocated channel, it
would work.
Ok.
Quote:
Thanks for your interest, and I'd like to see it work on isdn4linux. I
believe I may get sent an isdn card to play with once I return to
the U.S.
Ok, I hope I can help. Thanks for a really interesting project.:)
Quote:
Mark
-------------------------------------------------------------------------
Mark Spencer, President Free and Commercial Linux Support
Linux Support Services, LLC On the web or on the phone
923 Stage Road Suite F
Auburn, AL 36830 http://www.linux-support.net
(334) 887-1042 staff@linux-support.net
Toll free: (877) LINUX-ME
> Hi
>
> On Tue, Dec 21, 1999 at 01:28:04AM -0600, Mark Spencer wrote:
> > This is happening becuase there is no configuration file for the adtran
> > VoFR support in /etc/asterisk. You can find sample configuration files in
> > the configs directory off the source tree. Please remember that to use
> > Asterisk at this point, you have to have supported hardware (i.e. an
> > Internet PhoneJack, an Adtran Atlas (and supported frame relay card on the
> > linux box), or a rockwell chipset voicemodem (ISA, non-PNP -- and this
> > driver is not fully supported yet).
>
> What is the current status of this driver? Will it support isdn4linux
> in the future? I hacked it a bit to initialize the isdn4linux modem
> emulator, and it at least starts up without complaning. But chanlist
> shows an empty list. I was using the command line ui btw.
>
> *CLI> *CLI> chanlist
> Channel (Context Extension Pri ) Appl. Data
> *CLI> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem
> said 'CALLER
> NUMBER: 0'
> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
> 'RING'
> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
> 'CALLER NUMBER
> : 0'
> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
> 'RING'
> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
> 'CALLER NUMBER
> : 0'
> DEBUG: File chan_modem_aopen.c, Line 273 (aopen_read): Modem said
> 'RING'
>
> *CLI> quit
>
> So it is detecting the ring, but doing nothing. I suspect I have to
> edit the extention file, but I don't really understand it.
>
> Regards
>
> --
> Rob Murray
>
Posted: Thu Dec 23, 1999 6:50 am Post subject: [Asterisk] error on execution
Quote:
Ok, probably a chan_modem_i4l, because it acts almost exactly like a
modem. Is that ok? I can create one based on the aopen code if you
want.
Sounds great. Writing a chan_modem_* should be much easier than a chan_*
since all the config file, etc is taken care of for you. Also,
theoretically it should be able to automatically identify candidate
modems.
Also, be sure that the API you select for the isdn4linux is full duplex.
After I startted on the modem driver for the aopen modem I found out the
modem isn't full duplex in voice mode, so I haven't figured out what I'm
going to do about that ;-)
Quote:
Do I also need to configure what happens after it answers? For
example, can I make it play a message or something so that I know it works?
chan_modem will start the PBX on it. You'll want to have some sound files
in /var/lib/asterisk/sounds for it (in either the MS WAV49 format or MS
WAV format, 8000 Hz). To get started, you can convert files using sox.
Just configure the "s" extension on your default context and be sure
chan_modem uses that for its context in /etc/conf/modem.conf
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum