Just chekked this, dialog records are created for the call.

Jan

Daniel-Constantin Mierla schreef op 2019-02-19 09:27:
Can you check via rpc and looking at database tables if dialog record
is there?

Cheers,
Daniel

On Tue, 19 Feb 2019, 08:44 <[email protected] wrote:

Daniel,

Yes the uac_replace_from is called from a branch route.

Jan

Daniel-Constantin Mierla schreef op 2019-02-19 08:26:
I do not recall any relevant changes recently in this part of the
code,
so likely to be same result for 5.2.

With restore_dlg set to 1, dialog variables are used for storing
the
headers. When do you call uac_replace_from()/_to()? Is it in a
branch_route?

Cheers,
Daniel

On 19.02.19 08:07, [email protected] wrote:
Forgot to mention, i'm running kamailio 5.1.7, did not test yet
with
the latest 5.2 release.

Jan


[email protected] 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
[1]>;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
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Links:
------
[1] http://voip-dev.domain.nl


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to