[asterisk-commits] moy: branch moy/mfcr2 r115325 - /team/moy/mfcr2/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 5 17:02:09 CDT 2008
Author: moy
Date: Mon May 5 17:02:09 2008
New Revision: 115325
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115325
Log:
added missing HAVE_OPENR2 that causes compilation failures when openr2 is not present
Modified:
team/moy/mfcr2/channels/chan_zap.c
Modified: team/moy/mfcr2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2/channels/chan_zap.c?view=diff&rev=115325&r1=115324&r2=115325
==============================================================================
--- team/moy/mfcr2/channels/chan_zap.c (original)
+++ team/moy/mfcr2/channels/chan_zap.c Mon May 5 17:02:09 2008
@@ -4883,11 +4883,13 @@
tone_zone_play_tone(p->subs[index].zfd, -1);
break;
case ZT_EVENT_DIALCOMPLETE:
+#ifdef HAVE_OPENR2
if ((p->sig & SIG_MFCR2) && p->r2chan && ast->_state != AST_STATE_UP) {
/* we don't need to do anything for this event for R2 signaling
if the call is being setup */
break;
}
+#endif
if (p->inalarm) break;
if ((p->radio || (p->oprmode < 0))) break;
if (ioctl(p->subs[index].zfd,ZT_DIALING,&x) == -1) {
More information about the asterisk-commits
mailing list