I’m primarily using Asterisk for home use, I’ve played around with versions prior to SVN-branch-1.8-r324685 (the one I’m currently using) but never professionally or seriously. I’ve about 2 years of Linux use as well in a non-serious manner. The primary purpose for my use is for IAX2 trunking around the house and between a friend’s house over our commercial Internet connections. I wanted to start from scratch to really know how everything works and found the wonderful 3rd edition of Asterisk: The Definitive Guide at O’Reilly. I have mainly based my installation off of this. Relevant details below:
Machine: Old scrubtop, Dell Inspiron 6000 (successfully ran 1.6 in the past on this machine to do what I’m doing now)
Linux flavor: CentOS 5.6 32 bit i686
Kernel version: 2.6.18-238.12.1el5
Asterisk Version: SVN-branch-1.8-r324685
Also Important: I’m running as a non-root user. I have edited the group and name in asterisk.conf and chown’d the right directories (I believe). I have also installed visudo so I can execute things like ‘asterisk -r’ as root.
Here is my issue:
I worked my way up to a simple iax.conf and wanted to reload chan_iax2.conf and see if the peers and users were registered, I go to ‘sudo asterisk -r’.
Then, I issue a reload for the chan_iax2.so (*CLI> module reload chan_iax2.so) and it says:
No such module ’ chan_iax2.so’
So then I think to myself: “hmmm, maybe I didn’t include it in the modules conf file”. I go back to modules.conf and simply have only autoload=yes for [modules]. I try again to reload the IAX2 channel at the asterisk console. Nothing.
I reboot the box and start up asterisk again. Nothing. I think to myself “wtf here” and I hunt down where the modules are located. I head over to /usr/lib/asterisk/modules to verify that it contains chan_iax2.so It does. I get angry. Bourbon. Angrier. Sleep.
So, I thought I would pop over here and throw it out to the guys who are at the top where the air is crisp. Please let me know if I’ve left something out. I’ll answer your questions as promptly as I can. Oh, I’ve also checked out the errata section for the book on O’reilly site and searched Google for known issues but haven’t been successful yet. Thank you in advance for your help, or your pointing me to the right direction.