mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Create initial framework for single channel support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -192,6 +192,8 @@ static int transfer = 0;
|
|||||||
|
|
||||||
static int cancallforward = 0;
|
static int cancallforward = 0;
|
||||||
|
|
||||||
|
static int singlepath = 0;
|
||||||
|
|
||||||
static int canreinvite = CANREINVITE;
|
static int canreinvite = CANREINVITE;
|
||||||
|
|
||||||
/*static int busycount = 3;*/
|
/*static int busycount = 3;*/
|
||||||
@@ -365,6 +367,7 @@ struct mgcp_endpoint {
|
|||||||
int callwaiting;
|
int callwaiting;
|
||||||
int transfer;
|
int transfer;
|
||||||
int threewaycalling;
|
int threewaycalling;
|
||||||
|
int singlepath;
|
||||||
int cancallforward;
|
int cancallforward;
|
||||||
int canreinvite;
|
int canreinvite;
|
||||||
int callreturn;
|
int callreturn;
|
||||||
@@ -3497,6 +3500,8 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
|||||||
immediate = ast_true(v->value);
|
immediate = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "cancallforward")) {
|
} else if (!strcasecmp(v->name, "cancallforward")) {
|
||||||
cancallforward = ast_true(v->value);
|
cancallforward = ast_true(v->value);
|
||||||
|
} else if (!strcasecmp(v->name, "singlepath")) {
|
||||||
|
singlepath = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "canreinvite")) {
|
} else if (!strcasecmp(v->name, "canreinvite")) {
|
||||||
canreinvite = ast_true(v->value);
|
canreinvite = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "mailbox")) {
|
} else if (!strcasecmp(v->name, "mailbox")) {
|
||||||
@@ -3562,6 +3567,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
|||||||
e->pickupgroup=cur_pickupgroup;
|
e->pickupgroup=cur_pickupgroup;
|
||||||
e->callreturn = callreturn;
|
e->callreturn = callreturn;
|
||||||
e->cancallforward = cancallforward;
|
e->cancallforward = cancallforward;
|
||||||
|
e->singlepath = singlepath;
|
||||||
e->canreinvite = canreinvite;
|
e->canreinvite = canreinvite;
|
||||||
e->callwaiting = callwaiting;
|
e->callwaiting = callwaiting;
|
||||||
e->slowsequence = slowsequence;
|
e->slowsequence = slowsequence;
|
||||||
|
@@ -61,6 +61,7 @@
|
|||||||
;cancallforward=no
|
;cancallforward=no
|
||||||
;canreinvite=no
|
;canreinvite=no
|
||||||
;dtmfmode=inband
|
;dtmfmode=inband
|
||||||
|
;singlepath=yes ; This device only supports a single RTP path
|
||||||
;line => aaln/1
|
;line => aaln/1
|
||||||
;callerid = "Duane Cox" <456>
|
;callerid = "Duane Cox" <456>
|
||||||
;callwaiting=no
|
;callwaiting=no
|
||||||
|
Reference in New Issue
Block a user