Hi,
I solved this problem already.
nua_handle_make_replaces function can get a replaces header for a
nua_handle_t.
The replaces header contains the dialog information.
On 10/25/07, Tan Miaoqing <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a basic question of how to get dialog information using NUA:
>
> I want to add attended call transfer feature to sofsip_cli. As you might
> know, in attended call transfer, Replaces header (RFC 3891) is used to tell
> a remote party to replace the current dialog with another one.
>
> Therefore, the referrer needs to contain its current dialog information
> in the REFER request, so that the refer-recipient can send a INVITE with
> replaces header which contains this dialog information to the CN (CN is the
> remote party which originally communicates with referrer, so after the call
> transfer, the refer-recipient will replace referrer to communicate with CN).
> But how can I get dialog information suing NUA?
>
> Should we use some functions or tagging/macros to get dialog information
> from NUA stack object (nua_t) or handle (nua_handle_t)?
>
> As defined in NUA document, operation handle represents an abstract SIP
> call/session. It contains information of SIP dialog and media session... I
> suppose there should be some ways for application to access dialog
> information?
>
> --
> Best Regards
> Tan Miaoqing
> Master's Programme in Mobile Computing - Services and Security
> Helsinki University of Technology
> http://users.tkk.fi/~mitan <http://users.tkk.fi/%7Emitan>
--
Best Regards
Tan Miaoqing
Master's Programme in Mobile Computing - Services and Security
Helsinki University of Technology
http://users.tkk.fi/~mitan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel