[Telepathy] proxy invalidated when proxy not in the same domain

Timo Jokineva timo.jokineva at neusoft.com
Mon Sep 13 01:56:21 PDT 2010


Hi,

 

The problem was solved using the ./examples/accounts - application, which
gives the parameters of sip/voip accounts in N900:

 

~ $ run-standalone.sh ./accounts

...

Telepathy-Qt4 (version 0.2.0) DEBUG:  Interfaces:

("org.freedesktop.Telepathy.Account",

"org.freedesktop.Telepathy.Account.Interface.Avatar",

"com.nokia.Account.Interface.ChannelRequests",

"com.nokia.Account.Interface.Compat",

"com.nokia.Account.Interface.Conditions",

"com.nokia.Account.Interface.Stats")

Telepathy-Qt4 (version 0.2.0) DEBUG:  Nickname: "here was some text"

Telepathy-Qt4 (version 0.2.0) DEBUG:  Normalized Name:

"sip:neusoft at ims-test.utu.fi"

Telepathy-Qt4 (version 0.2.0) DEBUG:  Valid: true

Telepathy-Qt4 (version 0.2.0) DEBUG:  Enabled: true

Telepathy-Qt4 (version 0.2.0) DEBUG:  Connects Automatically: true

Telepathy-Qt4 (version 0.2.0) DEBUG:  HasBeenOnline changed to true

Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper::isReady:

critical feature QPair("Tp::Account",0) not ready

Telepathy-Qt4 (version 0.2.0) DEBUG:  Parameters:
QMap(("account",QVariant(QString, "here was some text") ) ( "auth-user" ,

QVariant(QString, "here was some text") ) ( "discover-binding"
,QVariant(bool, true) ) ( "discover-stun" ,  QVariant(bool, true) ) (

"keepalive-mechanism" ,  QVariant(QString, "auto") ) ( "loose-routing",
QVariant(bool, false) ) ( "password" ,  QVariant(QString,

"here was some text") ) ( "port" ,  QVariant(uint, 4060) ) ( "proxy-host"
,QVariant(QString, "here some text") ) ( "transport" ,QVariant(QString,
"auto") ) )

....

 

 

