Could you attach last page or two of a log for when you start and stop it after the error.
/var/log asterisk/messages
meanwhile I will look at your files again for contextual errors.
But my advice would be to start with a fresh set of files. Yours are fairly scrambled and it’s not easy to catch errors on view.
You only have a few areas to edit to get it running.
Make it work with one node, then add the reg string, rpt.conf entry and extensions entry for the second.
Don’t try to set it all up till you have it working with one node. then 2, then add the fluf.
Thanks again Mike. I’ll attach the log file.
I did get the system working with just one node that was very simple, less than an hour. Adding the second Node is not working out so well. I really didn’t do much editing I basically followed the Wiki for setting up the second node as I mentioned to Larry. I can try again but the Wiki does not seem to have all of the required changes. var asterisk messages.pdf (18.0 KB)
I did not use the .conf files from the other software. I downloaded a new Beta image from the Allstar site, got a one node system running and then modified the .conf files of that single node system to be a two node system by following the Wiki and the hints I have received here.
Something else you might try …
Since the Pi4 may or may not allow the configuration of 2 USB devices on Allstar.
Change one of the nodes to utilize ; rxchannel = dahdi/pseudo. and see if that helps.
Don’t forget to —> ; Enable the selected channel driver in
modules.conf !!!
Also … from looking at the log file —
[Feb 7 13:48:15] WARNING[727] config.c: parse error: No category context for line
1 of /etc/asterisk/extensions.conf
Jumping to your extensions.conf file
[globals] says or did say at one point…
HOMENPA = 910 ; change this to your Area Code
NODE = 1331 ; change this to your node number
Remove the line NODE = … if you haven’t already …it doesn’t belong.
You’re right Mike I want these to be private nodes, so I have commented out those lines.
I am testing different configurations so my cycle time is getting longer and the code is blurry now.
I’ll attach my modules.conf file modules.pdf (22.0 KB)
Thanks Larry,
I changed Node 2 to dahdi/pseudo instead of SimpleUSB and now I only get one error starting asterisk
[Feb 8 11:13:40] WARNING[1038] config.c: parse error: No category context for line 1 of /etc/asterisk/modules.conf
[Feb 8 11:13:40] WARNING[1038] loader.c: No ‘modules.conf’ found, no modules will be loaded.
The rpt.conf, SImpleUSB, iax, and extensions errors are gone now?
I would avoid loading modules you do not need until you need them.
Stick with the basics until you have it running.
You should be able to take the one in the link and only adjust simpleusb/usbradio
***Your modules file should not look like mine as it is for a specific different install.
Use the one in the link above or the one that comes with the install.
Hi Mike, I got my image from the Pi2-3-4 download at this link: https://wiki.allstarlink.org/wiki/Beginners_Guide#ASL_Beta_Images
Maybe I should not have tried the Beta 6 release but I thought that I would need it for the Pi4
My modules.conf file cam from that image.
One other suggestion. Change the Channel driver for the Node 2 to dahdi/pseudo and see if that error goes away.
Something I should have asked WAY back… Do you have actual USB sound devices plugged in to the Pi when it boots?
I’m not certain as I don’t have a Pi 4 but it may be using the USB sound drivers and not having the devices available for access that, that isn’t causing the problem using the Beta software?
Chuck sent me his config files from a 3 node system that he is running on an Intel machine. I loaded a fresh image, his .conf files and changed all of the “load” s in the Modules files to noload except for the load => res_smdi.so.
Still get the same module errors
No context for line 1 and no modules.conf found