|
|
|
@ -1971,7 +1971,7 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t |
|
|
|
g_auto(str) sdp = STR_NULL; |
|
|
|
AUTO_CLEANUP(GQueue parsed, sdp_free) = G_QUEUE_INIT; |
|
|
|
AUTO_CLEANUP(GQueue streams, sdp_streams_free) = G_QUEUE_INIT; |
|
|
|
struct call *call; |
|
|
|
AUTO_CLEANUP_NULL(struct call *call, call_unlock_release); |
|
|
|
struct call_monologue * monologues[2]; |
|
|
|
int ret; |
|
|
|
g_auto(sdp_ng_flags) flags; |
|
|
|
@ -2055,8 +2055,6 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t |
|
|
|
errstr = "Invalid dialogue association"; |
|
|
|
if (call_get_mono_dialogue(monologues, call, &flags.from_tag, &flags.to_tag, |
|
|
|
flags.via_branch.s ? &flags.via_branch : NULL)) { |
|
|
|
rwlock_unlock_w(&call->master_lock); |
|
|
|
obj_put(call); |
|
|
|
goto out; |
|
|
|
} |
|
|
|
|
|
|
|
@ -2108,6 +2106,7 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t |
|
|
|
ilog(LOG_DEBUG, "Not updating Redis due to present no-redis-update flag"); |
|
|
|
} |
|
|
|
obj_put(call); |
|
|
|
call = NULL; |
|
|
|
|
|
|
|
gettimeofday(&(from_ml->started), NULL); |
|
|
|
|
|
|
|
|