[SR-Users] rtpengine default set

Alex Balashov abalashov at evaristesys.com
Tue May 3 23:23:51 CEST 2016


Hi,

After upgrading to Kamailio v4.4, I receive the following error on boot:

May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24972]: ERROR: rtpengine [rtpengine.c:2691]: 
select_rtpp_set():  script error-invalid id_set to be selected
May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24972]: ERROR: rtpengine [rtpengine.c:2691]: 
select_rtpp_set():  script error-invalid id_set to be selected
May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24972]: NOTICE: rtpengine [rtpengine.c:1788]: 
mod_init(): Default rtpp set 0 NOT found

My rtpengine module config is:

---
#!ifdef WITH_RTPENGINE

#!subst "/RTPENGINE_SOCK/udp:127.0.0.1:5050/"

modparam("rtpengine", "rtpengine_sock", "1 == RTPENGINE_SOCK")
modparam("rtpengine", "rtpengine_disable_tout", 30)
modparam("rtpengine", "rtpengine_tout_ms", 2000)
modparam("rtpengine", "rtpengine_retr", 2)

#!endif
---

Furthermore, I have set_rtpengine_set("1") before every call to the 
rtpengine_* module function(s) in my route script.

Subsequently to that, Kamailio starts normally and connects to rtpengine:

May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24972]: INFO: rtpengine [rtpengine.c:2542]: 
rtpp_test(): rtp proxy <udp:127.0.0.1:5050> found, support for it enabled
May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24975]: INFO: rtpengine [rtpengine.c:2542]: 
rtpp_test(): rtp proxy <udp:127.0.0.1:5050> found, support for it enabled
May 03 17:18:22 allegro-4.evaristesys.com 
/usr/local/sbin/kamailio[24974]: INFO: rtpengine [rtpengine.c:2542]: 
rtpp_test(): rtp proxy <udp:127.0.0.1:5050> found, support for it enabled
[...]

It might be something on my end, but my guess is that in v4.4 there is a 
fixup that runs beforehand and looks for a default set.

Strictly speaking, I don't need an explicitly identified set, since I'm 
only using one rtpengine instance. However, I explicitly specify it 
because I'd like the code to be open in the future to selecting a given 
rtpengine relay based on some criteria.

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list