send the name and number in the right order

This commit is contained in:
Brian West 2012-04-13 15:33:37 -05:00
parent ab0736127a
commit 1454cdf15a
1 changed files with 1 additions and 1 deletions

View File

@ -1547,7 +1547,7 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t
char cid_buf[1024] = "";
if (switch_channel_ready(channel)) {
switch_snprintf(cid_buf, sizeof(cid_buf), "%s|%s", cbt->cid_number, cbt->cid_name);
switch_snprintf(cid_buf, sizeof(cid_buf), "%s|%s", cbt->cid_name, cbt->cid_number);
msg.from = __FILE__;
msg.string_arg = cid_buf;