Commit e0e17c83 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2274] Set display name for "Contact" sip header as the hostname

parent da36bcaa
......@@ -514,6 +514,10 @@ std::string SIPAccount::getContactHeader (const std::string& address, const std:
transport = "";
}
_displayName = Manager::instance().getConfigString(_accountID, DISPLAY_NAME);
_debug("Display Name: %s\n", _displayName.c_str());
int len = pj_ansi_snprintf (contact, PJSIP_MAX_URL_SIZE,
"%s%s<%s%s%s%s%s%s:%d%s>",
......
Supports Markdown
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