ekiga r7442 - in branches/gnome-2-24: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7442 - in branches/gnome-2-24: . src/endpoints
- Date: Sun, 7 Dec 2008 15:43:33 +0000 (UTC)
Author: dsandras
Date: Sun Dec 7 15:43:33 2008
New Revision: 7442
URL: http://svn.gnome.org/viewvc/ekiga?rev=7442&view=rev
Log:
Fixed GetRegisteredPartyName so that it uses
GetDefaultRegisteredPartyName when Ekiga.net is not being used.
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/src/endpoints/sip-endpoint.cpp
Modified: branches/gnome-2-24/src/endpoints/sip-endpoint.cpp
==============================================================================
--- branches/gnome-2-24/src/endpoints/sip-endpoint.cpp (original)
+++ branches/gnome-2-24/src/endpoints/sip-endpoint.cpp Sun Dec 7 15:43:33 2008
@@ -1062,15 +1062,7 @@
/* As a last resort, ie not registered to host, no default account or
* dialog with a local peer, then use the local address
*/
- local_address = GetListeners()[0].GetLocalAddress();
-
- PINDEX j = local_address.Find ('$');
- if (j != P_MAX_INDEX)
- local_address = local_address.Mid (j+1);
- SIPURL myself =
- SIPURL ("\"" + GetDefaultDisplayName () + "\" <" + PString ("sip:") + GetDefaultLocalPartyName() + "@" + local_address + ";transport=udp>");
-
- return myself;
+ return GetDefaultRegisteredPartyName ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]