[sr-dev] uac dialog callback and kamailio restarts

Henning Westerholt hw at skalatan.de
Wed Apr 10 08:41:58 CEST 2019


Hello,

any comments on this?

Thanks and regards,

Henning

Am 05.04.19 um 17:03 schrieb Henning Westerholt:
> 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?

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services



More information about the sr-dev mailing list