New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtpengine: support receiving dtmf events from rtpengine and raise an event #3470
Conversation
Support db_mode. if db_mode is 2, synch all operations to DB, otherwise use only memory.
src/modules/rtpengine/rtpengine.c
Outdated
pv_val.rs.len = strlen(it->valuestring); | ||
pv_val.flags = PV_VAL_STR; | ||
|
||
if (dtmf_event_callid_pvar->setf(fmsg, &dtmf_event_callid_pvar->pvp, (int)EQ_T, &pv_val) < 0) { |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable High
fmsg
src/modules/rtpengine/rtpengine.c
Outdated
pv_val.rs.len = strlen(it->valuestring); | ||
pv_val.flags = PV_VAL_STR; | ||
|
||
if (dtmf_event_source_tag_pvar->setf(fmsg, &dtmf_event_source_tag_pvar->pvp, (int)EQ_T, &pv_val) < 0) { |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable High
fmsg
src/modules/rtpengine/rtpengine.c
Outdated
pv_val.rs.len = strlen(intbuf); | ||
pv_val.flags = PV_VAL_STR; | ||
|
||
if (dtmf_event_timestamp_pvar->setf(fmsg, &dtmf_event_timestamp_pvar->pvp, (int)EQ_T, &pv_val) < 0) { |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable High
fmsg
src/modules/rtpengine/rtpengine.c
Outdated
pv_val.rs.len = strlen(intbuf); | ||
pv_val.flags = PV_VAL_STR; | ||
|
||
if (dtmf_event_pvar->setf(fmsg, &dtmf_event_pvar->pvp, (int)EQ_T, &pv_val) < 0) { |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable High
Pre-Submission Checklist
in
doc/
subfolder, the README file is autogenerated)Type Of Change
Checklist:
Description