[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.68,1.69
markster at lists.digium.com
markster at lists.digium.com
Mon Aug 2 00:46:35 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv28578/channels
Modified Files:
chan_mgcp.c
Log Message:
Create initial framework for single channel support
Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- chan_mgcp.c 1 Aug 2004 21:25:35 -0000 1.68
+++ chan_mgcp.c 2 Aug 2004 04:32:37 -0000 1.69
@@ -192,6 +192,8 @@
static int cancallforward = 0;
+static int singlepath = 0;
+
static int canreinvite = CANREINVITE;
/*static int busycount = 3;*/
@@ -365,6 +367,7 @@
int callwaiting;
int transfer;
int threewaycalling;
+ int singlepath;
int cancallforward;
int canreinvite;
int callreturn;
@@ -3497,6 +3500,8 @@
immediate = ast_true(v->value);
} else if (!strcasecmp(v->name, "cancallforward")) {
cancallforward = ast_true(v->value);
+ } else if (!strcasecmp(v->name, "singlepath")) {
+ singlepath = ast_true(v->value);
} else if (!strcasecmp(v->name, "canreinvite")) {
canreinvite = ast_true(v->value);
} else if (!strcasecmp(v->name, "mailbox")) {
@@ -3562,6 +3567,7 @@
e->pickupgroup=cur_pickupgroup;
e->callreturn = callreturn;
e->cancallforward = cancallforward;
+ e->singlepath = singlepath;
e->canreinvite = canreinvite;
e->callwaiting = callwaiting;
e->slowsequence = slowsequence;
More information about the svn-commits
mailing list