merge from astobj2-r47450: use UNLINK to remove a packet from its queue,
authorLuigi Rizzo <rizzo@icir.org>
Mon, 13 Nov 2006 14:29:31 +0000 (14:29 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 13 Nov 2006 14:29:31 +0000 (14:29 +0000)
commit52148c96f56f856be7cb03fc3eb9dd85a6af4c01
tree3dbb2ba097caace2d53c28ea429335f9aecbc4e4
parentc26ccb97b990c0a0af45dc1a3188bdf42b9dc8a7
merge from astobj2-r47450: use UNLINK to remove a packet from its queue,
and related code rearrangement.

Approved by: oej

This could be made better if we declared

struct sip_pvt *dialpg = pkt->owner;

at the beginning of the function, and use it throughout the function.
I'll let the boss decide :)

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