Summary: | ASTERISK-06009: [patch] allow compilation if ZT_EVENT_RINGBEGIN is undefined | ||
Reporter: | Luigi Rizzo (rizzo) | Labels: | |
Date Opened: | 2006-01-07 04:03:18.000-0600 | Date Closed: | 2008-01-15 16:12:25.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) zap.patch | |
Description: | a recent commit used ZT_EVENT_RINGBEGIN without checking if it is defined. As i see in other places of the code, this constant was added only recently to zaptel, so systems with older versions may not have it, and in other parts of chan_zap.c the code using ZT_EVENT_RINGBEGIN is conditionally compiled. Do the same for this case as well. | ||
Comments: | By: Mark Spencer (markster) 2006-01-07 13:38:26.000-0600 Fixed in SVN trunk but I also made it so that we warn the user if we compile this way and they try to use japanese callerid, which will not be supported without that new zaptel. By: Digium Subversion (svnbot) 2008-01-15 16:12:25.000-0600 Repository: asterisk Revision: 7860 U trunk/channels/chan_zap.c ------------------------------------------------------------------------ r7860 | markster | 2008-01-15 16:12:24 -0600 (Tue, 15 Jan 2008) | 3 lines Fix build if RINGBEGIN is not defined (bug ASTERISK-6009) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=7860 |