as far as I can tell, that should be accepted.

are you loading the rtpengine module? if so did it load successfully? (grep the startup output for rtpengine)

Torrey

On Tue, 8 Jul 2025 at 20:01, Guilherme via sr-users <sr-users@lists.kamailio.org> wrote:
Hi Torrey,

I'm sorry to be persistent in this, but I'm still having problems with the rtpengine_subscribe_offer usage. Although I know that this is not the proper way to use the function, I entered the following line to my kamailio.cfg file:

(...)
rtpengine_subscribe_offer("all siprec", "siprec_offer", "siprec_to_tag", "siprec_streams");

"../../usr/local/etc/kamailio/kamailio.cfg" 1119L, 27677B                                                                                                                                                                                                                   1118,1        Bot

When I run the kamailio -c command to test the compilation I get the following result:

/home/ubuntu# kamailio -c
 0(148679) CRITICAL: <core> [core/cfg.y:4089]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1118, column 26: syntax error

>From my understanding, it seems that the "rtpengine_subscribe_offer" is not being recognized. Can you explain me why? I'm very confused about the implementation of these functions.

PS: I'm using the latest version of Kamailio
/home/ubuntu# kamailio -v
version: kamailio 6.1.0-dev1 (x86_64/linux)
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!