aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_dect.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-10-11 19:29:33 +0200
committerPatrick McHardy <kaber@trash.net>2011-02-26 22:06:07 +0100
commitfa13d5b6c9d59e36183d674072180793e8c5cb6f (patch)
treec042232c5e557c2291cc05f9094362899f4ebd32 /channels/chan_dect.c
parentbe6c2b706e627710897f961094895d246cb4ab49 (diff)
chan_dect: fix contents of <<SIGNAL>> IE for silent alerting
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'channels/chan_dect.c')
-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);