Hi! I'm working in an application to handle media channels based on "text-handler" example from telepathy-glib. The purpose of my program is to answer a SIP call from an Empathy client. I don't mind handling the stream yet, I just want to answer it properly (if it's possible to separate it).
As far as I know, the preferred way to create a channel is via method call on the Client by the ChannelDispatcher. This will call the HandleChannels method in the client where I should choose which channel (Streamed Media, in my case) I want, and make sure the channel is ready. Accordingly to the telepathy specification, handlers are the user interface for one single channel and they must suit the channel characteristics. In my case, it must implement the MediaSignalling interface. To accept the call, I try to add the local pending member (the channel self handle) to the group's members and expect that telepathy negotiate the call for me. The problem is that it seems that the local user is not added to the group members. Anyway, I tried to go further and create the session handler using "tp_cli_channel_interface_media_signalling_call_get_session_handlers". It calls the callback function and there I can retrieve the it's properties object_path and media_type. Then I create the object and when I call tp_cli_media_session_handler_call_ready it says "Method "Ready" with signature "" on interface "org.freedesktop.Telepathy.Media.SessionHandler" doesn't exist" For now, I can see in telepathy-sofiasip logs that the remote user sends a "CANCEL" message with reason "NO ANSWER". I'm looking foward to hearing from you what I've missed to accept the call. Here is my application source code: http://pastebin.com/8DtGXQjK Here is my telepathy-sofiasip log: http://pastebin.com/GKjNUzSU Regards, Pedro Zamuner
_______________________________________________ telepathy mailing list telepathy@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/telepathy