Hello Daniel,
here are 2 printouts, one including the first route, for which $du is set properly, and
the second for the second route which is not set.
OK
```
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: ERROR:
<script>: [DISPATCH] 4-65982(a)192.168.1.201: ds_select_routes was succesful (ruri:
sip:*TESTCALL@proxy.domain.com - du: <sip:1.1.1.1:5080>)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: exec: ***
cfgtrace:request_route=[DISPATCH] c=[/usr/local/kamailio5/etc/kamailio/kamailio.cfg]
l=1066 a=24 n=pv_xavp_print
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f1355973fa0
((nil)) (level=0)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:547]: xavp_print_list_content(): *** (l:0 - 0x7f1355973fa0) XAVP name:
_dsctx_
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:548]: xavp_print_list_content(): XAVP id: 1427193258
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:571]: xavp_print_list_content(): XAVP value:
<xavp:0x7f1355973ef8>
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f1355973ef8
(0x7f1355973fc0) (level=1)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:547]: xavp_print_list_content(): *** (l:1 - 0x7f1355973ef8) XAVP name:
cnt
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7279890
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:555]: xavp_print_list_content(): XAVP value (int): 0
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:581]: xavp_print_list_content(): *** (l:1 - 0x7f1355973ef8) end
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:584]: xavp_print_list_content(): ----- end XAVP list: 0x7f1355973ef8
(level=1)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:581]: xavp_print_list_content(): *** (l:0 - 0x7f1355973fa0) end
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: INFO: <core>
[core/xavp.c:584]: xavp_print_list_content(): ----- end XAVP list: 0x7f1355973fa0
(level=0)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: exec: ***
cfgtrace:request_route=[DISPATCH] c=[/usr/local/kamailio5/etc/kamailio/kamailio.cfg]
l=1071 a=16 n=if
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: exec: ***
cfgtrace:request_route=[DISPATCH] c=[/usr/local/kamailio5/etc/kamailio/kamailio.cfg]
l=1076 a=26 n=xlog
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31192]: DEBUG:
<script>: [DISPATCH] 4-65982(a)192.168.1.201: going to
<sip:*TESTCALL@cuore-proxy.sandbox-sngl.com> via <sip:1.1.1.1:5080>
```
NOK
```
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: ERROR:
<script>: [DISPATCH] 5-65982(a)192.168.1.201: ds_select_routes was succesful (ruri:
sip:*TESTCALL@proxy.domain.com - du: <<null>>)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: exec: ***
cfgtrace:request_route=[DISPATCH] c=[/usr/local/kamailio5/etc/kamailio/kamailio.cfg]
l=1066 a=24 n=pv_xavp_print
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f1355978870
((nil)) (level=0)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:547]: xavp_print_list_content(): *** (l:0 - 0x7f1355978870) XAVP name:
_dsctx_
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:548]: xavp_print_list_content(): XAVP id: 1427193258
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:571]: xavp_print_list_content(): XAVP value:
<xavp:0x7f13559787c8>
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f13559787c8
(0x7f1355978890) (level=1)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:547]: xavp_print_list_content(): *** (l:1 - 0x7f13559787c8) XAVP name:
cnt
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7279890
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:555]: xavp_print_list_content(): XAVP value (int): 0
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:581]: xavp_print_list_content(): *** (l:1 - 0x7f13559787c8) end
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:584]: xavp_print_list_content(): ----- end XAVP list: 0x7f13559787c8
(level=1)
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:581]: xavp_print_list_content(): *** (l:0 - 0x7f1355978870) end
Nov 19 18:15:15 localhost /usr/local/kamailio5/sbin/kamailio[31189]: INFO: <core>
[core/xavp.c:584]: xavp_print_list_content(): ----- end XAVP list: 0x7f1355978870
(level=0)
```
Thanks for looking into this!
--
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/1728#issuecomment-439991735