mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
Tue May 6 17:00:59 EDT 2008 first.last@nokia.com
* nta.c: reindented patch by Mike J git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8284 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e917d5f460
commit
fb34d3835c
@ -2440,14 +2440,18 @@ void agent_recv_request(nta_agent_t *agent,
|
||||
leg_recv(leg, msg, sip, tport);
|
||||
}
|
||||
else if (!agent->sa_is_stateless && (leg = agent->sa_default_leg)) {
|
||||
if (method == sip_method_invite && agent->sa_in.proceeding->q_length >= agent->sa_max_proceeding) {
|
||||
SU_DEBUG_5(("nta: proceeding queue full for %s (%u)\n", method_name, cseq));
|
||||
if (method == sip_method_invite &&
|
||||
agent->sa_in.proceeding->q_length >= agent->sa_max_proceeding) {
|
||||
SU_DEBUG_5(("nta: proceeding queue full for %s (%u)\n",
|
||||
method_name, cseq));
|
||||
nta_msg_treply(agent, msg, SIP_503_SERVICE_UNAVAILABLE,
|
||||
NTATAG_TPORT(tport),
|
||||
TAG_END());
|
||||
return;
|
||||
} else {
|
||||
SU_DEBUG_5(("nta: %s (%u) %s\n", method_name, cseq, "going to a default leg"));
|
||||
}
|
||||
else {
|
||||
SU_DEBUG_5(("nta: %s (%u) %s\n",
|
||||
method_name, cseq, "going to a default leg"));
|
||||
leg_recv(leg, msg, sip, tport);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user