diff options
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 337aadc7c..1f09c9cb5 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -433,6 +433,9 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da if (the_other_channel) { unsigned char frame_data[1024]; if (condition == AST_CONTROL_CONNECTED_LINE) { + if (isoutbound) { + ast_connected_line_copy_to_caller(&the_other_channel->cid, &this_channel->connected); + } f.datalen = ast_connected_line_build_data(frame_data, sizeof(frame_data), &this_channel->connected); } else { f.datalen = ast_redirecting_build_data(frame_data, sizeof(frame_data), &this_channel->redirecting); |