Fri Jun 19 12:11:04 2009

Asterisk developer's documentation


sip_refer Struct Reference

Structure to handle SIP transfers. Dynamically allocated when needed. More...


Data Fields

int attendedtransfer
int localtransfer
sip_pvtrefer_call
char refer_contact [AST_MAX_EXTENSION]
char refer_to [AST_MAX_EXTENSION]
char refer_to_context [AST_MAX_EXTENSION]
char refer_to_domain [AST_MAX_EXTENSION]
char refer_to_urioption [AST_MAX_EXTENSION]
char referred_by [AST_MAX_EXTENSION]
char referred_by_name [AST_MAX_EXTENSION]
char replaces_callid [SIPBUFSIZE]
char replaces_callid_fromtag [SIPBUFSIZE/2]
char replaces_callid_totag [SIPBUFSIZE/2]
enum referstatus status


Detailed Description

Structure to handle SIP transfers. Dynamically allocated when needed.

Note:
OEJ: Should be moved to string fields

Definition at line 1200 of file chan_sip.c.


Field Documentation

int attendedtransfer

Attended or blind transfer?

Definition at line 1215 of file chan_sip.c.

Referenced by get_refer_info(), and handle_request_refer().

int localtransfer

Transfer to local domain?

Definition at line 1216 of file chan_sip.c.

Referenced by handle_request_refer(), and local_attended_transfer().

struct sip_pvt* refer_call

Call we are referring. This is just a reference to a dialog owned by someone else, so we should not destroy it when the sip_refer object goes.

Definition at line 1211 of file chan_sip.c.

Referenced by get_also_info(), handle_invite_replaces(), and handle_request_invite().

char refer_contact[AST_MAX_EXTENSION]

Place to store Contact info from a REFER extension

Definition at line 1207 of file chan_sip.c.

Referenced by get_also_info().

char refer_to[AST_MAX_EXTENSION]

Place to store REFER-TO extension

Definition at line 1201 of file chan_sip.c.

Referenced by get_also_info(), get_refer_info(), handle_request_bye(), handle_request_refer(), handle_response_refer(), transmit_invite(), and transmit_refer().

char refer_to_context[AST_MAX_EXTENSION]

Place to store REFER-TO context

Definition at line 1204 of file chan_sip.c.

Referenced by get_refer_info(), and handle_request_refer().

char refer_to_domain[AST_MAX_EXTENSION]

Place to store REFER-TO domain

Definition at line 1202 of file chan_sip.c.

Referenced by get_also_info(), get_refer_info(), and handle_request_refer().

char refer_to_urioption[AST_MAX_EXTENSION]

Place to store REFER-TO uri options

Definition at line 1203 of file chan_sip.c.

Referenced by get_refer_info().

char referred_by[AST_MAX_EXTENSION]

Place to store REFERRED-BY extension

Definition at line 1205 of file chan_sip.c.

Referenced by get_also_info(), get_refer_info(), handle_request_refer(), transmit_invite(), and transmit_refer().

char referred_by_name[AST_MAX_EXTENSION]

Place to store REFERRED-BY extension

Definition at line 1206 of file chan_sip.c.

Referenced by get_refer_info(), and transmit_invite().

char replaces_callid[SIPBUFSIZE]

Replace info: callid

Definition at line 1208 of file chan_sip.c.

Referenced by get_refer_info(), handle_request_refer(), and local_attended_transfer().

char replaces_callid_fromtag[SIPBUFSIZE/2]

Replace info: from-tag

Definition at line 1210 of file chan_sip.c.

Referenced by get_refer_info(), handle_request_refer(), and local_attended_transfer().

char replaces_callid_totag[SIPBUFSIZE/2]

Replace info: to-tag

Definition at line 1209 of file chan_sip.c.

Referenced by get_refer_info(), handle_request_refer(), and local_attended_transfer().

enum referstatus status

REFER status

Definition at line 1217 of file chan_sip.c.

Referenced by handle_request_refer(), handle_response_refer(), local_attended_transfer(), show_channels_cb(), and transmit_refer().


The documentation for this struct was generated from the following file:
Generated on Fri Jun 19 12:11:04 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7