doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10602 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2162cd8e1e
commit
73d365830c
|
@ -1188,7 +1188,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||||
or did he just suggest it to make our lives miserable?
|
or did he just suggest it to make our lives miserable?
|
||||||
*/
|
*/
|
||||||
use_from_str = from_str;
|
use_from_str = from_str;
|
||||||
if (strcasecmp(tech_pvt->caller_profile->caller_id_name, "_undef_")) {
|
if (!strcasecmp(tech_pvt->caller_profile->caller_id_name, "_undef_")) {
|
||||||
from_str = switch_core_session_sprintf(session, "<%s>", use_from_str);
|
from_str = switch_core_session_sprintf(session, "<%s>", use_from_str);
|
||||||
} else {
|
} else {
|
||||||
from_str = switch_core_session_sprintf(session, "\"%s\" <%s>", tech_pvt->caller_profile->caller_id_name, use_from_str);
|
from_str = switch_core_session_sprintf(session, "\"%s\" <%s>", tech_pvt->caller_profile->caller_id_name, use_from_str);
|
||||||
|
|
Loading…
Reference in New Issue