aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-09 08:44:50 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-09 08:44:50 +0000
commit46abbe97e48ca74be0b83e143f9ec91de3012cd2 (patch)
tree0f59c51a8ce2fb3064c944bf80bd43f2289b0662 /channels
parent5617675f5a1a190ca14fdc3591015266c2547ece (diff)
Make menuselect be able to show what the modules are
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25929 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_oss.c3
-rw-r--r--channels/chan_sip.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 8e9bbe4f3..5d6203e51 100644
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -375,10 +375,11 @@ static int oss_call(struct ast_channel *c, char *dest, int timeout);
static int oss_write(struct ast_channel *chan, struct ast_frame *f);
static int oss_indicate(struct ast_channel *chan, int cond);
static int oss_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
+static char tdesc[] = "OSS Console Channel Driver";
static const struct ast_channel_tech oss_tech = {
.type = "Console",
- .description = "OSS Console Channel Driver",
+ .description = tdesc,
.capabilities = AST_FORMAT_SLINEAR,
.requester = oss_request,
.send_digit = oss_digit,
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8bd570455..7ad5d8da2 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -202,7 +202,7 @@ static int expiry = DEFAULT_EXPIRY;
#define INITIAL_CSEQ 101 /*!< our initial sip sequence number */
-static const char desc[] = "Session Initiation Protocol (SIP)";
+static const char tdesc[] = "Session Initiation Protocol (SIP)";
static const char config[] = "sip.conf";
static const char notify_config[] = "sip_notify.conf";
static int usecnt = 0;
@@ -14084,7 +14084,7 @@ static const char *key(void)
static const char *description(void)
{
- return (char *) desc;
+ return (char *) tdesc;
}
STD_MOD(MOD_1, reload, NULL, NULL);