I have asterisk16 and chan-sip loaded on my GL iNet AR300M16.
It is sip-trunked to my rasPBX.
I have 2 IP phones sip-registered.
flash=5328KB.
I tried to dial the other phone:
[Mar 24 19:53:55] ERROR[2304][C-00000001]: rtp_engine.c:489 ast_rtp_instance_new: No RTP engine was found. Do you have one loaded?
Next, I need to find out what a RTP is and how to configure it.
73, Chuck
I will load currently nightly (1079) and reinstall asterisk16, chan-sip, and chan-rtp.
I hope chan-rtp is the missing module.
Chuck
Is now Asterisk16 on GL-iNet-AR750, Nightly 1094.
I have 2 extensions and 1 trunk.
Extensions can dial each other.
Working on trunk configuration so I can 'dial-out' to my 'main' local-AREDN-PBX.
flash=4664KB. So, there is quite a bit of RAM still available.
Memory=67308KB. So this should install on a 64 MB RAM device.
Last item will be to complete the install automation.
wonder how you installed Asterisk. What architecture and from where did you take the packages ? directly from OpenWRT ? struggling here as i always get wrong version when trying to install (Mips24kc on Mikrotik Hap AC Lite) ... Wich version of OpwenWRT is matching AREDN Version.
thanks for any hints
73' Serge
A few years ago I successfully installed asterisk and a full MeshPhone package on an AR750. It was not easy. Among other things, I found that there was insufficient storage in the AR750 to do the job. Along the way, I lit up the USB socket which had the additional advantage of lighting up the uSD slot. Thus, I was able to install a 64 GB memory chip and install all of asterisk on it. For some of the expected file locations in asterisk, I had to put soft links pointing to actual locations on the memory chip.
@HB9EDI: I got all the openwrt asterisk packages from a mixture of openwrt itself (in its packages section) and from the AREDN archives. Neither location had *all* the necessary packages. Very important: before you begin, make sure you understand what version of openwrt is in your node before getting individual asterisk modules from anywhere.
Let me dig out that node and see which asterisk modules I needed. That node is battery powered and I have to charge its battery first.
73, Mark, N2MH
I went into the node and retrieved some build notes that I made at the time. I also retrieved the asterisk modules.conf file. This file instructs asterisk to upload various support files needed for operation. This is a very minimal installation of asterisk, thus there's not a lot of modules needed for operation. Basically, there is support for sip phones, iax trunking, some MeshPhone utilities and the ability to pass actual voice traffic between pbx endpoints.
The contents of modules.conf should give a hint as to the name of the various openwrt modules needed.
Please note that this work was done in early 2022. I think this was before the lua era of node software. Since this is only guideline material, the exact modules needed will have to be determined as you go along.
Apparently, the Forum will only allow one file attachment per message. My notes to follow in a another post. Be sure to rename the files.
73, Mark, N2MH
File 2 of 2 - build notes
Hi, Serge:
My work was 15 months ago.
Luckily I did put some comments in my scripts and have them saved on this workstation.
What architecture and from where did you take the packages ?
https://downloads.openwrt.org/releases/19.07.8/packages/mips_24kc/
Current Stable AREDN is "OpenWRT 22.03.3".
See 2 attached files.
My problem was running out of memory.
I wanted to use sip, but some requisits forced me to install many 'pjsip*.ipk's.
'pjsip' and all its requisits consumed too much memory. I gave up.
If someone would help with cross-compiling asterisk16 with a 'use smalled code size' argument,
I would like to try again.
Next, I am going to read Mark's posts.
73, Chuck
Will for sure let all know if i can come up with an easy solution
73' Serge
File 1 of 2 - modules.conf
thanks for your notes. will dig into. Perhaps the why I'm looking into this.
Yealink phones seams to be pretty picky if you want to use @phone.local.mesh for direct calling. Works fine as long they have a SIP Server connected and get an 200 OK back. If no Service is available they refuse to accept the call. Only entering the IP works.
So I'm looking to have a SIP server on the localnode for just have phones registering. This works perfectly with this tiny SIP Server running on my PC
https://github.com/BarGabriel/SipServer
As I'm not a programmer at all, I would like to start with an Asterisk server and check if my skills are enough to port the simple SIP Server
73' Serge
i have an asterisk server running on the MikroTik RouterBOARD 952Ui-5ac2nD (hAP ac lite)
Phones can register now.
73' Serge
Hi, Serge:
Which version of Asterisk?
Which IPKs did you install?
73, Chuck
Wanted to set up a conference room but it seams the RTP implementation in v16 is based on PJSIP that requires a lot of additional stuff. So i decided to test it rather with the latest RC (seems to be based on 22.03, these OpenWRT packes can be installed) and asterisk 18
73' Serge