Module: sip-router
Branch: master
Commit: e5ae5137ce6fef73f366b725f16c84dc15721141
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e5ae513…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Dec 29 10:10:26 2011 +0100
mediaproxy: handle DLGCB_CONFIRMED event
- ACKs may have SDP
- patch by Jasmin Schnatterbeck (FS195)
---
modules/mediaproxy/mediaproxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/mediaproxy/mediaproxy.c b/modules/mediaproxy/mediaproxy.c
index 614c7a4..0c9e2c5 100644
--- a/modules/mediaproxy/mediaproxy.c
+++ b/modules/mediaproxy/mediaproxy.c
@@ -1952,7 +1952,7 @@ __dialog_created(struct dlg_cell *dlg, int type, struct
dlg_cb_params *_params)
ice_data->priority = get_ice_candidate_priority(get_ice_candidate());
ice_data->skip_next_reply = False;
- if (dlg_api.register_dlgcb(dlg, DLGCB_REQ_WITHIN, __dialog_requests, (void*)ice_data,
__free_dialog_data) != 0)
+ if (dlg_api.register_dlgcb(dlg, DLGCB_REQ_WITHIN | DLGCB_CONFIRMED,
__dialog_requests, (void*)ice_data, __free_dialog_data) != 0)
LM_ERR("cannot register callback for in-dialog requests\n");
if (dlg_api.register_dlgcb(dlg, DLGCB_RESPONSE_FWDED | DLGCB_RESPONSE_WITHIN,
__dialog_replies, (void*)ice_data, NULL) != 0)
LM_ERR("cannot register callback for dialog and in-dialog replies\n");