<div dir="ltr">Got it, it's "$xavp(_dsdst_=>uri)"<div><br></div><div>Thanks all!</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 3, 2019 at 2:01 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello guys,<br></div><div><br></div><div>I've never used "ds_select" as opposed to "ds_select_dst", and i would like to get the actual destination out of _dsdst_</div><div><br></div><div>I've got </div><div><br></div><div>modparam("dispatcher", "xavp_dst", "_dsdst_")<br></div><div><br></div><div>and then i'm trying to do:</div><div><br></div><div> if(!ds_select("100", "4"))<br> {<br> send_reply("404", "No destination");<br> exit;<br> }else{<br> xlog("L_ERR", "[XHTTP]: The next destination for SMS is: [$xavp(_dsdst_)]\n");<br> ds_mark_dst("d");<br> }<br></div><div><br></div><div>But that's coming up with</div><div><br></div><div> The next destination for SMS is: [<<xavp:0x7fbe87acdbf0>>]<br></div><div><br></div>I need to get the actual ip address out of the struct.<div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div>
</blockquote></div>