b/f: don't continue processing after 500 reply

in case of INVITE pending
sayer/1.4-spce2.6
Stefan Sayer 16 years ago
parent fdb28ab072
commit 844caecfca

@ -97,6 +97,7 @@ void AmSipDialog::updateStatus(const AmSipRequest& req)
if ((req.method == "INVITE") && pending_invites) {
reply_error(req,500,"Server Internal Error",
"Retry-After: " + int2str(get_random() % 10) + CRLF);
return;
}
else {
pending_invites++;

Loading…
Cancel
Save