res_pjsip_session: Add additional checks for delaying session refreshes.
authorJoshua Colp <jcolp@digium.com>
Sat, 27 Sep 2014 12:44:38 +0000 (12:44 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 27 Sep 2014 12:44:38 +0000 (12:44 +0000)
commit76744543b4dc49c57c4c48647bfec23cd9f3f911
treece4a06d12f346a97289f50120acd9ffc319ea4e6
parent3c1804eb0db5a450b1319721e8486fa537c85515
res_pjsip_session: Add additional checks for delaying session refreshes.

There are certain situations which no checks existed for which need to prevent
session refreshes. This includes sending a session refresh with SDP before SDP
negotiation has completed and sending a session refresh before the dialog itself
has been established. Checks for these have been added.

Additionally COLP related UPDATEs were including SDP when it is not needed.

Review: https://reviewboard.asterisk.org/r/4008/
........

Merged revisions 424056 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424057 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_pjsip.c
res/res_pjsip_session.c