Commit c38ba2ed authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud

sip: register thread when sending text messages

Change-Id: I992bee823098e100a67da3bcb28c67722370d618
Gitlab: #111
parent 2ee17c35
......@@ -2069,6 +2069,8 @@ SIPAccount::sendTextMessage(const std::string& to, const std::map<std::string, s
return;
}
sip_utils::register_thread();
auto toUri = getToUri(to);
constexpr pjsip_method msg_method = {PJSIP_OTHER_METHOD, CONST_PJ_STR("MESSAGE")};
......
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