FS-6498 --resolve
This commit is contained in:
parent
d2c2f174e7
commit
d06b137abd
|
@ -803,12 +803,12 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||||
sipip = tech_pvt->profile->extsipip;
|
sipip = tech_pvt->profile->extsipip;
|
||||||
}
|
}
|
||||||
|
|
||||||
format = strchr(sipip, ':') ? "\"%s\" <sip:%s%s[%s]>" : "\"%s\" <sip:%s%s%s>";
|
|
||||||
|
|
||||||
if (!zstr(invite_domain)) {
|
if (!zstr(invite_domain)) {
|
||||||
sipip = invite_domain;
|
sipip = invite_domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
format = strchr(sipip, ':') ? "\"%s\" <sip:%s%s[%s]>" : "\"%s\" <sip:%s%s%s>";
|
||||||
|
|
||||||
tech_pvt->from_str = switch_core_session_sprintf(tech_pvt->session, format, cid_name, cid_num, !zstr(cid_num) ? "@" : "", sipip);
|
tech_pvt->from_str = switch_core_session_sprintf(tech_pvt->session, format, cid_name, cid_num, !zstr(cid_num) ? "@" : "", sipip);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue