[SR-Users] Kamailio dialog termination

Grant Bagdasarian GB at cm.nl
Mon Apr 22 10:55:03 CEST 2013


Hello,

Using the dialog module. According to the documentation a dialog is automatically destroyed when a BYE is received. In case of no BYE, the dialog lifetime is controlled via the default timeout.

I'm assuming the dialog module only creates a dialog when a 200 OK is received on the INVITE. So if a CANCEL request is sent for this INVITE or the server answers with anything but a 200 OK, no dialog is created and maintained by the dialog module?

Also, when the dialog is terminated, is it guaranteed the dialog entry is removed from memory at all times, but there might be a chance the dialog remains stored in the database table because of some error? I'm using the dialog module to control the number of calls allowed to a certain destination, but it sometimes does occur that an entry in the database is not removed, but I'm not sure if the dialog is also removed from memory when this happens.

I hope someone could clear this out for me.

Thanks,

Grant


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/20e2c6cf/attachment.htm>


More information about the sr-users mailing list