From 36793b730c2d21bc74c4e96cd2910be9d1b5cb3a Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 9 Nov 2006 21:32:27 +0000 Subject: Merged revisions 47391 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines Work around an issue that caused menuselect to display a bogus description for app_voicemail and chan_zap. These modules use some preprocessor directives to determine what it will report to Asterisk as its description. However, the way we extract this information from the source files for menuselect is not smart enough to figure this out. (issue #8326, #8328) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'channels') diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 6d0c9ccd2..13088f86d 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -12694,6 +12694,10 @@ static int reload(void) return 0; } +/* This is a workaround so that menuselect displays a proper description + * AST_MODULE_INFO(, , "Zapata Telephony" + */ + #ifdef ZAPATA_PRI #define tdesc "Zapata Telephony w/PRI" #else -- cgit v1.2.3