[Telepathy] [TelepathyQt4] org.freedesktop.Telepathy.Errors.InvalidArgument and invalid SIP URI

chen zheng funpig at gmail.com
Tue Nov 3 07:17:47 PST 2009


Hello,

     in my test code that copy from TelepathyQt4\example, i want request
connection use some sip parameters, but i got some error
"org.freedesktop.Telepathy.Errors.InvalidArgument and invalid SIP URI", and
on other side, i got connection successful if i used other function
dbus_init() with same sip parameters that write by myself. i don't know why
it's happen if i use TelepathyQt4 lib?  Could anyone give me some
suggestion?  thanks very much!


following is my output:
tom at tom-desktop:~/Templates/qt_demo/qt4cb$ ./qt4cb
CallHandler::onCMReady Entry
"account" :  QVariant(QString, "Local.openser")
"auth-user" :  QVariant(QString, "12345")
"discover-binding" :  QVariant(bool, true)
"discover-stun" :  QVariant(bool, true)
"extra-auth-password" :  QVariant(QString, "")
"extra-auth-user" :  QVariant(QString, "")
"keepalive-interval" :  QVariant(int, 3600)
"keepalive-mechanism" :  QVariant(QString, "")
"local-ip-address" :  QVariant(QString, "")
"local-port" :  QVariant(uint, 0)
"loose-routing" :  QVariant(bool, false)
"password" :  QVariant(QString, "")
"port" :  QVariant(uint, 5060)
"proxy-host" :  QVariant(QString, "192.168.1.103")
"registrar" :  QVariant(QString, "192.168.1.103")
"stun-port" :  QVariant(uint, 3478)
"stun-server" :  QVariant(QString, "")
"transport" :  QVariant(QString, "auto")
CallHandler::onCMReady Exit
CallHandler::onConnectionCreated Entry
CallHandler::onConnectionCreated Exit
Telepathy-Qt4 (version 0.1.11) WARNING: New status was the same as the old
status! Ignoring redundant StatusChanged
CallHandler::onConnectoinConnected Entry
Connection can't connected.
"error name:org.freedesktop.Telepathy.Errors.InvalidArgument|message:invalid
SIP URI"
Telepathy-Qt4 (version 0.1.11) WARNING: GetInterfaces() failed with
"org.freedesktop.DBus.Error.UnknownMethod":"Method "GetInterfaces" with
signature "" on interface "org.freedesktop.Telepathy.Connection" doesn't
exist
" - assuming no new interfaces
Telepathy-Qt4 (version 0.1.11) WARNING: Tp::PendingOperation(0x9651ce8)
still pending when it was deleted - finished will never be emitted
tom at tom-desktop:~/Templates/qt_demo/qt4cb$

Br
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20091103/9ef7297f/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt4cb.7z
Type: application/x-7z-compressed
Size: 44878 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20091103/9ef7297f/attachment-0001.7z 


More information about the telepathy mailing list