FS-4677 --resolve

This commit is contained in:
Anthony Minessale
2012-10-02 12:22:03 -05:00
parent 2722f4da19
commit 51bdf8522a
2 changed files with 13 additions and 5 deletions
+4 -1
View File
@@ -1326,7 +1326,10 @@ static void our_sofia_event_callback(nua_event_t event,
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "full-url", "true");
}
if (sip->sip_call_id && sip->sip_call_id->i_id) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Request-Call-ID", sip->sip_call_id->i_id);
}
if (!zstr(referred_by)) {
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Request-Sender", "sofia/%s/%s", profile->name, referred_by);
}