diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
commit | 72af60b3e6fa9af1b23524377a82330e18cca8d3 (patch) | |
tree | 4db59d5d09ba10d210876efd1cab834c716be5b0 /channels/chan_h323.c | |
parent | cbc8a4b7d2382b98f0666fd6a81ce4cca5a4fc22 (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_h323.c')
-rwxr-xr-x | channels/chan_h323.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 671e9e401..e306131d4 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -98,7 +98,7 @@ static const char type[] = "H323"; static const char desc[] = "The NuFone Network's Open H.323 Channel Driver"; static const char tdesc[] = "The NuFone Network's Open H.323 Channel Driver"; static const char config[] = "h323.conf"; -static char default_context[AST_MAX_EXTENSION] = "default"; +static char default_context[AST_MAX_CONTEXT] = "default"; static struct sockaddr_in bindaddr; /** H.323 configuration values */ @@ -129,7 +129,7 @@ struct oh323_pvt { int nonCodecCapability; /* non-audio capability */ int outgoing; /* Outgoing or incoming call? */ char exten[AST_MAX_EXTENSION]; /* Requested extension */ - char context[AST_MAX_EXTENSION]; /* Context where to start */ + char context[AST_MAX_CONTEXT]; /* Context where to start */ char accountcode[256]; /* Account code */ char cid_num[80]; /* Caller*id number, if available */ char cid_name[80]; /* Caller*id name, if available */ |