FS-6718 #message adding the patch

This commit is contained in:
Anthony Minessale 2014-08-01 21:07:53 +05:00
parent 553979a250
commit 8aa3763986
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@ static void set_call_params(cJSON *params, verto_pvt_t *tech_pvt) {
const char *caller_id_name = NULL;
const char *caller_id_number = NULL;
if (switch_channel_inbound_display(tech_pvt->channel)) {
if (switch_channel_outbound_display(tech_pvt->channel)) {
caller_id_name = switch_channel_get_variable(tech_pvt->channel, "caller_id_name");
caller_id_number = switch_channel_get_variable(tech_pvt->channel, "caller_id_number");
} else {