res_pjsip_registrar: Add Expires header to 200 OK if present in REGISTER.
authorJoshua Colp <jcolp@digium.com>
Sat, 21 Feb 2015 19:28:09 +0000 (19:28 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 21 Feb 2015 19:28:09 +0000 (19:28 +0000)
commit87b7060f3657f00e32d8da3673fa407157e5eebf
tree7d985b9341f4205c267ac562cea5560f7bffe621
parent283bb15c16c383f14b60a503e655b708f9ed791e
res_pjsip_registrar: Add Expires header to 200 OK if present in REGISTER.

Some implementations don't pay attention to the expires for individual contacts.
In this case they may consider the lack of an Expires header in the 200 OK as
unregistered. This change makes it so if an Expires header is present in the REGISTER
we will add one in the 200 OK.

ASTERISK-24785 #close
Reported by: Ross Beer
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_registrar.c