<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p><br>
</p>
<p>if you want to get the socket attribute in the xavp, see the
options that can be set for:</p>
<p><br>
</p>
<p>Â *
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.xavp_dst_mode">https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.xavp_dst_mode</a></p>
<p><br>
</p>
<p>Cheers,<br>
Daniel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 20.06.22 14:32, Tor Petterson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB7PR05MB5244587915A01B0894087CF7F4B09@DB7PR05MB5244.eurprd05.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi
<div><br>
</div>
<div>I have a setup where Kamailio is connected to several
telephony providers using different IP addresses to
communicate with them.</div>
<div>I am using the dispatcher module to route calls to the
different providers.</div>
<div>My question is if there is a way to get the advertised
address of the socket chosen by dispatcher?</div>
<div>I have a socket pointer in the XAVP but I can't figure out
if it is possible to get the advertised address from it
somehow.</div>
<div><br>
</div>
<div>Thanks in advance.</div>
Tor<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <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>
<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 Advanced Training - Online: June 20-23, 2022
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>