freetdm/openzap: log when callwaiting feature is enabled

This commit is contained in:
Moises Silva committed 2010-06-11 16:14:26 -04:00
1 parent 3fbd9e2150
commit 29679dc194
2 files changed
+2

No files matched your search

@@ -181,6 +181,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(zap_analog_configure_span)
if (callwaiting) {
for (i = 1; i <= span->chan_count; i++) {
zap_log(ZAP_LOG_DEBUG, "Enabling call waiting for channel %d:%d\n", span->channels[i]->span_id, span->channels[i]->chan_id);
zap_channel_set_feature(span->channels[i], ZAP_CHANNEL_FEATURE_CALLWAITING);
}
}