Commit cd14f216 authored by jehan's avatar jehan
Browse files

make sure presence dialog ref op

parent 86ba23e4
...@@ -493,9 +493,11 @@ static void presence_process_request_event(void *op_base, const belle_sip_reques ...@@ -493,9 +493,11 @@ static void presence_process_request_event(void *op_base, const belle_sip_reques
if (op->pending_server_trans) belle_sip_object_unref(op->pending_server_trans); if (op->pending_server_trans) belle_sip_object_unref(op->pending_server_trans);
op->pending_server_trans=server_transaction; op->pending_server_trans=server_transaction;
if (!op->dialog) { if (!op->dialog) {
op->dialog=belle_sip_provider_create_dialog(op->base.root->prov,BELLE_SIP_TRANSACTION(server_transaction)); op->dialog=belle_sip_provider_create_dialog(op->base.root->prov,BELLE_SIP_TRANSACTION(server_transaction));
belle_sip_dialog_set_application_data(op->dialog,op); belle_sip_dialog_set_application_data(op->dialog,op);
sal_op_ref(op);
ms_message("new incoming subscription from [%s] to [%s]",sal_op_get_from(op),sal_op_get_to(op)); ms_message("new incoming subscription from [%s] to [%s]",sal_op_get_from(op),sal_op_get_to(op));
} }
dialog_state=belle_sip_dialog_get_state(op->dialog); dialog_state=belle_sip_dialog_get_state(op->dialog);
......
mediastreamer2 @ 2720ab1d
Subproject commit 3acaa7372423ffb0d18923e9e41e1076cec51905 Subproject commit 2720ab1d1568ced6f0bf63e454a35f340d8ace64
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment