aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_dect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_dect.c b/channels/chan_dect.c
index a7bc35d80..01e0455e7 100644
--- a/channels/chan_dect.c
+++ b/channels/chan_dect.c
@@ -1099,9 +1099,9 @@ static void dect_mncc_alert_ind(struct dect_handle *dh, struct dect_call *call,
if (strcasecmp(pattern, "silent")) {
dect_ie_init(&signal);
signal.code = DECT_SIGNAL_ALERTING_BASE | (atoi(pattern) & 0xf);
- }
- dect_mncc_info_req(dh, call, &info);
+ dect_mncc_info_req(dh, call, &info);
+ }
ast_queue_control(pvt->chan, AST_CONTROL_RINGING);
ast_setstate(pvt->chan, AST_STATE_RINGING);