FS-3962 --resolve

This commit is contained in:
Anthony Minessale 2012-03-01 10:00:24 -06:00
parent 7f4c35c91d
commit 5e906e8eaa
1 changed files with 1 additions and 1 deletions

View File

@ -3326,7 +3326,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
if (var_event) { if (var_event) {
switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "dialed_user", dialed_user); switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "dialed_user", dialed_user);
switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "dialed_domain", domain); switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "dialed_domain", domain);
if (!strstr(dest, "presence_id=")) { if (!zstr(dest) && !strstr(dest, "presence_id=")) {
switch_event_add_header(var_event, SWITCH_STACK_BOTTOM, "presence_id", "%s@%s", dialed_user, domain); switch_event_add_header(var_event, SWITCH_STACK_BOTTOM, "presence_id", "%s@%s", dialed_user, domain);
} }
} }