Use 503 for CONGESTION and 486 for BUSY

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-04-24 18:21:46 +00:00
parent 4602d19afd
commit 5987504e82
1 changed files with 2 additions and 2 deletions

View File

@ -1088,7 +1088,7 @@ static int sip_indicate(struct ast_channel *ast, int condition)
return -1;
case AST_CONTROL_BUSY:
if (ast->_state != AST_STATE_UP) {
transmit_response(p, "600 Busy everywhere", &p->initreq);
transmit_response(p, "486 Busy Here", &p->initreq);
p->alreadygone = 1;
ast_softhangup(ast, AST_SOFTHANGUP_DEV);
break;
@ -1096,7 +1096,7 @@ static int sip_indicate(struct ast_channel *ast, int condition)
return -1;
case AST_CONTROL_CONGESTION:
if (ast->_state != AST_STATE_UP) {
transmit_response(p, "486 Busy here", &p->initreq);
transmit_response(p, "503 Service Unavailable", &p->initreq);
p->alreadygone = 1;
ast_softhangup(ast, AST_SOFTHANGUP_DEV);
break;