2009/3/3 Stefano Sabatini <ssabat...@reilabs.com>:
> I was investigating about how to get the state of a nua_handle,
> couldn't find nothing about it.

The current state is not very well defined, nor it is kept in handle.

> 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'll gladly accept patch for something like

char *nua_handle_make_call_id(nua_handle_t *nh)

> The nh_status is not defined in nua_handle_s, and the macro NH_STATUS
> looks like it is never used in the code, so maybe this is just a
> fossil.

Yep, it was some fossilized code, I'll zap it..

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to