Sorry, 403 is "Forbidden" not "Permission Denied"
authorMark Spencer <markster@digium.com>
Mon, 21 Jun 2004 14:51:38 +0000 (14:51 +0000)
committerMark Spencer <markster@digium.com>
Mon, 21 Jun 2004 14:51:38 +0000 (14:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3259 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e774c34..cf7188c 100755 (executable)
@@ -6813,7 +6813,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
                                        if (found)
                                                transmit_response(p, "200 OK", req);
                                        else
-                                               transmit_response(p, "403 Permission Denied", req);
+                                               transmit_response(p, "403 Forbidden", req);
                                        
                                } else
                                    p->subscribed = 1;