1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 09:32:34 +00:00

FS-4049 alt patch 2

This commit is contained in:
Anthony Minessale 2012-03-28 14:51:09 -05:00
parent cf47982e0e
commit 1932f852ee

@ -2456,13 +2456,14 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
}
if (zstr(from_id)) {
from_id = switch_str_nil(switch_event_get_header(helper->event, "Caller-Callee-ID-Number"));
from_id = from_user;
}
if (zstr(from_id)) {
from_id = switch_str_nil(switch_event_get_header(helper->event, "Caller-Destination-Number"));
from_id = switch_str_nil(switch_event_get_header(helper->event, "Caller-Callee-ID-Number"));
}
if (zstr(from_id)) {
from_id = "n/a";
}