Add missing ifdef-s for service maintenance message functionality
(closes issue #15614) Reported by: fabled git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
48363c16e1
commit
bab2f57316
|
@ -2465,6 +2465,7 @@ int pri_send_callrerouting_facility_exec(struct sig_pri_chan *p, enum ast_channe
|
|||
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 @@ int pri_maintenance_bservice(struct pri *pri, struct sig_pri_chan *p, int change
|
|||
|
||||
return pri_maintenance_service(pri, span, channel, changestatus);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_PRI */
|
||||
|
|
|
@ -256,6 +256,8 @@ void sig_pri_cli_show_span(int fd, int *dchannels, struct sig_pri_pri *pri);
|
|||
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 */
|
||||
|
|
Loading…
Reference in New Issue