I found in dialog/dlg_handlers.c line 190 : it's build a new dialog struct but does not fill lifetime.
I added a line to fill it using get_dlg_timeout, and it's now working, without setting up override_lifetime !
 
What do you think ?
 
Regards,
 
Eric.
 
 


 
2009/3/4 Eric PTAK <eric.ptak.fr@gmail.com>
 
2009/3/4 Daniel-Constantin Mierla <miconda@gmail.com>
It was clear from logs that pua does not send the PUBLISH, because of expire=0. 
Now I am wondering how un-PUBLISH (delete the tuple) could happen if the pua does not send publish with expire=0.
 
 
May PUA refuses expires=0 only for the first PUBLISH ? If yes, the unPUBLISH is working.
 
Back to the original issue and cause, why the dialog struct has his lifetime set to 0 ?
Even if it work by setting up override_lifetime, there may have an error somewhere ?
 
 
Cheers,
Daniel
 
Regards,
 
Eric.