Revision: 20116
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=20116&view=rev
Author: rjongbloed
Date: 2008-04-24 21:46:54 -0700 (Thu, 24 Apr 2008)
Log Message:
-----------
Fixed GetLocalPartyURL() so does not produce illegal URLs.
Modified Paths:
--------------
opal/trunk/src/opal/connection.cxx
Modified: opal/trunk/src/opal/connection.cxx
===================================================================
--- opal/trunk/src/opal/connection.cxx 2008-04-25 04:45:38 UTC (rev 20115)
+++ opal/trunk/src/opal/connection.cxx 2008-04-25 04:46:54 UTC (rev 20116)
@@ -50,6 +50,7 @@
#include <rtp/rtp.h>
#include <t120/t120proto.h>
#include <t38/t38proto.h>
+#include <ptclib/url.h>
#if OPAL_T38FAX
#include <t38/t38proto.h>
@@ -935,7 +936,7 @@
PString OpalConnection::GetLocalPartyURL() const
{
- return endpoint.GetPrefixName() + ':' + GetLocalPartyName();
+ return endpoint.GetPrefixName() + ':' + PURL::TranslateString(GetLocalPartyName(), PURL::LoginTranslation);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|