[Asterisk-cvs] asterisk/channels chan_agent.c, 1.103,
1.104 chan_mgcp.c, 1.104, 1.105 chan_modem.c, 1.33,
1.34 chan_sip.c, 1.631, 1.632 chan_skinny.c, 1.60,
1.61 chan_zap.c, 1.398, 1.399
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 15 15:48:08 CST 2005
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h, 1.71,
1.72 utils.h, 1.16, 1.17 vmodem.h, 1.12, 1.13
- Next message: [Asterisk-cvs] zaptel pciradio.c, 1.8, 1.9 tor2.c, 1.23,
1.24 torisa.c, 1.11, 1.12 wcfxo.c, 1.29, 1.30 wct1xxp.c, 1.22,
1.23 wct4xxp.c, 1.55, 1.56 wctdm.c, 1.101, 1.102 wcte11xp.c,
1.8, 1.9 zaptel.c, 1.102, 1.103 ztdummy.c, 1.7,
1.8 ztdynamic.c, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv4629/channels
Modified Files:
chan_agent.c chan_mgcp.c chan_modem.c chan_sip.c chan_skinny.c
chan_zap.c
Log Message:
Make groups be 64-bits (bug #3351, with mods)
Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- chan_agent.c 1 Jan 2005 00:57:04 -0000 1.103
+++ chan_agent.c 15 Jan 2005 21:51:37 -0000 1.104
@@ -115,7 +115,7 @@
static int capability = -1;
-static unsigned int group;
+static ast_group_t group;
static int autologoff;
static int wrapuptime;
static int ackcall;
@@ -151,7 +151,7 @@
time_t start; /* When call started */
struct timeval lastdisc; /* When last disconnected */
int wrapuptime; /* Wrapup time in ms */
- unsigned int group; /* Group memberships */
+ ast_group_t group; /* Group memberships */
int acknowledged; /* Acknowledged */
char moh[80]; /* Which music on hold */
char agent[AST_MAX_AGENT]; /* Agent ID */
@@ -1110,7 +1110,7 @@
struct agent_pvt *p;
struct ast_channel *chan = NULL;
char *s;
- unsigned int groupmatch;
+ ast_group_t groupmatch;
int waitforagent=0;
int hasagent = 0;
struct timeval tv;
@@ -1957,7 +1957,7 @@
{
struct agent_pvt *p;
char *s;
- unsigned int groupmatch;
+ ast_group_t groupmatch;
int waitforagent=0;
int res = AST_DEVICE_INVALID;
Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- chan_mgcp.c 10 Jan 2005 00:43:01 -0000 1.104
+++ chan_mgcp.c 15 Jan 2005 21:51:37 -0000 1.105
@@ -172,8 +172,8 @@
/*static int cur_signalling = -1;*/
/*static unsigned int cur_group = 0;*/
-static unsigned int cur_callergroup = 0;
-static unsigned int cur_pickupgroup = 0;
+static ast_group_t cur_callergroup = 0;
+static ast_group_t cur_pickupgroup = 0;
/* XXX Is this needed? */
/* Doesn't look like the dsp stuff for */
@@ -373,8 +373,8 @@
char mailbox[AST_MAX_EXTENSION];
char musicclass[MAX_LANGUAGE];
char curtone[80]; /* Current tone */
- unsigned int callgroup;
- unsigned int pickupgroup;
+ ast_group_t callgroup;
+ ast_group_t pickupgroup;
int callwaiting;
int transfer;
int threewaycalling;
Index: chan_modem.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_modem.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- chan_modem.c 14 Dec 2004 23:36:29 -0000 1.33
+++ chan_modem.c 15 Jan 2005 21:51:37 -0000 1.34
@@ -74,7 +74,7 @@
static char outgoingmsn[AST_MAX_EXTENSION]="";
/* Default group */
-static unsigned int cur_group = 0;
+static ast_group_t cur_group = 0;
static int usecnt =0;
@@ -790,7 +790,7 @@
struct ast_modem_pvt *p;
struct ast_channel *tmp = NULL;
char dev[80];
- unsigned int group = 0;
+ ast_group_t group = 0;
char *stringp=NULL;
strncpy(dev, (char *)data, sizeof(dev)-1);
stringp=dev;
@@ -848,11 +848,11 @@
return tmp;
}
-static unsigned int get_group(char *s)
+static ast_group_t get_group(char *s)
{
char *piece;
int start, finish,x;
- unsigned int group = 0;
+ ast_group_t group = 0;
char *copy = ast_strdupa(s);
char *stringp=NULL;
if (!copy) {
@@ -874,7 +874,7 @@
piece = strsep(&stringp, ",");
for (x=start;x<=finish;x++) {
- if ((x > 31) || (x < 0)) {
+ if ((x > 63) || (x < 0)) {
ast_log(LOG_WARNING, "Ignoring invalid group %d\n", x);
break;
}
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.631
retrieving revision 1.632
diff -u -d -r1.631 -r1.632
--- chan_sip.c 13 Jan 2005 20:26:33 -0000 1.631
+++ chan_sip.c 15 Jan 2005 21:51:37 -0000 1.632
@@ -312,8 +312,8 @@
struct ast_codec_pref prefs; /* codec prefs */
unsigned int ocseq; /* Current outgoing seqno */
unsigned int icseq; /* Current incoming seqno */
- unsigned int callgroup; /* Call group */
- unsigned int pickupgroup; /* Pickup group */
+ ast_group_t callgroup; /* Call group */
+ ast_group_t pickupgroup; /* Pickup group */
int lastinvite; /* Last Cseq of invite */
unsigned int flags; /* SIP_ flags */
int capability; /* Special capability (codec) */
@@ -433,8 +433,8 @@
char musicclass[MAX_LANGUAGE]; /* Music on Hold class */
char useragent[256]; /* User agent in SIP request */
struct ast_codec_pref prefs; /* codec prefs */
- unsigned int callgroup; /* Call group */
- unsigned int pickupgroup; /* Pickup Group */
+ ast_group_t callgroup; /* Call group */
+ ast_group_t pickupgroup; /* Pickup Group */
unsigned int flags; /* SIP_ flags */
int amaflags; /* AMA flags for billing */
int callingpres; /* Calling id presentation */
@@ -475,8 +475,8 @@
int rtptimeout;
int rtpholdtimeout;
int rtpkeepalive; /* Send RTP packets for keepalive */
- unsigned int callgroup; /* Call group */
- unsigned int pickupgroup; /* Pickup group */
+ ast_group_t callgroup; /* Call group */
+ ast_group_t pickupgroup; /* Pickup group */
struct sockaddr_in addr; /* IP address of peer */
struct in_addr mask;
Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- chan_skinny.c 19 Dec 2004 21:13:41 -0000 1.60
+++ chan_skinny.c 15 Jan 2005 21:51:37 -0000 1.61
@@ -492,8 +492,8 @@
static char cid_name[AST_MAX_EXTENSION] = "";
static char linelabel[AST_MAX_EXTENSION] ="";
static int nat = 0;
-static unsigned int cur_callergroup = 0;
-static unsigned int cur_pickupgroup = 0;
+static ast_group_t cur_callergroup = 0;
+static ast_group_t cur_pickupgroup = 0;
static int immediate = 0;
static int callwaiting = 0;
static int callreturn = 0;
@@ -642,8 +642,8 @@
char mailbox[AST_MAX_EXTENSION];
char musicclass[MAX_LANGUAGE];
int curtone; /* Current tone being played */
- unsigned int callgroup;
- unsigned int pickupgroup;
+ ast_group_t callgroup;
+ ast_group_t pickupgroup;
int callwaiting;
int transfer;
int threewaycalling;
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- chan_zap.c 11 Jan 2005 16:51:57 -0000 1.398
+++ chan_zap.c 15 Jan 2005 21:51:37 -0000 1.399
@@ -172,9 +172,9 @@
static int zaptrcallerid = 0;
static int cur_signalling = -1;
-static unsigned int cur_group = 0;
-static unsigned int cur_callergroup = 0;
-static unsigned int cur_pickupgroup = 0;
+static ast_group_t cur_group = 0;
+static ast_group_t cur_callergroup = 0;
+static ast_group_t cur_pickupgroup = 0;
static int relaxdtmf = 0;
static int immediate = 0;
@@ -489,8 +489,8 @@
int confno; /* Our conference */
int confusers; /* Who is using our conference */
int propconfno; /* Propagated conference number */
- unsigned int callgroup;
- unsigned int pickupgroup;
+ ast_group_t callgroup;
+ ast_group_t pickupgroup;
int immediate; /* Answer before getting digits? */
int channel; /* Channel Number or CRV */
int span; /* Span number */
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h, 1.71,
1.72 utils.h, 1.16, 1.17 vmodem.h, 1.12, 1.13
- Next message: [Asterisk-cvs] zaptel pciradio.c, 1.8, 1.9 tor2.c, 1.23,
1.24 torisa.c, 1.11, 1.12 wcfxo.c, 1.29, 1.30 wct1xxp.c, 1.22,
1.23 wct4xxp.c, 1.55, 1.56 wctdm.c, 1.101, 1.102 wcte11xp.c,
1.8, 1.9 zaptel.c, 1.102, 1.103 ztdummy.c, 1.7,
1.8 ztdynamic.c, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list