Martti Mela <Martti.Mela@nokia-email.address.hidden>
#include <sofia-sip/su_tag.h>
#include <sofia-sip/sdp_tag.h>
#include <sofia-sip/url_tag.h>
#include <sofia-sip/sip_tag.h>
#include <sofia-sip/nta_tag.h>
#include <sofia-sip/nea_tag.h>
#include <sofia-sip/soa_tag.h>
Include dependency graph for nua_tag.h:

Defines | |
| #define | NUTAG_ANY() |
| Filter tag matching any nua tag. | |
| #define | NUTAG_URL(x) |
| URL address from application to NUA. | |
| #define | NUTAG_WITH(x) |
| Specify request to respond to. | |
| #define | NUTAG_WITH_THIS(nua) |
| Specify request to respond to. | |
| #define | NUTAG_WITH_SAVED(e) |
| Specify request to respond to. | |
| #define | NUTAG_DIALOG(b) |
| An (extension) method is used to create dialog or refresh target. | |
| #define | NUTAG_METHOD(x) |
| Extension method name. | |
| #define | NUTAG_METHOD_REF(x) |
| Reference tag for NUTAG_METHOD(). | |
| #define | NUTAG_MAX_SUBSCRIPTIONS(x) |
| Set maximum number of simultaneous subscribers per single event server. | |
| #define | NUTAG_MAX_SUBSCRIPTIONS_REF(x) |
| Reference tag for NUTAG_MAX_SUBSCRIPTIONS(). | |
| #define | NUTAG_USE_DIALOG(x) |
| Ask NUA to create dialog for this handle. | |
| #define | NUTAG_USE_DIALOG_REF(x) |
| Reference tag for NUTAG_USE_DIALOG(). | |
| #define | NUTAG_RETRY_COUNT(x) |
| Set request retry count. | |
| #define | NUTAG_RETRY_COUNT_REF(x) |
| Reference tag for NUTAG_RETRY_COUNT(). | |
| #define | NUTAG_SOA_NAME(x) |
| Name for SDP Offer-Answer session object. | |
| #define | NUTAG_SOA_NAME_REF(x) |
| Reference tag for NUTAG_SOA_NAME(). | |
| #define | NUTAG_EARLY_MEDIA(x) |
| Establish early media session using 100rel, 183 responses and PRACK. | |
| #define | NUTAG_EARLY_MEDIA_REF(x) |
| Reference tag for NUTAG_EARLY_MEDIA(). | |
| #define | NUTAG_ONLY183_100REL(x) |
| Require 100rel extension and PRACK only with 183 response. | |
| #define | NUTAG_ONLY183_100REL_REF(x) |
| Reference tag for NUTAG_ONLY183_100REL(). | |
| #define | NUTAG_EARLY_ANSWER(x) |
| Establish early media session by including SDP answer in 1XX response. | |
| #define | NUTAG_EARLY_ANSWER_REF(x) |
| Reference tag for NUTAG_EARLY_ANSWER(). | |
| #define | NUTAG_INCLUDE_EXTRA_SDP(x) |
| Include an extra copy of SDP answer in the response. | |
| #define | NUTAG_INCLUDE_EXTRA_SDP_REF(x) |
| Reference tag for NUTAG_INCLUDE_EXTRA_SDP(). | |
| #define | NUTAG_INVITE_TIMER(x) |
| Timer for outstanding INVITE in seconds. | |
| #define | NUTAG_INVITE_TIMER_REF(x) |
| Reference tag for NUTAG_INVITE_TIMER(). | |
| #define | NUTAG_SESSION_TIMER(x) |
| Default session timer in seconds. | |
| #define | NUTAG_SESSION_TIMER_REF(x) |
| Reference tag for NUTAG_SESSION_TIMER(). | |
| #define | NUTAG_MIN_SE(x) |
| Minimum acceptable refresh interval for session. | |
| #define | NUTAG_MIN_SE_REF(x) |
| Reference tag for NUTAG_MIN_SE(). | |
| #define | NUTAG_SESSION_REFRESHER(x) |
| Specify the preferred refresher. | |
| #define | NUTAG_SESSION_REFRESHER_REF(x) |
| Reference tag for NUTAG_SESSION_REFRESHER(). | |
| #define | NUTAG_UPDATE_REFRESH(x) |
| Use UPDATE as refresh method. | |
| #define | NUTAG_UPDATE_REFRESH_REF(x) |
| Reference tag for NUTAG_UPDATE_REFRESH(). | |
| #define | NUTAG_AUTOALERT(x) |
| Send alerting (180 Ringing) automatically. | |
| #define | NUTAG_AUTOALERT_REF(x) |
| Reference tag for NUTAG_AUTOALERT(). | |
| #define | NUTAG_AUTOACK(x) |
| ACK automatically. | |
| #define | NUTAG_AUTOACK_REF(x) |
| Reference tag for NUTAG_AUTOACK(). | |
| #define | NUTAG_AUTOANSWER(x) |
| Answer (with 200 Ok) automatically to incoming call. | |
| #define | NUTAG_AUTOANSWER_REF(x) |
| Reference tag for NUTAG_AUTOANSWER(). | |
| #define | NUTAG_ENABLEINVITE(x) |
| Enable incoming INVITE. | |
| #define | NUTAG_ENABLEINVITE_REF(x) |
| Reference tag for NUTAG_ENABLEINVITE(). | |
| #define | NUTAG_ENABLEMESSAGE(x) |
| Enable incoming MESSAGE. | |
| #define | NUTAG_ENABLEMESSAGE_REF(x) |
| Reference tag for NUTAG_ENABLEMESSAGE(). | |
| #define | NUTAG_ENABLEMESSENGER(x) |
| Enable incoming MESSAGE with To tag. | |
| #define | NUTAG_ENABLEMESSENGER_REF(x) |
| Reference tag for NUTAG_ENABLEMESSENGER(). | |
| #define | NUTAG_SMIME_ENABLE(x) |
| Enable S/MIME. | |
| #define | NUTAG_SMIME_ENABLE_REF(x) |
| Reference tag for NUTAG_SMIME_ENABLE(). | |
| #define | NUTAG_SMIME_OPT(x) |
| S/MIME Options. | |
| #define | NUTAG_SMIME_OPT_REF(x) |
| Reference tag for NUTAG_SMIME_OPT(). | |
| #define | NUTAG_SMIME_PROTECTION_MODE(x) |
| S/MIME protection mode. | |
| #define | NUTAG_SMIME_PROTECTION_MODE_REF(x) |
| Reference tag for NUTAG_SMIME_PROTECTION_MODE(). | |
| #define | NUTAG_SMIME_MESSAGE_DIGEST(x) |
| S/MIME digest algorithm. | |
| #define | NUTAG_SMIME_MESSAGE_DIGEST_REF(x) |
| Reference tag for NUTAG_SMIME_MESSAGE_DIGEST(). | |
| #define | NUTAG_SMIME_SIGNATURE(x) |
| S/MIME signature algorithm. | |
| #define | NUTAG_SMIME_SIGNATURE_REF(x) |
| Reference tag for NUTAG_SMIME_SIGNATURE(). | |
| #define | NUTAG_SMIME_KEY_ENCRYPTION(x) |
| S/MIME key encryption algorithm. | |
| #define | NUTAG_SMIME_KEY_ENCRYPTION_REF(x) |
| Reference tag for NUTAG_SMIME_KEY_ENCRYPTION(). | |
| #define | NUTAG_SMIME_MESSAGE_ENCRYPTION(x) |
| S/MIME message encryption algorithm. | |
| #define | NUTAG_SMIME_MESSAGE_ENCRYPTION_REF(x) |
| Reference tag for NUTAG_SMIME_MESSAGE_ENCRYPTION(). | |
| #define | NUTAG_CERTIFICATE_DIR(x) |
| X.500 certificate directory. | |
| #define | NUTAG_CERTIFICATE_DIR_REF(x) |
| Reference tag for NUTAG_CERTIFICATE_DIR(). | |
| #define | NUTAG_CERTIFICATE_PHRASE(x) |
| Certificate phrase. | |
| #define | NUTAG_CERTIFICATE_PHRASE_REF(x) |
| Reference tag for NUTAG_CERTIFICATE_PHRASE(). | |
| #define | NUTAG_SIPS_URL(x) |
| Local SIPS url. | |
| #define | NUTAG_SIPS_URL_REF(x) |
| Reference tag for NUTAG_SIPS_URL(). | |
| #define | NUTAG_PROXY(x) |
| Outbound proxy URL. | |
| #define | NUTAG_PROXY_REF(x) |
| Reference tag for NUTAG_PROXY(). | |
| #define | NUTAG_INITIAL_ROUTE(x) |
| Specify initial route set. | |
| #define | NUTAG_INITIAL_ROUTE_REF(x) |
| Reference tag for NUTAG_INITIAL_ROUTE(). | |
| #define | NUTAG_INITIAL_ROUTE_STR(x) |
| Specify initial route set. | |
| #define | NUTAG_INITIAL_ROUTE_STR_REF(x) |
| Reference tag for NUTAG_INITIAL_ROUTE_STR(). | |
| #define | NUTAG_REGISTRAR(x) |
| Registrar URL. | |
| #define | NUTAG_REGISTRAR_REF(x) |
| Reference tag for NUTAG_REGISTRAR(). | |
| #define | NUTAG_OUTBOUND(x) |
| Outbound option string. | |
| #define | NUTAG_OUTBOUND_REF(x) |
| Reference tag for NUTAG_OUTBOUND(). | |
| #define | NUTAG_SIP_PARSER(x) |
| Pointer to SIP parser structure. | |
| #define | NUTAG_SIP_PARSER_REF(x) |
| Reference tag for NUTAG_SIP_PARSER(). | |
| #define | NUTAG_AUTH(x) |
| Authentication data ("scheme" "realm" "user" "password"). | |
| #define | NUTAG_AUTH_REF(x) |
| Reference tag for NUTAG_AUTH(). | |
| #define | NUTAG_AUTH_CACHE(x) |
| Authentication caching policy. | |
| #define | NUTAG_AUTH_CACHE_REF(x) |
| Reference tag for NUTAG_AUTH_CACHE(). | |
| #define | NUTAG_KEEPALIVE(x) |
| Keepalive interval in milliseconds. | |
| #define | NUTAG_KEEPALIVE_REF(x) |
| Reference tag for NUTAG_KEEPALIVE(). | |
| #define | NUTAG_KEEPALIVE_STREAM(x) |
| Transport-level keepalive interval for streams. | |
| #define | NUTAG_KEEPALIVE_STREAM_REF(x) |
| Reference tag for NUTAG_KEEPALIVE_STREAM(). | |
| #define | NUTAG_AUTHTIME(x) |
| Lifetime of authentication data in seconds. | |
| #define | NUTAG_AUTHTIME_REF(x) |
| Reference tag for NUTAG_AUTHTIME(). | |
| #define | NUTAG_M_DISPLAY(x) |
| Display name for Contact. | |
| #define | NUTAG_M_DISPLAY_REF(x) |
| Reference tag for NUTAG_M_DISPLAY(). | |
| #define | NUTAG_M_USERNAME(x) |
| Username prefix for Contact. | |
| #define | NUTAG_M_USERNAME_REF(x) |
| Reference tag for NUTAG_M_USERNAME(). | |
| #define | NUTAG_M_PARAMS(x) |
| URL parameters for Contact. | |
| #define | NUTAG_M_PARAMS_REF(x) |
| Reference tag for NUTAG_M_PARAMS(). | |
| #define | NUTAG_M_FEATURES(x) |
| Header parameters for Contact used in registration. | |
| #define | NUTAG_M_FEATURES_REF(x) |
| Reference tag for NUTAG_M_FEATURES(). | |
| #define | NUTAG_EVENT(x) |
| NUA event. | |
| #define | NUTAG_EVENT_REF(x) |
| Reference tag for NUTAG_EVENT(). | |
| #define | NUTAG_STATUS(x) |
| Response status code. | |
| #define | NUTAG_STATUS_REF(x) |
| Reference tag for NUTAG_STATUS(). | |
| #define | NUTAG_PHRASE(x) |
| Response phrase. | |
| #define | NUTAG_PHRASE_REF(x) |
| Reference tag for NUTAG_PHRASE(). | |
| #define | NUTAG_HANDLE(x) |
| NUA Handle. | |
| #define | NUTAG_HANDLE_REF(x) |
| Reference tag for NUTAG_HANDLE(). | |
| #define | NUTAG_IDENTITY(x) |
| Registration handle (used with requests and nua_respond()) (NOT YET IMPLEMENTED). | |
| #define | NUTAG_IDENTITY_REF(x) |
| Reference tag for NUTAG_IDENTITY(). | |
| #define | NUTAG_INSTANCE(x) |
| Intance identifier. | |
| #define | NUTAG_INSTANCE_REF(x) |
| Reference tag for NUTAG_INSTANCE(). | |
| #define | NUTAG_NOTIFY_REFER(x) |
| Refer reply handle (used with refer). | |
| #define | NUTAG_NOTIFY_REFER_REF(x) |
| Reference tag for NUTAG_NOTIFY_REFER(). | |
| #define | NUTAG_REFER_EVENT(x) |
| Event used with automatic refer notifications. | |
| #define | NUTAG_REFER_EVENT_REF(x) |
| Reference tag for NUTAG_REFER_EVENT(). | |
| #define | NUTAG_REFER_PAUSE(x) |
| Invite pauses referrer's handle. | |
| #define | NUTAG_REFER_PAUSE_REF(x) |
| Reference tag for NUTAG_REFER_PAUSE(). | |
| #define | NUTAG_USER_AGENT(x) |
| User-Agent string. | |
| #define | NUTAG_USER_AGENT_REF(x) |
| Reference tag for NUTAG_USER_AGENT(). | |
| #define | NUTAG_ALLOW(x) |
| Allow a method (or methods). | |
| #define | NUTAG_ALLOW_REF(x) |
| Reference tag for NUTAG_ALLOW(). | |
| #define | NUTAG_APPL_METHOD(x) |
| Indicate that a method (or methods) are handled by application. | |
| #define | NUTAG_APPL_METHOD_REF(x) |
| Reference tag for NUTAG_APPL_METHOD(). | |
| #define | NUTAG_SUPPORTED(x) |
| Support a feature. | |
| #define | NUTAG_SUPPORTED_REF(x) |
| Reference tag for NUTAG_SUPPORTED(). | |
| #define | NUTAG_ALLOW_EVENTS(x) |
| Allow an event or events. | |
| #define | NUTAG_ALLOW_EVENTS_REF(x) |
| Reference tag for NUTAG_ALLOW_EVENTS(). | |
| #define | NUTAG_CALLSTATE(x) |
| Call state. | |
| #define | NUTAG_CALLSTATE_REF(x) |
| Reference tag for NUTAG_CALLSTATE(). | |
| #define | NUTAG_SUBSTATE(x) |
| Subscription state. | |
| #define | NUTAG_SUBSTATE_REF(x) |
| Reference tag for NUTAG_SUBSTATE(). | |
| #define | NUTAG_SUB_EXPIRES(x) |
| Default expiration time of subscriptions. | |
| #define | NUTAG_SUB_EXPIRES_REF(x) |
| Reference tag for NUTAG_SUB_EXPIRES(). | |
| #define | NUTAG_NEWSUB(x) |
| Send unsolicited NOTIFY request. | |
| #define | NUTAG_NEWSUB_REF(x) |
| Reference tag for NUTAG_NEWSUB(). | |
| #define | NUTAG_REFER_EXPIRES(x) |
| Default lifetime for implicit subscriptions created by REFER. | |
| #define | NUTAG_REFER_EXPIRES_REF(x) |
| Reference tag for NUTAG_REFER_EXPIRES(). | |
| #define | NUTAG_REFER_WITH_ID(x) |
| Always use id parameter with refer event. | |
| #define | NUTAG_REFER_WITH_ID_REF(x) |
| Reference tag for NUTAG_REFER_WITH_ID(). | |
| #define | NUTAG_MEDIA_FEATURES(x) |
| Add media tags from our offer to Accept-Contact headers. | |
| #define | NUTAG_MEDIA_FEATURES_REF(x) |
| Reference tag for NUTAG_MEDIA_FEATURES(). | |
| #define | NUTAG_CALLEE_CAPS(x) |
| Add methods parameter and media feature parameter to the Contact headers generated for REGISTER request. | |
| #define | NUTAG_CALLEE_CAPS_REF(x) |
| Reference tag for NUTAG_CALLEE_CAPS(). | |
| #define | NUTAG_PATH_ENABLE(x) |
| If true, add "path" to Supported in REGISTER. | |
| #define | NUTAG_PATH_ENABLE_REF(x) |
| Reference tag for NUTAG_PATH_ENABLE(). | |
| #define | NUTAG_SERVICE_ROUTE_ENABLE(x) |
| Use route taken from the Service-Route header in the 200 class response to REGISTER. | |
| #define | NUTAG_SERVICE_ROUTE_ENABLE_REF(x) |
| Reference tag for NUTAG_SERVICE_ROUTE_ENABLE(). | |
| #define | NUTAG_MEDIA_ENABLE(x) |
| Enable built-in media session handling. | |
| #define | NUTAG_MEDIA_ENABLE_REF(x) |
| Reference tag for NUTAG_MEDIA_ENABLE(). | |
| #define | NUTAG_OFFER_RECV(x) |
| Indicate that SDP offer has been received. | |
| #define | NUTAG_OFFER_RECV_REF(x) |
| Reference tag for NUTAG_OFFER_RECV(). | |
| #define | NUTAG_ANSWER_RECV(x) |
| Indicate that SDP answer has been received. | |
| #define | NUTAG_ANSWER_RECV_REF(x) |
| Reference tag for NUTAG_ANSWER_RECV(). | |
| #define | NUTAG_OFFER_SENT(x) |
| Indicate that SDP offer has been sent. | |
| #define | NUTAG_OFFER_SENT_REF(x) |
| Reference tag for NUTAG_OFFER_SENT(). | |
| #define | NUTAG_ANSWER_SENT(x) |
| Indicate that SDP answer has been sent. | |
| #define | NUTAG_ANSWER_SENT_REF(x) |
| Reference tag for NUTAG_ANSWER_SENT(). | |
| #define | NUTAG_DETECT_NETWORK_UPDATES(x) |
| Enable detection of local IP address updates. | |
| #define | NUTAG_DETECT_NETWORK_UPDATES_REF(x) |
| Reference tag for NUTAG_DETECT_NETWORK_UPDATES(). | |
| #define | NUTAG_SHUTDOWN_EVENTS(x) |
| Allow passing of normal events when stack is being shut down. | |
| #define | NUTAG_SHUTDOWN_EVENTS_REF(x) |
| Reference tag for NUTAG_SHUTDOWN_EVENTS(). | |
Typedefs | |
| typedef nua_s | nua_t |
| NUA agent. | |
| typedef nua_handle_s | nua_handle_t |
| NUA transaction handle. | |
Enumerations | |
| enum | nua_session_refresher { nua_no_refresher, nua_local_refresher, nua_remote_refresher, nua_any_refresher } |
| Enumeration type of NUTAG_SESSION_REFRESHER(). More... | |
| enum | nua_auth_cache { nua_auth_cache_dialog, nua_auth_cache_challenged } |
| Authentication caching policy. More... | |
| enum | nua_callstate { nua_callstate_init, nua_callstate_authenticating, nua_callstate_calling, nua_callstate_proceeding, nua_callstate_completing, nua_callstate_received, nua_callstate_early, nua_callstate_completed, nua_callstate_ready, nua_callstate_terminating, nua_callstate_terminated } |
| The states for SIP session established with INVITE. More... | |
| enum | nua_substate { nua_substate_extended, nua_substate_embryonic, nua_substate_pending, nua_substate_active, nua_substate_terminated } |
| Parameter type of NUTAG_SUBSTATE(). More... | |
Functions | |
| char const * | nua_callstate_name (enum nua_callstate state) |
| Get name for NUA call state. | |
| char const * | nua_substate_name (enum nua_substate substate) |
| Return name of subscription state. | |
| enum nua_substate | nua_substate_make (char const *sip_substate) |
| Convert string to enum nua_substate. | |
Variables | |
| tag_type_t | nua_tag_list [] |
| List of all NUA tags. | |
|
|
Allow a method (or methods). This tag is used to add a new method to the already existing set of allowed methods. If you want to ignore the existing set of allowed methods, use SIPTAG_ALLOW_STR() or SIPTAG_ALLOW(). The set of allowed methods is added to the Allow header in the response or request messages. For incoming request, an error response 405 Method Not Allowed is automatically returned if the incoming method is not included in the set.
|
|
|
Allow an event or events. This tag is used to add a new event to the already existing set of allowed events. If you want to ignore the existing set of allowed events, set the allowed event set with SIPTAG_ALLOW_EVENTS_STR() or SIPTAG_ALLOW_EVENTS(). The set of allowed methods is added to the Allow-Events header in the response to the SUBSCRIBE or PUBLISH requests. For incoming SUBSCRIBE or PUBLISH request, an error response 489 Bad Event is automatically returned if the incoming method is not included in the set.
|
|
|
Indicate that SDP answer has been received.
|
|
|
Indicate that SDP answer has been sent.
|
|
|
Indicate that a method (or methods) are handled by application. This tag is used to add a new method to the already existing set of methods handled by application, or clear the set. If you want to determine the set explicitly, include NUTAG_APPL_METHOD() twice, first with NULL and then with your supported set. The default set of application methods now include INVITE, REGISTER, PUBLISH and SUBSCRIBE. If the request method is in the set of methods handled by application, the nua stack does not automatically respond to the incoming request nor it will automatically send such a request. Note if the application adds the PRACK and UPDATE requests to the set of application methods it must also take care for sending the PRACK and UPDATE requests during the call setup when necessary.
|
|
|
Authentication data ("scheme" "realm" "user" "password").
|
|
|
Authentication caching policy.
|
|
|
Lifetime of authentication data in seconds.
|
|
|
ACK automatically. If this parameter is true, ACK is sent automatically after receiving 2XX series response to INVITE. Note that ACK is always sent automatically by lower layers of the stack after receiving an error response 3XX, 4XX, 5XX or 6XX.
Corresponding tag taking reference parameter is NUTAG_AUTOACK_REF(). |
|
|
Send alerting (180 Ringing) automatically.
|
|
|
Answer (with 200 Ok) automatically to incoming call.
|
|
|
Add methods parameter and media feature parameter to the Contact headers generated for REGISTER request.
|
|
|
Call state.
|
|
|
X.500 certificate directory.
|
|
|
Certificate phrase.
|
|
|
Enable detection of local IP address updates.
|
|
|
An (extension) method is used to create dialog or refresh target.
|
|
|
Establish early media session by including SDP answer in 1XX response.
|
|
|
Establish early media session using 100rel, 183 responses and PRACK.
|