[SR-Users] Issue with UAC restore_mode when restore_dlg is enabled

jenus at cyberchaos.nl jenus at cyberchaos.nl
Tue Feb 19 08:07:59 CET 2019


Forgot to mention, i'm running kamailio 5.1.7, did not test yet with the 
latest 5.2 release.

Jan


jenus at cyberchaos.nl schreef op 2019-02-18 15:22:
> Hello,
> 
> I'm running into a issue with restore_mode auto when i enable
> restore_dlg in the uac module. I have a feature where i reroute calls
> for a subscriber when it is offline. When routing calls to the
> subscriber i check the exit status of "lookup("location")" and
> re-route the call. This works fine. It seems to fail when i hit the
> failure route (subscriber has a usrloc entry but does not respond). In
> the failure route i append_branch and reroute the call.
> 
> The rerouting works fine, but when i receive the ACK on the 200OK on
> the re-routed call the "restore" feature seems to fail and i end up
> with a header like:
> 
> To: 
> <sip:+<null>@voip-dev.domain.nl>;tag=5B8ABC8A-5C6ABE83000EBF35-AB202700
> in the ACK.
> 
> If i disable restore_dlg feature from the UAC module it adds the
> vsf/vst to the Record-Route header and all works fine.
> 
> Do i need to do something special when i create a new branch and use
> the restore_dlg feature?
> 
> 
> Thanks,
> 
> Jan Hazenberg
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list