From 4a304f17f9cf97db373212918f68ae0dc4680f90 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Sun, 25 Jul 2010 17:18:33 +0200 Subject: [PATCH] chan_dect: adapt to upstream caller ID changes Signed-off-by: Patrick McHardy --- channels/chan_dect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/chan_dect.c b/channels/chan_dect.c index 28acaca99..83e3815e2 100644 --- a/channels/chan_dect.c +++ b/channels/chan_dect.c @@ -401,8 +401,8 @@ static int dect_call(struct ast_channel *chan, char *dest, int timeout) struct dect_ie_basic_service service; /* Store CallerID for ALERTING state */ - ast_string_field_set(pvt, cid_num, chan->cid.cid_num); - ast_string_field_set(pvt, cid_name, chan->cid.cid_name); + ast_string_field_set(pvt, cid_num, chan->caller.id.number.str); + ast_string_field_set(pvt, cid_name, chan->caller.id.name.str); dect_ie_init(&service); service.class = DECT_CALL_CLASS_NORMAL;