aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_local.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-10 23:49:57 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-10 23:49:57 +0000
commit72af60b3e6fa9af1b23524377a82330e18cca8d3 (patch)
tree4db59d5d09ba10d210876efd1cab834c716be5b0 /channels/chan_local.c
parentcbc8a4b7d2382b98f0666fd6a81ce4cca5a4fc22 (diff)
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_local.c')
-rwxr-xr-xchannels/chan_local.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index a16e07ed2..fd8c7f318 100755
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -87,18 +87,18 @@ static const struct ast_channel_tech local_tech = {
};
static struct local_pvt {
- ast_mutex_t lock; /* Channel private lock */
- char context[AST_MAX_EXTENSION]; /* Context to call */
+ ast_mutex_t lock; /* Channel private lock */
+ char context[AST_MAX_CONTEXT]; /* Context to call */
char exten[AST_MAX_EXTENSION]; /* Extension to call */
- int reqformat; /* Requested format */
- int glaredetect; /* Detect glare on hangup */
- int cancelqueue; /* Cancel queue */
- int alreadymasqed; /* Already masqueraded */
- int launchedpbx; /* Did we launch the PBX */
+ int reqformat; /* Requested format */
+ int glaredetect; /* Detect glare on hangup */
+ int cancelqueue; /* Cancel queue */
+ int alreadymasqed; /* Already masqueraded */
+ int launchedpbx; /* Did we launch the PBX */
int nooptimization;
- struct ast_channel *owner; /* Master Channel */
- struct ast_channel *chan; /* Outbound channel */
- struct local_pvt *next; /* Next entity */
+ struct ast_channel *owner; /* Master Channel */
+ struct ast_channel *chan; /* Outbound channel */
+ struct local_pvt *next; /* Next entity */
} *locals = NULL;
static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_frame *f, struct ast_channel *us)