git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6334 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-11-19 17:09:46 +00:00
1 parent c6bcb0a186
commit b54e340b3c
2 files changed
+8

No files matched your search

+7
View File
@@ -629,6 +629,13 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
from_str = sofia_overcome_sip_uri_weakness(session, use_from_str, NULL);
to_str = sofia_overcome_sip_uri_weakness(session, tech_pvt->dest_to, NULL);
/*
Does the "genius" who wanted SIP to be "text-based" so it was "easier to read" even use it now,
or did he just suggest it to make our lives miserable?
*/
use_from_str = from_str;
from_str = switch_core_session_sprintf(session, "\"%s\" <%s>", tech_pvt->caller_profile->caller_id_name, use_from_str);
tech_pvt->nh = nua_handle(tech_pvt->profile->nua, NULL,
NUTAG_URL(url_str),
SIPTAG_TO_STR(to_str),