Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:03 2007

Asterisk developer's documentation :: Codename Pineapple


sip_device_extra Struct Reference

#include <sip3.h>


Detailed Description

Extra data about a SIP device, not allocated all of the time

Definition at line 1146 of file sip3.h.

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(regexten);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromdomain);)

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
int amaflags
char cid_name [80]
char cid_num [80]
char mohinterpret [MAX_MUSICCLASS]
char mohsuggest [MAX_MUSICCLASS]
char tohost [MAXHOSTNAMELEN]


Member Function Documentation

AST_DECLARE_STRING_FIELDS AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(regexten);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromdomain);   ) 
 


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]
 

Account code

Definition at line 1154 of file sip3.h.

Referenced by _sip_show_device(), build_device(), check_user_full(), and function_sippeer().

int amaflags
 

AMA Flags (for billing)

Definition at line 1155 of file sip3.h.

Referenced by _sip_show_device(), build_device(), and check_user_full().

char cid_name[80]
 

Caller ID name

Definition at line 1157 of file sip3.h.

Referenced by _sip_show_device(), check_user_full(), function_sippeer(), set_device_cid(), and set_device_defaults().

char cid_num[80]
 

Caller ID num

Definition at line 1156 of file sip3.h.

Referenced by _sip_show_device(), check_user_full(), function_sippeer(), set_device_cid(), and set_device_defaults().

char mohinterpret[MAX_MUSICCLASS]
 

Music on Hold class

Definition at line 1158 of file sip3.h.

Referenced by build_device(), check_user_full(), create_addr_from_peer(), and set_device_defaults().

char mohsuggest[MAX_MUSICCLASS]
 

Music on Hold class

Definition at line 1159 of file sip3.h.

Referenced by build_device(), check_user_full(), create_addr_from_peer(), and set_device_defaults().

char tohost[MAXHOSTNAMELEN]
 

If not dynamic, dns domain or host name

Definition at line 1160 of file sip3.h.

Referenced by _sip_show_device(), create_addr_from_peer(), set_device_host(), sip_poke_peer(), and sip_register().


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

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen