Skip to content

Commit

Permalink
FS-5235 --resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
anthmFS committed Mar 27, 2013
1 parent 3226882 commit 18b8007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mod/endpoints/mod_sofia/sofia_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1181,15 +1181,18 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand

if (switch_stristr("transport=tls", sip->sip_contact->m_url->url_params)) {
is_tls += 1;
is_nat++;
}

if (sip->sip_contact->m_url->url_type == url_sips) {
proto = "sips";
is_tls += 2;
is_nat++;
}

if (switch_stristr("transport=tcp", sip->sip_contact->m_url->url_params)) {
is_tcp = 1;
is_nat++;
}

display = contact->m_display;
Expand Down

0 comments on commit 18b8007

Please sign in to comment.