Fix udptl issue with initial INVITE introduced by r351027
authorMatthew Jordan <mjordan@digium.com>
Tue, 17 Jan 2012 16:08:43 +0000 (16:08 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 17 Jan 2012 16:08:43 +0000 (16:08 +0000)
commitf86621eb9364fe11186d844ed1f774cb8b03c43e
treeaa564bc11505f1be18659513e7635b201870a08c
parent141dd18848277e2f49c466b057edef20824331aa
Fix udptl issue with initial INVITE introduced by r351027

When an inital INVITE occurs that contains image media, a channel
is not yet associated with the SIP dialog.  The file descriptor
associated with the udptl session needs to be set in
initialize_udptl or in sip_new to account for this scenario.
........

Merged revisions 351233 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 351234 from http://svn.asterisk.org/svn/asterisk/branches/10

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