These  parameters was then given in call example:

 

   params.insert(QLatin1String("account"), QVariant(QLatin1String("
<https://mail.google.com/mail/h/d766cbcmluh0/?v=b&cs=wh&to=neusoft@ims-test.
utu.fi> ..")));
   params.insert(QLatin1String("auth-user"),QVariant(QLatin1String("
<https://mail.google.com/mail/h/d766cbcmluh0/?v=b&cs=wh&to=neusoft@ims-test.
utu.fi> .")));
   params.insert(QLatin1String("discover-binding"), QVariant(QBool(true)));
   params.insert(QLatin1String("discover-stun"), QVariant(QBool(true)));
 
params.insert(QLatin1String("keepalive-mechanism"),QVariant(QLatin1String("a
uto")));
   params.insert(QLatin1String("loose-routing"), QVariant(QBool(false)));
   params.insert(QLatin1String("password"),QVariant(QLatin1String(".")));
   params.insert(QLatin1String("port"), QVariant(uint(4060)));
   params.insert(QLatin1String("proxy-host"), QVariant(QLatin1String("
<http://lite.ett.utu.fi> .")));
   params.insert(QLatin1String("transport"),
QVariant(QLatin1String("auto")));

 

Br,

Teletimo

 

From: telepathy-bounces+timo.jokineva=neusoft.com at lists.freedesktop.org
[mailto:telepathy-bounces+timo.jokineva=neusoft.com at lists.freedesktop.org]
On Behalf Of Timo Jokineva
Sent: Wednesday, September 08, 2010 1:57 PM
To: telepathy at lists.freedesktop.org
Subject: [Telepathy] proxy invalidated when proxy not in the same domain

 

Hi,

 

My Telepathy-Qt4 call example gave "proxy invalidated" when domain proxy was
not in the same domain.

 

I have the domain proxy (using port 4060) which is  not in the same domain
and  tried to insert the proxy-host

in telepathy call example  with the following command:

params.insert(QLatin1String("proxy-host"),
QVariant(QLatin1String("xxx.yyy.zzz:4060 <http://lite.ett.utu.fi:4060> ")));

 

. but now  the telepathy call example did not enabled the + mark.

 

The log text is  like this in Nokia N900:

 

~ $ run-standalone.sh ./call usernamexxx at domainyyy.com passwordzzz

 

Unsupported date format character at 1 (%-d.%-m.)
Telepathy-Qt4 (version 0.2.0) DEBUG: Creating new DBusProxy
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper:
supportedStatuses = QSet()
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper:
supportedFeatures = QSet()
Telepathy-Qt4 (version 0.2.0) DEBUG: Creating new ConnectionManager:
"org.freedesktop.Telepathy.ConnectionManager.sofiasip"
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper: new
supportedStatuses = QSet(0)
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper: new
supportedFeatures = QSet(QPair("Tp::ConnectionManager",0) )
Telepathy-Qt4 (version 0.2.0) DEBUG: parsing manager file
"/usr/share/telepathy/managers/sofiasip.manager"
Telepathy-Qt4 (version 0.2.0) DEBUG:
ReadinessHelper::setIntrospectCompleted: feature:
QPair("Tp::ConnectionManager",0) - success: true
CM ready
Telepathy-Qt4 (version 0.2.0) DEBUG: Got reply to
ConnectionManager.CreateConnection - bus name:
"org.freedesktop.Telepathy.Connection.sofiasip.sip.neusoft_40ims_2dtest_2eut
u_2efi"
- object path:
"/org/freedesktop/Telepathy/Connection/sofiasip/sip/neusoft_40ims_2dtest_2eu
tu_2efi"
Connection created
Telepathy-Qt4 (version 0.2.0) DEBUG: Creating new DBusProxy
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper:
supportedStatuses = QSet()
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper:
supportedFeatures = QSet()
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper: new
supportedStatuses = QSet(0, 2)
Telepathy-Qt4 (version 0.2.0) DEBUG: ReadinessHelper: new
supportedFeatures = QSet(QPair("Tp::Connection",5) ,
QPair("Tp::Connection",4) ,  QPair("Tp::Connection",2) ,
QPair("Tp::Connection",1) ,  QPair("Tp::Connection",0) )
Telepathy-Qt4 (version 0.2.0) DEBUG: Connecting to StatusChanged()
Telepathy-Qt4 (version 0.2.0) DEBUG: Calling GetStatus()
Telepathy-Qt4 (version 0.2.0) DEBUG: Creating new HandleContext
Telepathy-Qt4 (version 0.2.0) DEBUG: ignoring iterate introspection
for status 4294967295
Telepathy-Qt4 (version 0.2.0) DEBUG: Got connection status 2
Telepathy-Qt4 (version 0.2.0) DEBUG: Calling GetInterfaces()
Telepathy-Qt4 (version 0.2.0) DEBUG: StatusChanged from 2 to 1 with reason 1
Telepathy-Qt4 (version 0.2.0) DEBUG: status changed while
introspection process was running
Telepathy-Qt4 (version 0.2.0) DEBUG: Got reply to GetInterfaces():
("org.freedesktop.Telepathy.Connection.Interface.Requests",
"org.freedesktop.Telepathy.Connection.Interface.Contacts",
"org.freedesktop.Telepathy.Connection.Interface.Aliasing")
Telepathy-Qt4 (version 0.2.0) DEBUG:
ReadinessHelper::setIntrospectCompleted: feature:
QPair("Tp::Connection",0) - success: true
Telepathy-Qt4 (version 0.2.0) DEBUG:
ReadinessHelper::setIntrospectCompleted called while there is a
pending status change - ignoring
Telepathy-Qt4 (version 0.2.0) DEBUG: StatusChanged from 1 to 2 with reason 2
Telepathy-Qt4 (version 0.2.0) DEBUG: proxy invalidated:
"org.freedesktop.Telepathy.Error.NetworkError":
"ConnectionStatusReason = 2"
CallWindow::onConnectionInvalidated: connection became invalid:
"org.freedesktop.Telepathy.Error.NetworkError" -
"ConnectionStatusReason = 2"
Telepathy-Qt4 (version 0.2.0) DEBUG: Destroying HandleContext
Telepathy-Qt4 (version 0.2.0) WARNING: Tp::PendingOperation(0x22ef90)
still pending when it was deleted - finished will never be emitted

 

 

Thanks in advance

 

Br,

Teletimo

 

 

----------------------------------------------------------------------------
-----------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be
confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this
communication in error,please 
immediately notify the sender by return e-mail, and delete the original
message and all copies from 
your system. Thank you. 
----------------------------------------------------------------------------
-----------------------
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20100913/2fd3d990/attachment.htm>


More information about the telepathy mailing list