FS-6164 I can see from this jira that this should be strcasecmp so SIP or sip are caught
This commit is contained in:
parent
c679d98eb7
commit
8bf70dcf47
|
@ -1835,7 +1835,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||
char ref_to[1024] = "";
|
||||
const char *var;
|
||||
|
||||
if (!strstr(msg->string_arg, "sip:")) {
|
||||
if (!strcasecmp(msg->string_arg, "sip:")) {
|
||||
const char *format = strchr(tech_pvt->profile->sipip, ':') ? "sip:%s@[%s]" : "sip:%s@%s";
|
||||
switch_snprintf(ref_to, sizeof(ref_to), format, msg->string_arg, tech_pvt->profile->sipip);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue