[sr-dev] uac dialog callback and kamailio restarts

Henning Westerholt hw at skalatan.de
Fri Apr 5 17:03:06 CEST 2019


Hello,

I am working right now on another difficult topic related to the usage 
of uac dialog callbacks for the usual replace from/to header logic after 
a kamailio restart.

The uac/dialog module combination works just fine - but after a kamailio 
restart the dialog callback information is lost. So this means that for 
already established dialogs no from/to replacement operations are done. 
This causes errors later on during BYE or Re-INVITE signalization.

I verified this with debug logging and can easily test this on a test 
system.

One obvious workaround is of course not use the dialog module to store 
the data inside dialog variables.

An approach to work on this problem would be to store the uac callback 
in the dialog table(s) as well, and then during kamailio startup use 
this to re-install the uac callback.

Does this approach sounds feasible? Any other ideas how to tackle this 
issue?

Thanks and regards,

Henning



More information about the sr-dev mailing list