4569 tweaks

This commit is contained in:
Anthony Minessale 2012-07-26 21:07:10 -05:00
parent 772f60d235
commit 034d3741c1

View File

@ -1222,10 +1222,10 @@ static void our_sofia_event_callback(nua_event_t event,
refer_to = sip_header_as_string(nua_handle_home(nh), (void *) sip->sip_refer_to);
if ((params = strchr(refer_to, ';'))) {
if (*refer_to == '<') {
*params++ = '\0';
} else {
if (strchr(refer_to, '<')) {
*params++ = '>';
} else {
*params++ = '\0';
}
if (!(method = switch_find_parameter(params, "method", NULL))) {