Removing code that wasn't supposed to be there at all, only at an experimental stage
authorOlle Johansson <oej@edvina.net>
Tue, 29 Jan 2008 08:28:43 +0000 (08:28 +0000)
committerOlle Johansson <oej@edvina.net>
Tue, 29 Jan 2008 08:28:43 +0000 (08:28 +0000)
before I found another solution. Thanks Kevin, for reminding me.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100741 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c6bcf05..ea3a27c 100644 (file)
@@ -14400,10 +14400,6 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
                                        manager_event(EVENT_FLAG_SYSTEM, "ChannelUpdate",
                                                "Channel: %s\r\nChanneltype: %s\r\nUniqueid: %s\r\nSIPcallid: %s\r\nSIPfullcontact: %s\r\nPeername: %s\r\n",
                                                p->owner->name, p->owner->uniqueid, "SIP", p->callid, p->fullcontact, p->peername);
-                               /* Set bridged channel variable */
-                               bridgepeer = ast_bridged_channel(p->owner);
-                               if (bridgepeer)
-                                       pbx_builtin_setvar_helper(bridgepeer, "SIP_BRIDGED_CALLID", p->callid);
                        } else {        /* RE-invite */
                                ast_queue_frame(p->owner, &ast_null_frame);
                        }