Hi Daniel,
On 06/02/2011 10:24 PM, Daniel-Constantin Mierla wrote:
Hello,
I looked in the code and the expires is taken from contact header parameter if present. Maybe you can run in higher debug level and see if you can spot something in the log messages that can give a lead.
Well, the only thing which looks interesting is this:
DEBUG: registrar [save.c:496]: 1 valid contacts DEBUG: registrar [save.c:518]: 1 contacts after commit
And later:
DEBUG: registrar [reply.c:192]: created Contact HF: Contact: sip:me@10.0.0.7:2001;ob;expires=900;received="sip:1.2.3.4:3001", sip:me@1.2.3.4:3001;transport=UDP;ob;expires=900
So probably it just recognizes the second Contact (the one with the public IP and without the expires param)?
Andreas