Thu Oct 11 06:45:29 2012

Asterisk developer's documentation


sip_user Struct Reference

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

Collaboration diagram for sip_user:

Collaboration graph
[legend]

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
struct ast_variablechanvars
char cid_name [80]
char cid_num [80]
char context [AST_MAX_CONTEXT]
struct ast_flags flags [2]
struct ast_haha
int inUse
char language [MAX_LANGUAGE]
int maxcallbitrate
char md5secret [80]
char mohinterpret [MAX_MUSICCLASS]
char mohsuggest [MAX_MUSICCLASS]
char name [80]
struct sip_usernext [1]
unsigned int objflags
ast_group_t pickupgroup
struct 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

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 build_user(), check_user_full(), and sip_show_user().

Definition at line 1135 of file chan_sip.c.

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

int amaflags

AMA flags for billing

Definition at line 1130 of file chan_sip.c.

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

Definition at line 1139 of file chan_sip.c.

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

Limit of concurrent calls

Definition at line 1134 of file chan_sip.c.

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

Call group

Definition at line 1126 of file chan_sip.c.

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

Calling id presentation

Definition at line 1131 of file chan_sip.c.

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

Codec capability

Definition at line 1132 of file chan_sip.c.

Referenced by build_user(), and check_user_full().

struct ast_variable* chanvars [read]

Variables to set for channel created by user

Definition at line 1137 of file chan_sip.c.

Referenced by build_user(), 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 build_user(), 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 build_user(), 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 build_user(), check_user_full(), and sip_show_user().

struct ast_flags flags[2] [read]

struct ast_ha* ha [read]

SIP Refer restriction scheme ACL setting

Definition at line 1136 of file chan_sip.c.

Referenced by build_user(), 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 build_user(), check_user_full(), and sip_show_user().

Maximum Bitrate for a video call

Definition at line 1138 of file chan_sip.c.

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

char md5secret[80]

Password in md5

Definition at line 1115 of file chan_sip.c.

Referenced by build_user(), 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 build_user(), and check_user_full().

char mohsuggest[MAX_MUSICCLASS]

Music on Hold class

Definition at line 1123 of file chan_sip.c.

Referenced by build_user(), and check_user_full().

char name[80]

Definition at line 1113 of file chan_sip.c.

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

struct sip_user* next[1] [read]

Definition at line 1113 of file chan_sip.c.

unsigned int objflags

Definition at line 1113 of file chan_sip.c.

Pickup Group

Definition at line 1127 of file chan_sip.c.

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

struct ast_codec_pref prefs [read]

codec prefs

Definition at line 1125 of file chan_sip.c.

Referenced by build_user(), 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 build_user(), 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 build_user(), and 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 Thu Oct 11 06:45:29 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6