[SR-Users] Incorrect registrar Expires handling

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 3 00:10:11 CEST 2011


Hello,

one more thing, what is the output of kamctl ul show? I want to see if 
it is a matter of building the contact header for reply or is in 
internal list of location records.

Cheers,
Daniel

On 6/2/11 10:49 PM, Andreas Granig wrote:
> 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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list