herlesupreeth / Kamailio_IMS_Config

Fixed version of Kamailio IMS configuration files for basic calling
45 stars 36 forks source link

VoLTE Setup FAIL because RTPengine build fails. #28

Open lglhust opened 1 year ago

lglhust commented 1 year ago

Hi herlesupreeth,

I try to setup voLTE environment, according to <VoLTE Setup with Kamailio IMS and Open5GS> doc. 
(https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/)

In step 16. Install RTPEngine, i got build error:
And t try other version, such as  git checkout mr10.5.1, the error is the same.

Below is the output error.

codeclib.o: In function codeclib_init': ./codeclib.c:1000: undefined reference to av_register_all' ./codeclib.c:1001: undefined reference to avcodec_register_all' ./codeclib.c:1002: undefined reference to avfilter_register_all' resample.o: In function fix_frame_channel_layout': ./fix_frame_channel_layout.h:10: undefined reference to av_frame_get_channels' ./fix_frame_channel_layout.h:15: undefined reference to `av_frame_get_channels' collect2: error: ld returned 1 exit status ../lib/common.Makefile:7: recipe for target 'rtpengine-recording' failed make[3]: [rtpengine-recording] Error 1 make[3]: Leaving directory '/root/rtpengine/recording-daemon' ../lib/common.Makefile:4: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory '/root/rtpengine/recording-daemon' Makefile:21: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/root/rtpengine' dh_auto_build: error: make -j56 "INSTALL=install --strip-program=true" returned exit code 2 debian/rules:31: recipe for target 'build' failed make: [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

when i run dpkg-checkbuilddeps, no output. Build dependencies are ok. I appreciate very much if you could help me.

herlesupreeth commented 1 year ago

Hi @lglhust can you please let me the OS and the kernel you are using?

lglhust commented 1 year ago

hi,herlesupreeth,

uname -a

Linux spid_sh_10_3 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/version

Linux version 4.15.0-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018

lsb_release -a

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic

uname -m

x86_64

thanks.

lglhust commented 1 year ago

hi,herlesupreeth,

Another question, can i use open5gs HSS for voLTE without FoHSS? I see hss-cx-path.c in hss, does it works? thanks.

herlesupreeth commented 1 year ago

I tried building RTPEngine on Ubuntu 18.04 in a docker and it worked just fine following those instructions (git checkout mr7.4.1)

Another question, can i use open5gs HSS for voLTE without FoHSS? I see hss-cx-path.c in hss, does it works?

Yes, it works. It does not have a fancy GUI like FoHSS, but can be used for basic IMS setup. I tested registration and calling and SMS.