84 #define osip_dialog_set_instance(dialog,instance) (dialog)->your_instance = (void*)(instance)
91 #define osip_dialog_get_instance(dialog) (dialog)->your_instance
Structure for referencing a list of elements.
Structure for SIP Message (REQUEST and RESPONSE).
int osip_dialog_init_as_uas(osip_dialog_t **dialog, osip_message_t *invite, osip_message_t *response)
Allocate a osip_dialog_t element as a UAS.
char * remote_tag
remote tag
enum _state_t state_t
Enumeration for transaction state.
void * your_instance
for application data reference
int osip_dialog_init_as_uac(osip_dialog_t **dialog, osip_message_t *response)
Allocate a osip_dialog_t element as a UAC.
int osip_dialog_match_as_uac(osip_dialog_t *dialog, osip_message_t *response)
Match a response received with a dialog.
void osip_dialog_free(osip_dialog_t *dialog)
Free all resource in a osip_dialog_t element.
enum _osip_dialog_type_t osip_dialog_type_t
osip_from_t * local_uri
local_uri
char * local_tag
local tag
osip_list_t route_set
route set
int osip_dialog_update_route_set_as_uas(osip_dialog_t *dialog, osip_message_t *invite)
Update the Route-Set as UAS of a dialog.
int osip_dialog_update_osip_cseq_as_uas(osip_dialog_t *dialog, osip_message_t *request)
Update the CSeq (remote cseq) during a UAS transaction of a dialog.
state_t state
DIALOG_EARLY || DIALOG_CONFIRMED || DIALOG_CLOSED.
Definition of the From header.
void osip_dialog_set_state(osip_dialog_t *dialog, state_t type)
Set the state of the dialog.
int osip_dialog_match_as_uas(osip_dialog_t *dialog, osip_message_t *request)
Match a request (response sent?) received with a dialog.
int osip_dialog_is_callee(osip_dialog_t *dialog)
Is dialog initiated by as CALLEE.
osip_contact_t * remote_contact_uri
remote contact_uri
osip_to_t * remote_uri
remote_uri
Structure for referencing a dialog.
int secure
use secure transport layer
osip_dialog_type_t type
type of dialog (CALLEE or CALLER)
int osip_dialog_update_route_set_as_uac(osip_dialog_t *dialog, osip_message_t *response)
Update the Route-Set as UAC of a dialog.
char * line_param
line param from request uri for incoming calls
int osip_dialog_is_originator(osip_dialog_t *dialog)
Is dialog initiated by as CALLER.
int osip_dialog_update_tag_as_uac(osip_dialog_t *dialog, osip_message_t *response)
Update the tag as UAC of a dialog?.
int local_cseq
last local cseq
int remote_cseq
last remote cseq
int osip_dialog_init_as_uac_with_remote_request(osip_dialog_t **dialog, osip_message_t *next_request, int local_cseq)
Allocate a osip_dialog_t element as a UAC.