1. 2010-10-26 11:01:58.448513 [ERR] sofia_reg.c:816 Can not do authorization without a complete from header in REGISTER request from 10.248.17.109:32275
`
if (!to_user) {
to_user = from_user;
}
if (!to_host) {
to_host = from_host;
}
if (!to_user || !to_host) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can not do authorization without a complete header in REGISTER request from %s:%d\n",
network_ip, network_port);
nua_respond(nh, SIP_401_UNAUTHORIZED, NUTAG_WITH_THIS_MSG(de->data->e_msg), TAG_END());
switch_goto_int(r, 1, end);
}
来源:oschina
链接:https://my.oschina.net/u/4350643/blog/3563013