missing port

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10564 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-01 23:10:15 +00:00
parent db94cdd79a
commit 12d4d4ae0d
1 changed files with 2 additions and 2 deletions

View File

@ -1165,8 +1165,8 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "",
tech_pvt->profile->tls_sip_port);
} else {
tech_pvt->invite_contact = switch_core_session_sprintf(session, "sip:%s@%s%s%s", contact,
ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "");
tech_pvt->invite_contact = switch_core_session_sprintf(session, "sip:%s@%s%s%s:%d", contact,
ipv6 ? "[" : "", ip_addr, ipv6 ? "]" : "", tech_pvt->profile->sip_port);
}
} else {
if (sofia_glue_transport_has_tls(tech_pvt->transport)) {