On date Thursday 2009-03-05 15:48:49 +0100, Stefano Sabatini phoned this: > On date Tuesday 2009-03-03 20:35:50 +0200, Pekka Pessi phoned this: [...] > So I wonder if it would make sense to set this information in the > handle itself, when the various nua_invite/nua_ack/... operations are > performed, rather than re-implement that logic in every app. > > Or maybe I'm just confused. > > > > I also wonder if it is possible for example to extract other > > > informations related to it, for example the Call-ID of a dialog. > > > > nua_handle_make_replaces() returns a Replaces header, you can get > > Call-ID from it.
I'm tackling the problem setting the call-id in the handle magic when I receive the nua_r_invite event. This isn't very nice, since the call-id is defined in the handle when I create it, so before I get the nua_r_invite I don't have that information in the magic, but it works for my own purposes. So again, would be possible to extend the nua_handle interface in order to make it possible to *extract* from the handle the Call-ID? > > I'll gladly accept patch for something like > > > > char *nua_handle_make_call_id(nua_handle_t *nh) > > Do you mean a function to *set* the call_id for example in a just > created handle? > > But do you think would be also possible to define a function to *get* > the call_id of an already created handle? nua_handle_make_replaces > looks overkill for just that. > [...] Again many thanks in advance. BYE ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel