nua_handle_preferences Struct Reference

#include <nua_params.h>


Detailed Description

NUA preferences.

This structure contains values for various preferences and a separate bitmap (nhp_set) for each preference. Preferences are set using nua_set_params() or nua_set_hparams() or a handle-specific operation setting the preferences, including nua_invite(), nua_respond(), nua_ack(), nua_prack(), nua_update(), nua_info(), nua_bye(), nua_options(), nua_message(), nua_register(), nua_publish(), nua_refer(), nua_subscribe(), nua_notify(), nua_refer(), and nua_notifier().

The stack uses preference value if corresponding bit in bitmap is set, otherwise it uses preference value from default handle.

See also:
NHP_GET(), NH_PGET(), NHP_ISSET(), NH_PISSET()


Data Fields

unsigned nhp_retry_count
 times to retry a request
unsigned nhp_early_answer:1
 Include answer in 1XX.
unsigned nhp_early_media:1
 Establish early media with 100rel.
unsigned nhp_only183_100rel:1
 Only 100rel 183.
unsigned nhp_auto_ack:1
 Automatically ACK a final response.
unsigned nhp_invite_timeout
 INVITE timeout.
unsigned nhp_session_timer
 Default session timer (in seconds, 0 disables).
unsigned nhp_min_se
 Default Min-SE Delta value.
enum nua_session_refresher nhp_refresher
 no (preference), local or remote
unsigned nhp_update_refresh:1
 Use UPDATE to refresh.
unsigned nhp_win_messenger_enable: 1
 Be bug-compatible with Windows Messenger.
unsigned nhp_message_auto_respond: 1
 PIM-IW hack.
unsigned nhp_callee_caps:1
 Add callee caps to contact.
unsigned nhp_media_features:1
 Add media features to caps.
unsigned nhp_service_route_enable:1
 Enable Service-Route.
unsigned nhp_path_enable:1
 Enable Path.
unsigned nhp_refer_with_id:1
 Always include id with Event: refer.
char const * nhp_instance
 Outbound OPTIONS.
char const * nhp_outbound
 Network detection: NONE, INFORMAL, TRY_FULL.


Field Documentation

unsigned nhp_invite_timeout

INVITE timeout.

If no response is received in nhp_invite_timeout seconds, INVITE client transaction times out


Sofia-SIP 1.12.4 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.