603 is a busy too
authorMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 22:54:35 +0000 (22:54 +0000)
committerMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 22:54:35 +0000 (22:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2618 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 273d747..9dac442 100755 (executable)
@@ -5162,6 +5162,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
                                        break;
                                case 486: /* Busy here */
                                case 600: /* Busy everywhere */
+                               case 603: /* Decline */
                                        if (p->owner)
                                                ast_queue_control(p->owner, AST_CONTROL_BUSY, 0);
                                        break;