Hi David,

 

overrride_lifetime modify the "presence duration" for the dialog, early, confirmed or terminated.

 

The patch I created, modify the lifetime after the call terminates, to remove it from pua.

When the call i active, I use the lifetime of the dialog.

 

/Kristian.

 

 

On Wednesday 23 October 2013 10:09:57 David wrote:

Hello,

I may have misunderstood the thread, but why not use the override_lifetime parameter ?

http://kamailio.org/docs/modules/stable/modules/pua_dialoginfo.html#idp15277344

Would this not be easier than patching the code?

David

On 13-10-23 09:54 AM, Kristian F. Høgh wrote:

Hi,

I have send the patch directly to Toni.

I try attaching it here again for completeness, as I wasn't subscribed to the list using this email address.

/Kristian.

On Wednesday 23 October 2013 15:35:42 SIP Guru wrote:

Hi Kristian,

thank you. I'll check this. I think in some cases we are using even a higher lifetime.

Could you please send me a patch with your changes for the pua_dialoginfo module in case we run into the same issue.

Toni

 

On Tuesday 22 October 2013 13:19:01 Kristian Høgh wrote:

>Hi,

>

>I think I've got the same issue.

>At call creation we set dialog lifetime to 6 hours.

>pua_dialoginfo uses that value and send PUBLISH for each hour, even after the dialog terminates.

>After 6 hours the entry is deleted.

>

>To prevent the updates, I've made a small change to pua_dialoginfo module, which set pua-dialog timeout to 300 sec. when the dialog terminates.

>pua_dialoginfo then sends PUBLISH, which updates presence.

>

>Regards,

>Kristian Høgh

>

>

>On Monday 21 October 2013 15:21:16 SIP Guru wrote:

>> Hi,

>>

>> expired entries in pua table won't be deleted.

<> And kamailio keep sending PUBLISH's for expired entries.

>>

>> Am I missing something ?

>>

>> Toni

>>

>>

>>

>> _______________________________________________

>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

>> sr-users at lists.sip-router.org

>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

>-------------- next part --------------

>A non-text attachment was scrubbed...

>Name: publish.patch

>Type: text/x-patch

>Size: 1158 bytes

>Desc: not available

>URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131022/ddff432f/attachment.bin>





_______________________________________________SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users