Mon Mar 31 17:30:14 2014

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 {
   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]
char data[SIP_MAX_PACKET]
unsigned int flags

SIP_PKT Flags for this packet

Definition at line 635 of file chan_sip.c.

char* header[SIP_MAX_HEADERS]
int headers
int len
char* line[SIP_MAX_LINES]
int lines
int method
struct { ... } next
struct sip_request* next [read]

Definition at line 642 of file chan_sip.c.

char* rlPart1

SIP Method Name or "SIP/2.0" protocol version

Definition at line 629 of file chan_sip.c.

Referenced by copy_request(), determine_firstline_parts(), handle_request(), and sipsock_read().

char* rlPart2

The Request URI or Response Status

Definition at line 630 of file chan_sip.c.

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

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 31 Mar 2014 for Asterisk - the Open Source PBX by  doxygen 1.6.1