Fix blind transfer with macro
authorMark Spencer <markster@digium.com>
Fri, 11 Apr 2003 18:10:25 +0000 (18:10 +0000)
committerMark Spencer <markster@digium.com>
Fri, 11 Apr 2003 18:10:25 +0000 (18:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 7b63e06..917f3fc 100755 (executable)
@@ -4289,7 +4289,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
                                if (c) {
                                        transfer_to = c->bridge;
                                        if (transfer_to)
-                                               ast_async_goto(transfer_to,"", p->refer_to,1, 1);
+                                               ast_async_goto(transfer_to,p->context, p->refer_to,1, 1);
                                }
                        }
                        /* Always increment on a BYE */