Fix bad merge from fix for issue 13867.
(closes issue #14686) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186837 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
683b53c339
commit
15893b0c7c
|
@ -5111,11 +5111,9 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
|
|||
res = update_call_counter(p, INC_CALL_RINGING);
|
||||
|
||||
if (res == -1) {
|
||||
return res;
|
||||
} else {
|
||||
ast->hangupcause = AST_CAUSE_USER_BUSY;
|
||||
return res;
|
||||
}
|
||||
|
||||
p->callingpres = ast->cid.cid_pres;
|
||||
p->jointcapability = ast_translate_available_formats(p->capability, p->prefcodec);
|
||||
p->jointnoncodeccapability = p->noncodeccapability;
|
||||
|
|
Reference in New Issue