Commit bd71339d authored by Alexandre Savard's avatar Alexandre Savard

[#2926] Fix from uri for ip2ip calls

parent 8a7f966a
......@@ -461,13 +461,13 @@ std::string SIPAccount::getFromUri (void)
username = getLoginName();
}
else {
// Get machine hostname if not provided
if (_hostname.empty()) {
hostname = getMachineName();
}
// Get machine hostname if not provided
if (_hostname.empty()) {
hostname = getMachineName();
}
int len = pj_ansi_snprintf (uri, PJSIP_MAX_URL_SIZE,
"<%s%s@%s%s>",
......
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