Hi, George<br><br> i try it as you said, the "invalid SIP URL" doesn't be throw, but i got other error as below:<br><br>tom@tom-desktop:~/Templates/qt_demo/qt4cb$ ./qt4cb <br>CallHandler::onCMReady Entry <br>
CallHandler::onCMReady Exit <br>CallHandler::onConnectionCreated Entry <br>services name: "org.freedesktop.Telepathy.Connection.sofiasip.sip._312345_40192_2e168_2e1_2e103" <br>object path: "/org/freedesktop/Telepathy/Connection/sofiasip/sip/_312345_40192_2e168_2e1_2e103" <br>
CallHandler::onConnectionCreated Exit <br>CallHandler::onConnectionInvalidated Entry <br>connection is invalidated <span style="color: rgb(255, 0, 0);"> "org.freedesktop.Telepathy.Error.NetworkError" - "ConnectionStatusReason = 2" </span><br>
Telepathy-Qt4 (version 0.1.11) WARNING: Tp::PendingOperation(0x9d9a518) still pending when it was deleted - finished will never be emitted <br>CallHandler::onConnectionInvalidated Exit <br>tom@tom-desktop:~/Templates/qt_demo/qt4cb$ <br>
<br>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>
<br>Br<br>Tom Chen<br><br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 12:41 PM, chen zheng <span dir="ltr"><<a href="mailto:funpig@gmail.com">funpig@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi, George</div>
<div> </div>
<div> 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.</div>
<div> </div>
<div>Br</div>
<div>Tom Chen<br><br></div><div><div></div><div class="h5">
<div class="gmail_quote">On Tue, Nov 10, 2009 at 2:50 AM, George Kiagiadakis <span dir="ltr"><<a href="mailto:kiagiadakis.george@gmail.com" target="_blank">kiagiadakis.george@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div>On Mon, Nov 9, 2009 at 5:39 PM, chen zheng <<a href="mailto:funpig@gmail.com" target="_blank">funpig@gmail.com</a>> wrote:<br>> Hi, George<br>><br></div>
<div>> Do you have some suggestion for why my application can't connect()? i<br>> hope could get your feedback, because i'm really really could not find root<br>> cause by myself. i check it again, my function dbus_init() that's could not<br>
> be connect() also in last mail. that's my mistake.<br>><br></div>> [...]<br>
<div>><br>>> "account" : QVariant(QString, "Local.openser")<br>>> "auth-user" : QVariant(QString, "12345")<br>>> "discover-binding" : QVariant(bool, true)<br>
>> "discover-stun" : QVariant(bool, true)<br>>> "extra-auth-password" : QVariant(QString, "")<br>>> "extra-auth-user" : QVariant(QString, "")<br>>> "keepalive-interval" : QVariant(int, 3600)<br>
>> "keepalive-mechanism" : QVariant(QString, "")<br>>> "local-ip-address" : QVariant(QString, "")<br>>> "local-port" : QVariant(uint, 0)<br>>> "loose-routing" : QVariant(bool, false)<br>
>> "password" : QVariant(QString, "")<br>>> "port" : QVariant(uint, 5060)<br>>> "proxy-host" : QVariant(QString, "192.168.1.103")<br>>> "registrar" : QVariant(QString, "192.168.1.103")<br>
>> "stun-port" : QVariant(uint, 3478)<br>>> "stun-server" : QVariant(QString, "")<br>>> "transport" : QVariant(QString, "auto")<br><br></div>Hi,<br>I'm sorry I didn't reply earlier. It seems that the parameters you are<br>
passing to sofiasip are wrong. Please have a look at the specification<br>here:<br><br><a href="http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ConnectionManager.html#org.freedesktop.Telepathy.ConnectionManager.RequestConnection" target="_blank">http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ConnectionManager.html#org.freedesktop.Telepathy.ConnectionManager.RequestConnection</a><br>
<br>For example, the spec says:<br>account (s)<br> The identifier for the user's account on the server<br><br>So, "Local.openser" looks wrong. It should be something like<br>"username@server" (I have "<a href="mailto:gkiagia@iptel.org" target="_blank">gkiagia@iptel.org</a>" here on my account).<br>
<br>Btw, to get a list with the valid parameters you can call<br>connectionManager->protocols()[0]->parameters() and print them to find<br>out what sofiasip supports and/or requires.<br><br>Regards,<br><font color="#888888">George<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>