Sat Aug 6 00:40:09 2011

Asterisk developer's documentation


sip_request Struct Reference

sip_request: The data grabbed from the UDP socket More...


Data Fields

char content [SIP_MAX_PACKET]
char data [SIP_MAX_PACKET]
unsigned int flags
char * header [SIP_MAX_HEADERS]
int headers
int len
char * line [SIP_MAX_LINES]
int lines
int method
struct {
   sip_request *   next
next
char * rlPart1
char * rlPart2
unsigned int sdp_count
unsigned int sdp_start


Detailed Description

sip_request: The data grabbed from the UDP socket

Definition at line 628 of file chan_sip.c.


Field Documentation

char content[SIP_MAX_PACKET]

Definition at line 639 of file chan_sip.c.

Referenced by add_content(), add_header(), and finalize_content().

char data[SIP_MAX_PACKET]

Definition at line 638 of file chan_sip.c.

Referenced by add_blank(), add_content(), add_header(), change_hold_state(), finalize_content(), parse_copy(), parse_request(), send_provisional_keepalive_full(), send_request(), send_response(), and unref_provisional_keepalive().

unsigned int flags

SIP_PKT Flags for this packet

Definition at line 635 of file chan_sip.c.

Referenced by realtime_peer().

char* header[SIP_MAX_HEADERS]

Definition at line 636 of file chan_sip.c.

Referenced by __get_header(), add_header(), determine_firstline_parts(), func_header_read(), handle_request(), and parse_request().

int headers

# of SIP Headers

Definition at line 632 of file chan_sip.c.

Referenced by __get_header(), add_header(), create_addr_from_peer(), handle_request(), handle_request_invite(), handle_request_register(), handle_request_subscribe(), initialize_initreq(), parse_request(), transmit_invite(), transmit_notify_with_mwi(), transmit_notify_with_sipfrag(), transmit_refer(), transmit_register(), and transmit_sip_request().

int len

Length

Definition at line 631 of file chan_sip.c.

Referenced by add_blank(), add_content(), add_header(), finalize_content(), method_match(), parse_copy(), send_request(), and send_response().

char* line[SIP_MAX_LINES]

Definition at line 637 of file chan_sip.c.

Referenced by find_sdp(), get_body(), get_msg_text(), get_sdp_iterate(), get_sdp_line(), and parse_request().

int lines

Body Content

Definition at line 634 of file chan_sip.c.

Referenced by add_blank(), add_content(), add_header(), finalize_content(), find_sdp(), get_body(), get_msg_text(), initialize_initreq(), parse_request(), and transmit_register().

int method

Method of this request

Definition at line 633 of file chan_sip.c.

Referenced by __sip_pretend_ack(), find_call(), get_destination(), handle_request(), handle_request_register(), handle_request_subscribe(), send_request(), send_response(), and transmit_invite().

struct { ... } next

struct sip_request* next

Definition at line 642 of file chan_sip.c.

Referenced by parse_sip_options(), process_request_queue(), and queue_request().

char* rlPart1

SIP Method Name or "SIP/2.0" protocol version

Definition at line 629 of file chan_sip.c.

Referenced by determine_firstline_parts(), and handle_request().

char* rlPart2

The Request URI or Response Status

Definition at line 630 of file chan_sip.c.

Referenced by determine_firstline_parts(), get_destination(), handle_request(), handle_request_invite(), and reqprep().

unsigned int sdp_count

the number of lines of SDP

Definition at line 641 of file chan_sip.c.

Referenced by find_sdp(), get_sdp_iterate(), and get_sdp_line().

unsigned int sdp_start

the line number where the SDP begins

Definition at line 640 of file chan_sip.c.

Referenced by find_sdp(), get_ip_and_port_from_sdp(), get_sdp_iterate(), get_sdp_line(), and process_sdp().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:09 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7