[Telepathy] ANNOUNCE: telepathy-qt4 0.1.12

chen zheng funpig at gmail.com
Tue Nov 10 06:36:42 PST 2009


Hi, George

   i try it as you said, the "invalid SIP URL" doesn't be throw, but i got
other error as below:

tom at tom-desktop:~/Templates/qt_demo/qt4cb$ ./qt4cb
CallHandler::onCMReady Entry
CallHandler::onCMReady Exit
CallHandler::onConnectionCreated Entry
services name:
"org.freedesktop.Telepathy.Connection.sofiasip.sip._312345_40192_2e168_2e1_2e103"

object path:
"/org/freedesktop/Telepathy/Connection/sofiasip/sip/_312345_40192_2e168_2e1_2e103"

CallHandler::onConnectionCreated Exit
CallHandler::onConnectionInvalidated Entry
connection is invalidated  "org.freedesktop.Telepathy.Error.NetworkError" -
"ConnectionStatusReason = 2"
Telepathy-Qt4 (version 0.1.11) WARNING: Tp::PendingOperation(0x9d9a518)
still pending when it was deleted - finished will never be emitted
CallHandler::onConnectionInvalidated Exit
tom at tom-desktop:~/Templates/qt_demo/qt4cb$

in my application, i added network support like "QT += network" in .pro
file. and i running openser in my pc. i made debug version of telepathy-qt4
also, but i'm not got more debug info when my app is running. i'm a newcomer
in linux. So, Could you help me again for this problem? thanks for you help.

Br
Tom Chen


On Tue, Nov 10, 2009 at 12:41 PM, chen zheng <funpig at gmail.com> wrote:

> Hi, George
>
>     I'm glad to got your feedback, thank you very much! i'll try it
> toneight at home. it looks like a stupid mistake that i made. i'm not read
> the specification doc carefully.
>
> Br
> Tom Chen
>
> On Tue, Nov 10, 2009 at 2:50 AM, George Kiagiadakis <
> kiagiadakis.george at gmail.com> wrote:
>
>> On Mon, Nov 9, 2009 at 5:39 PM, chen zheng <funpig at gmail.com> wrote:
>> > Hi, George
>> >
>> >     Do you have some suggestion for why my application can't connect()?
>> i
>> > hope could get your feedback, because i'm really really could not find
>> root
>> > cause by myself. i check it again, my function dbus_init() that's could
>> not
>> > be connect() also in last mail. that's my mistake.
>> >
>> > [...]
>> >
>> >> "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")
>>
>> Hi,
>> I'm sorry I didn't reply earlier. It seems that the parameters you are
>> passing to sofiasip are wrong. Please have a look at the specification
>> here:
>>
>>
>> http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ConnectionManager.html#org.freedesktop.Telepathy.ConnectionManager.RequestConnection
>>
>> For example, the spec says:
>> account (s)
>>    The identifier for the user's account on the server
>>
>> So, "Local.openser" looks wrong. It should be something like
>> "username at server" (I have "gkiagia at iptel.org" here on my account).
>>
>> Btw, to get a list with the valid parameters you can call
>> connectionManager->protocols()[0]->parameters() and print them to find
>> out what sofiasip supports and/or requires.
>>
>> Regards,
>> George
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20091110/9cb17552/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt4cb.7z
Type: application/x-7z-compressed
Size: 45070 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20091110/9cb17552/attachment-0001.7z 


More information about the telepathy mailing list