Describe the bug

Adding expire to the contact header as a parameter and when changing network from WIFI -> 3G/4G -> WIFI contact headers gets duplicated with first one expire=500 and second one is expire=0
Lib version
Latest
*Configuration
NA
Changes
NA
Smartphone (please complete the following information):
- Device: Samsung s8+ G955U1
- OS: Latest OS
Additional context
Add any other context about the problem here.