summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 03eb7530c..d66ba7816 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -16604,18 +16604,9 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
switch(resp) {
case 100: /* 100 Trying */
case 101: /* 101 Dialog establishment */
- if (sipmethod == SIP_INVITE)
- handle_response_invite(p, resp, rest, req, seqno);
- break;
case 183: /* 183 Session Progress */
- if (sipmethod == SIP_INVITE)
- handle_response_invite(p, resp, rest, req, seqno);
- break;
case 180: /* 180 Ringing */
- if (sipmethod == SIP_INVITE)
- handle_response_invite(p, resp, rest, req, seqno);
- break;
- case 182: /* 182 Queued */
+ case 182: /* 182 Queued */
if (sipmethod == SIP_INVITE)
handle_response_invite(p, resp, rest, req, seqno);
break;