<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi!
<div><br /></div>
<div>Yes, will try to build latest master ASAP</div>
<div><br /></div>
<div>But yes, in summary it’s like this</div>
<div><br /></div>
<div>In failure_route if you call </div>
<div><font color="#333333">ds_select_dst() with round_robin algo sequential it will bring you same $du no matter on number of ds_select_dst() calls</font><br /></div>
<div><font color="#333333"><br /></font></div>
<div><font color="#333333">If you call ds_next_dst() right after </font><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51);">ds_select_dst() it will give a warning </span></div>
<div><span style="color: rgb(51, 51, 51);">WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field</span><br /></div>
<div><span style="color: rgb(51, 51, 51);">no matter of what</span></div>
<div><span style="color: rgb(51, 51, 51);"><br /></span></div>
<div><span style="color: rgb(51, 51, 51);"><br /></span></div>
<div><font color="#333333">Right now I<span style="caret-color: rgb(51, 51, 51);">’</span>m dealing with this situation like in failure_route calling ds_mark_dst() and relaying again to same non-working dst, BUT when com to same failure_route and calling ds_select_dst(), non-working destination already marked. A small loop, but working for now.</font></div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">On Sep 3, 2018, 9:25 AM +0200, Daniel-Constantin Mierla <miconda@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<p>Hello,</p>
<p>trying to summarize what you tried, because you say you do both:</p>
<p>ds_select_dst(...);</p>
<p>ds_next_dst();</p>
<p>in failure_route.</p>
<p>But if you do ds_select_dst(), then you already get the address of the gateway in the sip message structure, no need to call ds_next_dst(). Actually, if you do ds_next_dst() immediately after ds_select_dst(...), then practically you want to enforce second address selected for routing. Is this what you want to achieve?</p>
<p>To troubleshoot the warning message that uri xavp is not found, can you send logs with debug=3 and after each ds_select_dst(...) or ds_next_dst() add pv_xavp_print() to get the list of xavps? Use the latest master, I just pushed some commits that added more debug messages that should help troubleshooting better.</p>
<p>Cheers,<br />
Daniel<br /></p>
<br />
<div class="moz-cite-prefix">On 03.09.18 08:44, Igor Olhovskiy wrote:<br /></div>
<blockquote type="cite" cite="mid:1e2e4bce-83d4-4d3c-9ab7-7e7d88eab7d2@Spark" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Can’t use 5.1 in my case, cause some of the features I’m ties to is only in 5.2 branch.
<div>Anyway, I will check some other options, maybe move from dispatcher at all to some own-crafted solution.
<div><br /></div>
</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">On Sep 2, 2018, 6:09 PM +0200, Joel Serrano <a class="moz-txt-link-rfc2396E" href="mailto:joel@textplus.com"><joel@textplus.com></a>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">
<div>
<div dir="auto">I just checked line 2285 in the code and it references the exact commit were avps changed to xavps. </div>
</div>
<div dir="auto"><br /></div>
<div dir="auto">I would definitely try 5.1 and open an issue in github. </div>
<div dir="auto"><br /></div>
<div dir="auto">Can you post your relevant config related to this in case something is just wrong there? (Both the request and failed route parts)</div>
<div><br />
<div class="gmail_quote">
<div dir="ltr">On Sun, Sep 2, 2018 at 08:07 Joel Serrano <<a href="mailto:joel@textplus.com" moz-do-not-send="true">joel@textplus.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #d35400;">
<div>
<div dir="auto">Hi </div>
</div>
<div dir="auto"><br /></div>
<div dir="auto">I think dispatcher changed from avps vars to xavps vars in master (5.2). </div>
<div dir="auto"><br /></div>
<div dir="auto">Can you try on latest stable (5.1) using avps instead just in case...?</div>
<div dir="auto"><br /></div>
<div dir="auto">Also, can you print in the logs the xavp_avp var you set in the modparam?</div>
<div dir="auto"><br /></div>
<div dir="auto"><br /></div>
<div>
<div class="gmail_quote">
<div dir="ltr">On Sun, Sep 2, 2018 at 00:28 Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com" target="_blank" moz-do-not-send="true">igorolhovskiy@gmail.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #34495e;">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">An example could be like this
<div><br /></div>
<div>3 nodes (A, B, C)</div>
<div><br /></div>
<div>INVITE 1 -> ds_select_dst() -> Node A</div>
<div>INVITE 2 -> ds_select_dst() -> Node A</div>
<div>A dies</div>
<div>B replaced</div>
<div>C replaced</div>
<div> - external calls dispatcher.reload with new node list A (yes, died state), E, F</div>
<div>INVITE 1 -> failure_route, ds_mark_dst() as Disabled</div>
<div> but with ds_next_dst() does not know anything about E or F, and B and C already out of order.</div>
<div>So, my solution is again call ds_select_dst() in failure_route, but it can return Node A (which is dead and I know it already). So, I’m trying to select next node, with ds_next_dst() to select Node E, but calling this command gives me </div>
<div><font color="#333333">WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field</font><br /></div>
<div><br /></div>
</div>
<div name="messageSignatureSection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br />
Regards, Igor</div>
</div>
<div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">On Sep 1, 2018, 9:06 PM +0200, Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank" moz-do-not-send="true">joel@textplus.com</a>>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #2ecc71;">
<div dir="ltr">
<div>
<div dir="auto">If it brings the failed it’s because when it was marked as disabled that node was already in the list, so it will fail and hit the failure route again and move to next node. </div>
</div>
<div dir="auto"><br /></div>
<div dir="auto">The next call of ds_select_dst (in request route) will populate a list without disabled nodes, etc. </div>
<div dir="auto"><br /></div>
<div dir="auto">To summarize:</div>
<div dir="auto"><br /></div>
<div dir="auto">- In request route call ds_select_dst()</div>
<div dir="auto">- if it fails, in failed_route call ds_mark_dst() and then ds_next_dst()</div>
<div dir="auto"><br /></div>
<div>Example:</div>
<div><br /></div>
<div>...to keep it easy to understand, let's pretend that dispatcher doesn't load balance and just failsover, let's say you have a ds group of nodes A, B and C...</div>
<div><br /></div>
<div>- INVITE 1 received. ds_select_dst() (the list contains A, B, C). $du=A</div>
<div>- INVITE 2 received. <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ds_select_dst() (the list contains A, B, C). <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">$du=A</span></span></div>
<div>- A dies.</div>
<div>- INVITE 1 in failure route, A is maked as disabled, <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ds_next_dst() (updated list contains B and C). $du=B</span></div>
<div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- INVITE 3 received, <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ds_select_dst() (the list contains B, C). $du=B</span></span></div>
<div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- INVITE 2 in failure route, A is already marked as disabled, <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ds_next_dst() (updated list contains B and C). $du=B</span></span></div>
<div>- ...people talk via server B because A failed...</div>
<div><br /></div>
<div>So really you would only send calls that populated the dispather list before dying, after that the next calls wouldn't even try to hit that server.</div>
<div><br /></div>
<div>Can you give some more details on what kind of failover you are trying to achieve?</div>
<div><br /></div>
<div>Joel.</div>
<div><br />
<div class="gmail_quote">
<div dir="ltr">On Sat, Sep 1, 2018 at 11:06 Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com" target="_blank" moz-do-not-send="true">igorolhovskiy@gmail.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #9b59b6;">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Hi!
<div>I’ve used </div>
<div>ds_select_dst() and ds_next_dst() one after another in failure route. </div>
<div>If use in request/failure it’s working ok.</div>
<div><br /></div>
<div>But again, during the failover in my environment dispatcher list can change. And I don’t want to rely on ds_next_dst() cause it can bring me absent node. </div>
<div>So, I’ve been thinking of use xavp variable to get data from it, but still can’t get it to work.</div>
</div>
<div name="messageSignatureSection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br />
Regards, Igor</div>
</div>
<div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">On Sep 1, 2018, 4:33 PM +0200, Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank" moz-do-not-send="true">joel@textplus.com</a>>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e74c3c;">
<div>
<div dir="auto">I think you are confused between:</div>
</div>
<div dir="auto"><br /></div>
<div dir="auto">ds_select_dst() = get a node from the dispatcher group based on weight and priority. Use in request_route. </div>
<div dir="auto"><br /></div>
<div dir="auto">ds_next_dst() = get the next node from the list previously created with ds_select_dst(). Use this in failure_route. </div>
<div dir="auto"><br /></div>
<div dir="auto">Give it a try and let us know. </div>
<div><br />
<div class="gmail_quote">
<div dir="ltr">On Sat, Sep 1, 2018 at 00:27 Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com" target="_blank" moz-do-not-send="true">igorolhovskiy@gmail.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Is there any way to select not first destination from ds_select_dst()?
<div>Could not find any way to do this...</div>
</div>
<div name="messageSignatureSection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br />
Regards, Igor</div>
</div>
<div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">On Sep 1, 2018, 12:13 AM +0200, Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank" moz-do-not-send="true">joel@textplus.com</a>>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Sorry, hit sent too soon.
<div><br /></div>
<div>I meant ds_next_dst() or ds_next_domain():</div>
<div><br /></div>
<div><a href="https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html#idp44172212" target="_blank" moz-do-not-send="true">https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html#idp44172212</a><br /></div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Fri, Aug 31, 2018 at 3:06 PM, Joel Serrano <span dir="ltr"><<a href="mailto:joel@textplus.com" target="_blank" moz-do-not-send="true">joel@textplus.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">
<div>
<div dir="auto">Try with ds_select_next() in failure_route[]</div>
</div>
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909HOEnZb">
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909h5">
<div dir="auto"><br /></div>
<div>
<div class="gmail_quote">
<div dir="ltr">On Fri, Aug 31, 2018 at 06:17 Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com" target="_blank" moz-do-not-send="true">igorolhovskiy@gmail.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #d35400;">
<div dir="ltr">
<div dir="ltr">Tried other way round
<div>All of this is happening in FAILURE ROUTE.</div>
<div><br /></div>
<div>
<div>ds_mark_dst("d");</div>
<div>ds_select_dst("1", "0")</div>
<div><br /></div>
<div>But ds_select_dst still selecting for me gateway already marked with "d" on previous step. Seems, it applying states after packet sent. And any other way I can select new dst from set?</div>
<div><br /></div>
<div> Idea why I'm using ds_select_dst in FAILURE_ROUTE and not ds_next_dst() that during failover timer dispatcher list could change (yes, it could be extensive process) and I want to use most fresh version.</div>
</div>
</div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">2018-08-31 13:05 GMT+02:00 Igor Olhovskiy <span dir="ltr"><<a href="mailto:igorolhovskiy@gmail.com" target="_blank" moz-do-not-send="true">igorolhovskiy@gmail.com</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #34495e;">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Made a pv_xavp_print() afrer ds_select_dst</div>
<div><br /></div>
<div>Seems both destinations are there. </div>
<div><br /></div>
<div><br /></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc835288 (level=0)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dsctx_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 1427193258</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc834ed8></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc834ed8 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: cnt</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7279890</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc834ed8 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dispacher_dst_list_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 508490514</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc834d78></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc834d78 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: grp</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7056653</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: uri</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 8122237</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:558]: xavp_print_list_content(): XAVP value: sip:<a href="http://172.28.0.12:5060" target="_blank" moz-do-not-send="true">172.28.0.12:5060</a></div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc834d78 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dispacher_dst_list_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 508490514</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc834f80></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc834f80 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: grp</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7056653</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: uri</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 8122237</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:558]: xavp_print_list_content(): XAVP value: sip:<a href="http://172.28.0.19:5060" target="_blank" moz-do-not-send="true">172.28.0.19:5060</a></div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc834f80 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dsctx_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 1427193258</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc833db0></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc833db0 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: cnt</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7279890</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc833db0 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dispacher_dst_list_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 508490514</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc833b80></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc833b80 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: grp</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7056653</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: uri</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 8122237</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:558]: xavp_print_list_content(): XAVP value: sip:<a href="http://172.28.0.19:5060" target="_blank" moz-do-not-send="true">172.28.0.19:5060</a></div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc833b80 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dispacher_dst_list_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 508490514</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc833960></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc833960 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: grp</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7056653</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: uri</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 8122237</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:558]: xavp_print_list_content(): XAVP value: sip:<a href="http://172.28.0.12:5060" target="_blank" moz-do-not-send="true">172.28.0.12:5060</a></div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc833960 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dsctx_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 1427193258</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc835670></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc835670 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: cnt</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7279890</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc835670 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: _dispacher_dst_list_</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 508490514</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 6</div>
<div>13(23) INFO: <core> [core/xavp.c:571]: xavp_print_list_content(): XAVP value: <xavp:0x7f8bfc833580></div>
<div>13(23) INFO: <core> [core/xavp.c:543]: xavp_print_list_content(): +++++ start XAVP list: 0x7f8bfc833580 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: grp</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 7056653</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 1</div>
<div>13(23) INFO: <core> [core/xavp.c:555]: xavp_print_list_content(): XAVP value: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:547]: xavp_print_list_content(): *** XAVP name: uri</div>
<div>13(23) INFO: <core> [core/xavp.c:548]: xavp_print_list_content(): XAVP id: 8122237</div>
<div>13(23) INFO: <core> [core/xavp.c:549]: xavp_print_list_content(): XAVP value type: 2</div>
<div>13(23) INFO: <core> [core/xavp.c:558]: xavp_print_list_content(): XAVP value: sip:<a href="http://172.28.0.46:5060" target="_blank" moz-do-not-send="true">172.28.0.46:5060</a></div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc833580 (level=1)</div>
<div>13(23) INFO: <core> [core/xavp.c:583]: xavp_print_list_content(): ----- end XAVP list: 0x7f8bfc835288 (level=0)</div>
<div>…</div>
<div>call ds_next_dst() here</div>
<div>…</div>
<div>13(23) WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field in next destination record</div>
</div>
</div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">
<div>
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341h5">2018-08-31 12:33 GMT+02:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank" moz-do-not-send="true">d.tryba@pocos.nl</a>></span>:<br /></div>
</div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #2ecc71;">
<div>
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341h5"><span>On Fri, Aug 31, 2018 at 12:11:53PM +0200, Igor Olhovskiy wrote:<br />
> Can I somehow dump xavp_dst var to check if ds_select_dst is correct?<br />
<br /></span> You could use pv_xavp_print():<br />
<a href="https://www.kamailio.org/docs/modules/5.1.x/modules/pv.html#pv.f.pv_xavp_print" rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.kamailio.org/docs/modules/5.1.x/modules/pv.html#pv.f.pv_xavp_print</a><br />
<br />
If there is a better way I'd like to know myself.<br />
<br /></div>
</div>
<span>_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br />
<br /></span></blockquote>
</div>
<span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"><font color="#888888"><br />
<br clear="all" /></font></span>
<div><span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"><font color="#888888"><br /></font></span></div>
<span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"><font color="#888888">--<br /></font></span>
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341m_1668983589841907383gmail_signature" data-smartmail="gmail_signature"><span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"></span>
<div dir="ltr"><span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"><font color="#888888">Best regards,</font></span>
<div><span class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341HOEnZb"><font color="#888888">Igor</font></span></div>
</div>
</div>
</div>
</blockquote>
</div>
<br />
<br clear="all" />
<div><br /></div>
--<br />
<div class="m_-9114483728481613049m_3019051702253790250m_-9185654562946380372m_7841468480040144920m_-5739679009633750909m_-3395665691290017923m_-3956704377765794341gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Best regards,
<div>Igor</div>
</div>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br /></div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br />
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
</div>
</blockquote>
</div>
</div>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br />
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></blockquote>
</div>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote>
<br />
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre></blockquote>
</div>
</body>
</html>