Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30379/channels

Modified Files:
        chan_sip.c 
Log Message:
remove unneeded variables (issue #5117)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.839
retrieving revision 1.840
diff -u -d -r1.839 -r1.840
--- chan_sip.c  7 Sep 2005 04:23:15 -0000       1.839
+++ chan_sip.c  7 Sep 2005 18:49:32 -0000       1.840
@@ -676,7 +676,6 @@
        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 @@
        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 @@
        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);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to