Set the invite state to INV_CANCELLED in a place that
authorMark Michelson <mmichelson@digium.com>
Fri, 7 Nov 2008 23:41:44 +0000 (23:41 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 7 Nov 2008 23:41:44 +0000 (23:41 +0000)
commit111203aed9c1ce36cd0b76ae0c9abf17666a9f97
tree9ab868bb6e2845f993cd156c6a9e7e515b836fb0
parent30d1744ffce823312d51379585e8c19f722ea4d6
Set the invite state to INV_CANCELLED in a place that
makes more sense. Where it was set before, it was impossible
to actually delay sending a CANCEL if we had not yet received
a provisional response to an INVITE.

(closes issue #13626)
Reported by: atis
Patches:
      13626.patch uploaded by putnopvut (license 60)
Tested by: atis

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