mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Send registration info on 407 too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -4462,7 +4462,14 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ | ||||
| 					ast_log(LOG_NOTICE, "Failed to authenticate on BYE to '%s'\n", get_header(&p->initreq, "From")); | ||||
| 					p->needdestroy = 1; | ||||
| 				} | ||||
| 			} | ||||
| 			} else if (p->registry && !strcasecmp(msg, "REGISTER")) { | ||||
| 				if ((p->authtries > 1) || do_register_auth(p, req)) { | ||||
| 					ast_log(LOG_NOTICE, "Failed to authenticate on REGISTER to '%s'\n", get_header(&p->initreq, "From")); | ||||
| 					p->needdestroy = 1; | ||||
| 				} | ||||
| 			} else | ||||
| 				p->needdestroy = 1; | ||||
|  | ||||
| 			break; | ||||
| 		case 501: /* Not Implemented */ | ||||
| 			if (!strcasecmp(msg, "INVITE")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user