@joeygo commented on this pull request.
+ }
+
+ if (dtmf_event_rt == -1) {
+ LM_NOTICE("nothing to do - nobody is listening!\n");
+ goto end;
+ }
+
+ p = shm_malloc(ret + 1);
+ if (!p) {
+ LM_ERR("could not allocate %d for buffer %.*s\n", ret, ret, buffer);
+ goto end;
+ }
+ memcpy(p, buffer, ret);
+ p[ret] = '\0';
+
+ if (rtpengine_raise_dtmf_event(p, ret) < 0) {
Fixed.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3473#discussion_r1227001921
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3473/review/1475448377(a)github.com>