diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 410ef76aba..7263c7a929 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -962,12 +962,9 @@ struct sip_pvt { char lastmsg[256]; /*!< Last Message sent/received */ int amaflags; /*!< AMA Flags */ int pendinginvite; /*!< Any pending invite ? (seqno of this) */ - struct sip_request initreq; /*!< Initial request that opened the SIP dialog - ... but keeps getting overwritten, so - when we want to send a BYE or a CANCEL, - we might be totally lost and have no - record of what opened the dialog... - XXX BUG!!! XXX + struct sip_request initreq; /*!< Latest request that opened a new transaction + within this dialog. + NOT the request that opened the dialog */ int initid; /*!< Auto-congest ID if appropriate (scheduler) */