stripped = sofia_glue_get_url_from_contact(stripped, 0);
- /* remove our params so we don't make any whiny moronic device piss it's pants and forget who it is for a half-hour */
+ /* remove our params so we don't make any whiny moronic device piss its pants and forget who it is for a half-hour */
if ((p = (char *) switch_stristr(";fs_", stripped))) {
*p = '\0';
}
if (switch_xml_locate_user_merged("id", zstr(username) ? "nobody" : username, domain_name, ip, &user, params) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't find user [%s@%s] from %s\n"
"You must define a domain called '%s' in your directory and add a user with the id=\"%s\" attribute\n"
- "and you must configure your device to use the proper domain in it's authentication credentials.\n", username, domain_name,
+ "and you must configure your device to use the proper domain in its authentication credentials.\n", username, domain_name,
ip, domain_name, username);
ret = AUTH_FORBIDDEN;
} else {
const char *type = switch_xml_attr(user, "type");
if (type && !strcasecmp(type, "pointer")) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Cant register a pointer.\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't register a pointer.\n");
ret = AUTH_FORBIDDEN;
goto end;
}