[Asterisk-cvs] asterisk/channels chan_sip.c,1.868,1.869

markster markster
Wed Sep 28 00:12:14 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv32431/channels

Modified Files:
	chan_sip.c 
Log Message:
486 (and friends) are really BUSY (bug #5257)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.868
retrieving revision 1.869
diff -u -d -r1.868 -r1.869
--- chan_sip.c	27 Sep 2005 02:12:36 -0000	1.868
+++ chan_sip.c	28 Sep 2005 04:08:57 -0000	1.869
@@ -9738,6 +9738,10 @@
 				case 302: /* Moved temporarily */
 				case 305: /* Use Proxy */
 					parse_moved_contact(p, req);
+					/* Fall through */
+				case 486: /* Busy here */
+				case 600: /* Busy everywhere */
+				case 603: /* Decline */
 					if (p->owner)
 						ast_queue_control(p->owner, AST_CONTROL_BUSY);
 					break;
@@ -9753,10 +9757,7 @@
 					if (p->owner)
 						snprintf(p->owner->call_forward, sizeof(p->owner->call_forward), "Local/%s@%s", p->username, p->context);
 					/* Fall through */
-				case 486: /* Busy here */
 				case 488: /* Not acceptable here - codec error */
-				case 600: /* Busy everywhere */
-				case 603: /* Decline */
 				case 480: /* Temporarily Unavailable */
 				case 404: /* Not Found */
 				case 410: /* Gone */




More information about the svn-commits mailing list