chan_dect: adapt to upstream caller ID changes
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
1986d9de4d
commit
4a304f17f9
|
@ -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;
|
||||
|
|
Reference in New Issue