On Wed, 2011-03-30 at 18:43 +0200, ext jeremias bosch wrote: > What i do is: ... > Call* mCall = new Call( chan ); > Tp::ContactManagerPtr contactManager = > connection->contactManager(); > > if ( !contactManager.isNull() ) > { > QList<Tp::ContactPtr> contactList; > Tp::PendingContacts* pc = > contactManager->contactsForIdentifiers( QStringList()<< > "06020000004430000" ); > ret = mWaiter->handlesToContacts( pc, > contactList );
Here you recreate the handle. I think this output is because of contactsForIdentifiers (telepathy-ring:2600): tp-glib/handles-DEBUG: tp_base_connection_dbus_request_handles: unimplemented handle type 3 (telepathy-ring:2600): tp-glib/handles-DEBUG: tp_base_connection_dbus_request_handles: unimplemented handle type 3 (telepathy-ring:2600): tp-glib/handles-DEBUG: tp_base_connection_dbus_request_handles: unimplemented handle type 3 (telepathy-ring:2600): tp-glib/handles-DEBUG: tp_base_connection_dbus_request_handles: unimplemented handle type 3 > mCall->OpenAudioStream(contactList.first()); > bool Call::OpenAudioStream( const Tp::ContactPtr& aTarget ) > { > qDebug()<<"OPEN AUDIO STREAM"; > qDebug() << " Contact ID: " << aTarget->id(); //shows > "06020000004430000" > > mRetValue = (*mWaiter)( mChannel->requestStream( aTarget, > Tp::MediaStreamTypeAudio ) ); and when you use your new Contact, Ring is not happy with your handle: > (telepathy-ring:2600): Ring-DEBUG: ring_streamed_media_request_streams: () > (telepathy-ring:2600): Ring-DEBUG: > ring_call_channel_validate_media_handle: enter > (telepathy-ring:2600): Ring-DEBUG: ring_streamed_media_request_streams: exit What is your contact handle here? I'd use chan->targetHandle() instead of using contactManager, or usedcreated fiurst a Contact then used the Contact with EnsureStreamedMediaCall() in first place. --Pekka _______________________________________________ MeeGo-handset mailing list MeeGo-handset@lists.meego.com http://lists.meego.com/listinfo/meego-handset