]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6718 #message adding the patch
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 1 Aug 2014 16:07:53 +0000 (21:07 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 1 Aug 2014 17:57:40 +0000 (22:57 +0500)
src/mod/endpoints/mod_verto/mod_verto.c

index 4e593d402e00edcad851bdc892cbdaa3150a4cf4..1ec9c6753bd4bab0018291a560f92dbb67e14479 100644 (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 {