[svn-commits] oej: branch oej/teapot-1.8 r402888 - /team/oej/teapot-1.8/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 19 05:24:23 CST 2013
Author: oej
Date: Tue Nov 19 05:24:17 2013
New Revision: 402888
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402888
Log:
Everyone can change their ways. Me too.
Modified:
team/oej/teapot-1.8/channels/chan_sip.c
Modified: team/oej/teapot-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/channels/chan_sip.c?view=diff&rev=402888&r1=402887&r2=402888
==============================================================================
--- team/oej/teapot-1.8/channels/chan_sip.c (original)
+++ team/oej/teapot-1.8/channels/chan_sip.c Tue Nov 19 05:24:17 2013
@@ -21221,14 +21221,6 @@
sip_queue_hangup_cause(p, hangup_sip2cause(resp));
}
break;
- case 400: /* Bad request */
- case 414: /* Bad request URI */
- case 493: /* Undecipherable */
- stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
- if (p->owner && !req->ignore) {
- sip_queue_hangup_cause(p, hangup_sip2cause(resp));
- }
- break;
case 481: /* Call leg does not exist */
/* Could be REFER caused INVITE with replaces */
@@ -22187,15 +22179,6 @@
handle_response_invite(p, resp, rest, req, seqno);
else
ast_log(LOG_WARNING, "Host '%s' does not implement '%s'\n", ast_sockaddr_stringify(&p->sa), msg);
- break;
- case 400: /* Bad Request */
- case 414: /* Request URI too long */
- case 493: /* Undecipherable */
- if (sipmethod == SIP_INVITE) {
- handle_response_invite(p, resp, rest, req, seqno);
- }Â else {
- ast_log(LOG_WARNING, "Bad request to '%s': '%s'\n", ast_sockaddr_stringify(&p->sa), msg);
- }
break;
default:
if ((resp >= 300) && (resp < 700)) {
More information about the svn-commits
mailing list