Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Add support of out-of-dialog SIP t…
Browse files Browse the repository at this point in the history
…ransactions
  • Loading branch information
wosrediinanatour committed Nov 20, 2024
1 parent 283cb8d commit 2b6a0d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pjsip/src/pjsua2/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
using namespace pj;
using namespace std;

#include <pjsua-lib/pjsua_internal.h> /* For retrieving pjsua threads */

#define THIS_FILE "account.cpp"

///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2b6a0d9

Please sign in to comment.