Partially reverted the commit 81ac55bfd40d6fc04dfe3ac97db4ed6359a6d6be
commitf1403551473a90b53dc80449232cfc86dd3e6fbe
authorAnibal Avelar <avelar@gmail.com>
Mon, 25 May 2009 21:47:01 +0000 (25 16:47 -0500)
committerAnibal Avelar <avelar@gmail.com>
Mon, 25 May 2009 21:47:01 +0000 (25 16:47 -0500)
tree03a58dd8c76a8e6fd4f8c5a80dd32e2c994c14b1
parent39fb17df34457ebb4df070e8f7fa69d664de7f4e
Partially reverted the commit 81ac55bfd40d6fc04dfe3ac97db4ed6359a6d6be
The Expires header coming in the initail subscription gives us the correct
value to schedule the resubscription.
So we don't need to parse the subscription-state header, because only works for
give us the remaining time for each subscription.
But how the batched subscription process back only one answer for many contacts
we need to split in two parts: for single and batched subscription contacts respectively.

Also were commented the extra headers in INVITE, including them sometimes the
server backs the 500 Server Internal Error. I will check this problem.
src/sipe.c