Install RTP engine without PJSIP?

I am trying to load asterisk16 on a travel router.
GL-iNet-AR300M16, AR150, and/or AR750(CRETA).
I have asterisk16 and chan-sip installed.
I have a sip-trunk to my ‘main’ asterisk server.
I have 2 phones registered, but I cannot dial between them.
What asterisk16 module loads RTP and creates a starter rtp.conf?
I found a reference to ‘asterisk16-res-rtp-asterisk’ but it requires pjsip.
I only want necessary modules.
How do I install RTP without installing PJSIP?


The starter rtp.conf is copied from rtp.conf.sample by the Makefile, when running make samples.

By module, did you really mean dd-wrt package. If so, you should ask the maintainer of the dd-wrt Asterisk packages. Actually, that probably relates to rtp.conf, as well, as it would seem that you are not doing the standard Asterisk install.

Hi, David:
Using openwrt 19.07.8.
The devices are micro sized travel routers.
I start with about 10MB of flash memory.
After loading asterisk16 and IAX2 and pjsip I have about 2.444 MB left.
Since I can trunk with SIP, I thought I could omit IAX and PJSIP and replace PJSIP with CHAN-SIP.
I do not know how to install a RTP engine without also installing PJSIP.


I am installing packages manually using openwrt/opkg.

Your issue is with the package creator, not with Asterisk.

I have CHAN-SIP installed.
Without requiring CHAN-PJSIP, what asterisk16 module installs a RTP engine?

The res_rtp_asterisk module can be built with or without ICE/STUN/TURN support (this is what requires PJSIP/pjproject). How it is built in your distro/environment, and how it is installed is specific to your distro/environment.

Hi, JColp:
I installed CHAN-SIP to save memory.
‘res-rtp-asterisk’ requires

* libpjsip
* libpjmedia
* libpjnath
* libpjsip-simple
* libpjsip-ua
* libpjsua
* libpjsua2

I am installing asterisk16 over openwrt-19.07.8 on a travel router by
manually installing modules.
Devices are: GL iNet AR150 and AR300M16 and AR750(Creta).
I need a minimal system.
I have the mental capacity to configure CHAN-SIP trunks and phones.
I do not understand PJSIP.
Thus, for device memory and my brain capacity,
I am seeking a RTP engine that does not require CHAN-PJSIP.
Else, I need a skeleton CHAN-PJSIP configuration for an
asterisk to asterisk CHAN-PJSIP trunk and IP phones.
Regards, Chuck

You will need to build from source code, or get your package maintainer to build from source code, with different options from those they are currently using.

Incidentally chan_sip is not easy to understand. Nearly every configuration I see for it seems to be badly designed, often by copying and pasting from another bad configuration, and sometimes by mis-guessing the meaning of options.

“You will need to build from source code, or get your package maintainer to build from source code, with different options from those they are currently using.”

Hi, David:

I am not using a ‘package’.
I am building from modules.
I do not have sufficient memory for a full asterisk16 install.
If I could build and only include the modules I need, then
I still do not know what module includes RTP (and not PJSIP)!

What modules do I need to obtain a ‘RTP engine’?

I am trying to install and configure asterisk16 on a mini-router with openwrt 19.07.8 and 10 MB available RAM.
I am getting this error
“No RTP engine found. Do you have one loaded?”
I have a few MB of RAM available.
I am using SIP-CHAN for my IP-phone and for trunks to
another similar mini-router/asterisk16 and
a FreePBX13/asterisk13 service.

To save RAM memory, I am trying to NOT use PJ-SIP nor IAX2.

What modules do I need to obtain a ‘RTP engine’?


Hey so you want need a module called
if you go asterisk -rx ‘module load res_rtp_asterisk’ and it fails to start, you need to go
make menuselect
Select Resource Modules > res_pjproject. This is different to PJSIP, so you can run with chan_sip and deselect res_pjsip - which you will notice will automatically remove all of the other res_pjsip* modules
make install
asterisk -rx ‘module load res_rtp_asterisk’

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.