[sr-dev] [kamailio/kamailio] tm: TMCB_REQUEST_FWDED callbacks are always executed as ROUTE_REQUEST (#2141)

Victor Seva notifications at github.com
Thu Nov 21 08:38:35 CET 2019


After applying tm patch, no error in second call to uac.replace_from:

First branch:
```
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} tm [t_fwd.c:379]: prepare_new_uac(): ++++++ calling cb TMCB_REQUEST_FWDED in BRANCH_ROUTE +++++
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} tm [t_hooks.c:258]: run_trans_callbacks_internal(): DBG: trans=0x7f5c4d1a82b0, callback type 16, id 0 entered
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} pv_headers [pv_headers.c:413]: pv_apply_headers(): xavp->name:headers.0 br_xname:headers.0 keys_count: 21
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} pv_headers [pv_headers.c:445]: pv_apply_headers(): replace_from[From]:  sip:4311002 at spce.test
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} uac [uac.c:489]: replace_from_api(): dsp=(nil) (len=0) , uri=0x7ffd6238a180 (len=21)
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} uac [replace.c:361]: replace_uri(): uri to replace [sip:testuser1002 at spce.test]
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} uac [replace.c:362]: replace_uri(): replacement uri is [sip:4311002 at spce.test]
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[0]} uac [replace.c:506]: replace_uri(): encode is=<aVBYbwMxODMSLiN6KQM7LQplW2h4fiwKMBM-> len=36
```
Second branch:
```
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} tm [t_fwd.c:379]: prepare_new_uac(): ++++++ calling cb TMCB_REQUEST_FWDED in BRANCH_ROUTE +++++
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} tm [t_hooks.c:258]: run_trans_callbacks_internal(): DBG: trans=0x7f5c4d1a82b0, callback type 16, id 0 entered
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} pv_headers [pv_headers.c:413]: pv_apply_headers(): xavp->name:headers.1 br_xname:headers.1 keys_count: 21
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} pv_headers [pv_headers.c:445]: pv_apply_headers(): replace_from[From]:  sip:4311002 at spce.test
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} uac [uac.c:489]: replace_from_api(): dsp=(nil) (len=0) , uri=0x7ffd6238a180 (len=21)
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} uac [replace.c:361]: replace_uri(): uri to replace [sip:testuser1002 at spce.test]
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} uac [replace.c:362]: replace_uri(): replacement uri is [sip:4311002 at spce.test]
Nov 21 07:52:42 spce proxy[3502]: DEBUG: {1 NGCP%invite_q_forking%///1-3785 at 127.126.0.1[1]} uac [replace.c:506]: replace_uri(): encode is=<aVBYbwMxODMSLiN6KQM7LQplW2h4fiwKMBM-> len=36
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2141#issuecomment-556959732
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191120/a558b92e/attachment.html>


More information about the sr-dev mailing list