Thu Apr 28 2011 17:16:26

Asterisk developer's documentation


sip_refer Struct Reference

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

Collaboration diagram for sip_refer:

Data Fields

int attendedtransfer
int localtransfer
struct 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 1503 of file chan_sip.c.


Field Documentation

Attended or blind transfer?

Definition at line 1518 of file chan_sip.c.

Referenced by get_refer_info(), and handle_request_refer().

Transfer to local domain?

Definition at line 1519 of file chan_sip.c.

Referenced by handle_request_refer(), and local_attended_transfer().

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 1514 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 1510 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 1504 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 1507 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 1505 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 1506 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 1508 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 1509 of file chan_sip.c.

Referenced by get_refer_info(), and transmit_invite().

char replaces_callid[SIPBUFSIZE]

Replace info: callid

Definition at line 1511 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 1513 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 1512 of file chan_sip.c.

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


The documentation for this struct was generated from the following file: