aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-07 18:49:32 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-07 18:49:32 +0000
commit45871165fb444422887d08f8ee314cdea27e8c24 (patch)
treec8df87a26f58cb59dff307b76fa17eda3bd62973 /channels/chan_sip.c
parent6b8820b91f3ee7f0cd73579294890236ecd138f3 (diff)
remove unneeded variables (issue #5117)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6528 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 12b47af5a..a6239c5cc 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -676,7 +676,6 @@ struct sip_user {
int capability; /* Codec capability */
int inUse; /* Number of calls in use */
int call_limit; /* Limit of concurrent calls */
- int outUse; /* disabled */
struct ast_ha *ha; /* ACL setting */
struct ast_variable *chanvars; /* Variables to set for channel created by user */
};
@@ -703,7 +702,6 @@ struct sip_peer {
int callingpres; /* Calling id presentation */
int inUse; /* Number of calls in use */
int call_limit; /* Limit of concurrent calls */
- int outUse; /* disabled */
char vmexten[AST_MAX_EXTENSION]; /* Dialplan extension for MWI notify message*/
char mailbox[AST_MAX_EXTENSION]; /* Mailbox setting for MWI checks */
char language[MAX_LANGUAGE]; /* Default language for prompts */
@@ -11047,9 +11045,6 @@ static struct sip_user *build_user(const char *name, struct ast_variable *v, int
ast_copy_string(user->name, name, sizeof(user->name));
oldha = user->ha;
user->ha = NULL;
- /* set the usage flag to a sane staring value*/
- user->inUse = 0;
- user->outUse = 0;
ast_copy_flags(user, &global_flags,
SIP_PROMISCREDIR | SIP_TRUSTRPID | SIP_USECLIENTCODE | SIP_DTMF | SIP_NAT |
SIP_REINVITE | SIP_INSECURE_PORT | SIP_INSECURE_INVITE | SIP_PROG_INBAND | SIP_OSPAUTH);