[asterisk-commits] jpeeler: trunk r209619 - in /trunk/channels: sig_pri.c sig_pri.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 30 18:31:46 CDT 2009
Author: jpeeler
Date: Thu Jul 30 18:31:41 2009
New Revision: 209619
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=209619
Log:
Add missing ifdef-s for service maintenance message functionality
(closes issue #15614)
Reported by: fabled
Modified:
trunk/channels/sig_pri.c
trunk/channels/sig_pri.h
Modified: trunk/channels/sig_pri.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/sig_pri.c?view=diff&rev=209619&r1=209618&r2=209619
==============================================================================
--- trunk/channels/sig_pri.c (original)
+++ trunk/channels/sig_pri.c Thu Jul 30 18:31:41 2009
@@ -2465,6 +2465,7 @@
return res;
}
+#ifdef HAVE_PRI_SERVICE_MESSAGES
int pri_maintenance_bservice(struct pri *pri, struct sig_pri_chan *p, int changestatus)
{
int channel = PVT_TO_CHANNEL(p);
@@ -2472,5 +2473,6 @@
return pri_maintenance_service(pri, span, channel, changestatus);
}
+#endif
#endif /* HAVE_PRI */
Modified: trunk/channels/sig_pri.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/sig_pri.h?view=diff&rev=209619&r1=209618&r2=209619
==============================================================================
--- trunk/channels/sig_pri.h (original)
+++ trunk/channels/sig_pri.h Thu Jul 30 18:31:41 2009
@@ -256,6 +256,8 @@
int pri_send_keypad_facility_exec(struct sig_pri_chan *p, const char *digits);
int pri_send_callrerouting_facility_exec(struct sig_pri_chan *p, enum ast_channel_state chanstate, const char *destination, const char *original, const char *reason);
+#ifdef HAVE_PRI_SERVICE_MESSAGES
int pri_maintenance_bservice(struct pri *pri, struct sig_pri_chan *p, int changestatus);
+#endif
#endif /* _SIG_PRI_H */
More information about the asterisk-commits
mailing list