|
|
@ -111,8 +111,8 @@ struct gtalk_pvt {
|
|
|
|
time_t laststun;
|
|
|
|
time_t laststun;
|
|
|
|
struct gtalk *parent; /*!< Parent client */
|
|
|
|
struct gtalk *parent; /*!< Parent client */
|
|
|
|
char sid[100];
|
|
|
|
char sid[100];
|
|
|
|
char us[100];
|
|
|
|
char us[AJI_MAX_JIDLEN];
|
|
|
|
char them[100];
|
|
|
|
char them[AJI_MAX_JIDLEN];
|
|
|
|
char ring[10]; /*!< Message ID of ring */
|
|
|
|
char ring[10]; /*!< Message ID of ring */
|
|
|
|
iksrule *ringrule; /*!< Rule for matching RING request */
|
|
|
|
iksrule *ringrule; /*!< Rule for matching RING request */
|
|
|
|
int initiator; /*!< If we're the initiator */
|
|
|
|
int initiator; /*!< If we're the initiator */
|
|
|
@ -154,8 +154,8 @@ struct gtalk {
|
|
|
|
struct gtalk_pvt *p;
|
|
|
|
struct gtalk_pvt *p;
|
|
|
|
struct ast_codec_pref prefs;
|
|
|
|
struct ast_codec_pref prefs;
|
|
|
|
int amaflags; /*!< AMA Flags */
|
|
|
|
int amaflags; /*!< AMA Flags */
|
|
|
|
char user[100];
|
|
|
|
char user[AJI_MAX_JIDLEN];
|
|
|
|
char context[100];
|
|
|
|
char context[AST_MAX_CONTEXT];
|
|
|
|
char accountcode[AST_MAX_ACCOUNT_CODE]; /*!< Account code */
|
|
|
|
char accountcode[AST_MAX_ACCOUNT_CODE]; /*!< Account code */
|
|
|
|
int capability;
|
|
|
|
int capability;
|
|
|
|
ast_group_t callgroup; /*!< Call group */
|
|
|
|
ast_group_t callgroup; /*!< Call group */
|
|
|
@ -1567,7 +1567,7 @@ static int gtalk_show_channels(int fd, int argc, char **argv)
|
|
|
|
struct gtalk_pvt *p;
|
|
|
|
struct gtalk_pvt *p;
|
|
|
|
struct ast_channel *chan;
|
|
|
|
struct ast_channel *chan;
|
|
|
|
int numchans = 0;
|
|
|
|
int numchans = 0;
|
|
|
|
char them[100];
|
|
|
|
char them[AJI_MAX_JIDLEN];
|
|
|
|
char *jid = NULL;
|
|
|
|
char *jid = NULL;
|
|
|
|
char *resource = NULL;
|
|
|
|
char *resource = NULL;
|
|
|
|
|
|
|
|
|
|
|
@ -1758,7 +1758,7 @@ static int gtalk_load_config(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *cat = NULL;
|
|
|
|
char *cat = NULL;
|
|
|
|
struct ast_config *cfg = NULL;
|
|
|
|
struct ast_config *cfg = NULL;
|
|
|
|
char context[100];
|
|
|
|
char context[AST_MAX_CONTEXT];
|
|
|
|
int allowguest = 1;
|
|
|
|
int allowguest = 1;
|
|
|
|
struct ast_variable *var;
|
|
|
|
struct ast_variable *var;
|
|
|
|
struct gtalk *member;
|
|
|
|
struct gtalk *member;
|
|
|
|