Sat Aug 6 00:40:09 2011

Asterisk developer's documentation


sip_user Struct Reference

Structure for SIP user data. User's place calls to us. More...


Data Fields

ast_mutex_t _lock
char accountcode [AST_MAX_ACCOUNT_CODE]
enum transfermodes allowtransfer
int amaflags
int autoframing
int call_limit
ast_group_t callgroup
int callingpres
int capability
ast_variablechanvars
char cid_name [80]
char cid_num [80]
char context [AST_MAX_CONTEXT]
ast_flags flags [2]
ast_haha
int inUse
char language [MAX_LANGUAGE]
int maxcallbitrate
char md5secret [80]
char mohinterpret [MAX_MUSICCLASS]
char mohsuggest [MAX_MUSICCLASS]
char name [80]
sip_usernext [1]
unsigned int objflags
ast_group_t pickupgroup
ast_codec_pref prefs
unsigned int refcount
char secret [80]
unsigned int sipoptions
char subscribecontext [AST_MAX_CONTEXT]
char useragent [256]


Detailed Description

Structure for SIP user data. User's place calls to us.

Definition at line 1111 of file chan_sip.c.


Field Documentation

ast_mutex_t _lock

Definition at line 1113 of file chan_sip.c.

char accountcode[AST_MAX_ACCOUNT_CODE]

Definition at line 1120 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

enum transfermodes allowtransfer

Definition at line 1135 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int amaflags

AMA flags for billing

Definition at line 1130 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int autoframing

Definition at line 1139 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int call_limit

Limit of concurrent calls

Definition at line 1134 of file chan_sip.c.

Referenced by check_user_full(), sip_show_user(), and update_call_counter().

ast_group_t callgroup

Call group

Definition at line 1126 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int callingpres

Calling id presentation

Definition at line 1131 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int capability

Codec capability

Definition at line 1132 of file chan_sip.c.

Referenced by check_user_full().

struct ast_variable* chanvars

Variables to set for channel created by user

Definition at line 1137 of file chan_sip.c.

Referenced by check_user_full(), sip_destroy_user(), and sip_show_user().

char cid_name[80]

Caller ID name

Definition at line 1119 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

char cid_num[80]

Caller ID num

Definition at line 1118 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

char context[AST_MAX_CONTEXT]

Default context for incoming calls

Definition at line 1116 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

struct ast_flags flags[2]

SIP_ flags

Definition at line 1129 of file chan_sip.c.

Referenced by check_user_full(), and sip_destroy_user().

struct ast_ha* ha

SIP Refer restriction scheme ACL setting

Definition at line 1136 of file chan_sip.c.

Referenced by check_user_full(), sip_destroy_user(), and sip_show_user().

int inUse

Number of calls in use

Definition at line 1133 of file chan_sip.c.

Referenced by update_call_counter().

char language[MAX_LANGUAGE]

Default language for this user

Definition at line 1121 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

int maxcallbitrate

Maximum Bitrate for a video call

Definition at line 1138 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

char md5secret[80]

Password in md5

Definition at line 1115 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

char mohinterpret[MAX_MUSICCLASS]

Music on Hold class

Definition at line 1122 of file chan_sip.c.

Referenced by check_user_full().

char mohsuggest[MAX_MUSICCLASS]

Music on Hold class

Definition at line 1123 of file chan_sip.c.

Referenced by check_user_full().

char name[80]

Definition at line 1113 of file chan_sip.c.

Referenced by check_user_full(), sip_destroy_user(), and sip_show_user().

struct sip_user* next[1]

Definition at line 1113 of file chan_sip.c.

unsigned int objflags

Definition at line 1113 of file chan_sip.c.

ast_group_t pickupgroup

Pickup Group

Definition at line 1127 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

struct ast_codec_pref prefs

codec prefs

Definition at line 1125 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

unsigned int refcount

Definition at line 1113 of file chan_sip.c.

char secret[80]

Password

Definition at line 1113 of file chan_sip.c.

Referenced by check_user_full(), and sip_show_user().

unsigned int sipoptions

Supported SIP options

Definition at line 1128 of file chan_sip.c.

Referenced by check_user_full().

char subscribecontext[AST_MAX_CONTEXT]

Definition at line 1117 of file chan_sip.c.

Referenced by check_user_full().

char useragent[256]

User agent in SIP request

Definition at line 1124 of file chan_sip.c.


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