dect
/
asterisk
Archived
13
0
Fork 0

Use 503 for CONGESTION and 486 for BUSY

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@907 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-04-24 18:21:46 +00:00
parent 1015243185
commit 9ef1373246
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;