Skip to content
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

Added asynchronous offer, answer and delete rtpe functions #3286

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/modules/rtpengine/rtpengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static int fixup_free_rtpengine_query_v(void **param, int param_no);

static int parse_flags(struct ng_flags_parse *, struct sip_msg *, enum rtpe_operation *, const char *);

static int rtpengine_offer_answer(struct sip_msg *msg, const char *flags, enum rtpe_operation op, int more, bool async);
static int rtpengine_offer_answer(struct sip_msg *msg, const char *flags, enum rtpe_operation op, int more, int async);
static int fixup_set_id(void ** param, int param_no);
static int set_rtpengine_set_f(struct sip_msg * msg, char * str1, char * str2);
static struct rtpp_set * select_rtpp_set(unsigned int id_set);
Expand Down Expand Up @@ -4065,7 +4065,7 @@ rtpengine_async_answer1_f(struct sip_msg *msg, char *str1, char *str2)
}

static int
rtpengine_offer_answer(struct sip_msg *msg, const char *flags, enum rtpe_operation op, int more, bool async)
rtpengine_offer_answer(struct sip_msg *msg, const char *flags, enum rtpe_operation op, int more, int async)
{
bencode_buffer_t bencbuf;
bencode_item_t *dict;
Expand All @@ -4074,7 +4074,7 @@ rtpengine_offer_answer(struct sip_msg *msg, const char *flags, enum rtpe_operati
pv_value_t pv_val;
str cur_body = {0, 0};

if (async) {
if (async==1) {
unsigned int tindex;
unsigned int tlabel;
tm_cell_t *t = 0;
Expand Down