[ekiga] Fixed bug #594433.
- From: Damien Sandras <dsandras src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Fixed bug #594433.
- Date: Sun, 13 Sep 2009 15:42:55 +0000 (UTC)
commit 1e71285c969d27881f4ff0dbd2e661e5133e78c1
Author: Damien Sandras <dsandras seconix com>
Date: Sun Sep 13 17:37:23 2009 +0200
Fixed bug #594433.
It is now possible to register dsandras ekiga net as user name to ipness.net.
This is another form of SIP registration similar to a proxy. The correct way
to work would be to use a proxy, but some providers do not document things that
way leading to user confusion.
lib/engine/components/opal/opal-account.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index a9bc27e..4177af3 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -224,7 +224,10 @@ const std::string Opal::Account::get_aor () const
{
std::stringstream str;
- str << (protocol_name == "SIP" ? "sip:" : "h323:") << username << "@" << host;
+ str << (protocol_name == "SIP" ? "sip:" : "h323:") << username;
+
+ if (username.find ("@") == string::npos)
+ str << "@" << host;
return str.str ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]