From 2b6a0d92e40d464e4fb7c74d7d284accb9be9d63 Mon Sep 17 00:00:00 2001 From: XAVER Florian Date: Wed, 20 Nov 2024 08:12:57 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! Add support of out-of-dialog SIP transactions --- pjsip/src/pjsua2/account.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pjsip/src/pjsua2/account.cpp b/pjsip/src/pjsua2/account.cpp index 25566ac233..948da8ae5c 100644 --- a/pjsip/src/pjsua2/account.cpp +++ b/pjsip/src/pjsua2/account.cpp @@ -24,8 +24,6 @@ using namespace pj; using namespace std; -#include /* For retrieving pjsua threads */ - #define THIS_FILE "account.cpp" /////////////////////////////////////////////////////////////////////////////// @@ -1078,7 +1076,7 @@ void Account::sendRequest(const pj::SendRequestParam& prm) PJSUA2_THROW(Error) pjsua_msg_data msg_data; prm.txOption.toPj(msg_data); - PJSUA2_CHECK_EXPR(pjsua_acc_send_request(id, &dest_uri, &method, prm.userData, prm.userData, &msg_data)); + PJSUA2_CHECK_EXPR(pjsua_acc_send_request(id, &dest_uri, &method, NULL, prm.userData, &msg_data)); } void Account::setRegistration(bool renew) PJSUA2_THROW(Error)