[asterisk-commits] oej: trunk r287087 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 16 11:49:32 CDT 2010
Author: oej
Date: Thu Sep 16 11:49:28 2010
New Revision: 287087
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287087
Log:
We do not handle AST_CAUSE_INTERWORKING which we set on a lot of incoming
SIP messages. Adding error based on RFC 3398 recommendations.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=287087&r1=287086&r2=287087
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Sep 16 11:49:28 2010
@@ -5727,6 +5727,8 @@
return "502 Bad Gateway";
case AST_CAUSE_BEARERCAPABILITY_NOTAVAIL: /* Can't find codec to connect to host */
return "488 Not Acceptable Here";
+ case AST_CAUSE_INTERWORKING: /* Unspecified Interworking issues */
+ return "500 Network error";
case AST_CAUSE_NOTDEFINED:
default:
More information about the asterisk-commits
mailing list