[SR-Users] Incorrect registrar Expires handling

Andreas Granig agranig at sipwise.com
Thu Jun 2 22:49:07 CEST 2011


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 at 10.0.0.7:2001;ob>;expires=900;received="sip:1.2.3.4:3001",
<sip:me at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110602/545de3f4/attachment.pgp>


More information about the sr-users mailing list