<div style="font-family: Arial; font-size: 14px;">Hello,</div><div style="font-family: Arial; font-size: 14px;">Yes, you can add it in the configuration file, it is the <span>'socket' -> used to set the sending socket for the gateway. It is used for sending the SIP traffic as well as OPTIONS keepalives.</span><div><br></div><span></span>Regards<br></div><div style="font-family: Arial; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        <div>.....................................................................<br></div><div>Mathias WOLFF<br></div><div>Tel : +33 9.72.13.22.62<br></div><div>Gsm : +33 6.79.59.43.32<br></div><div>.....................................................................<br></div><div><div><b>CONFIDENTIALITE.</b><br></div><div>Cet email (y compris les                  éventuelles pièces jointes) peut contenir des                  informations confidentielles. Il ne peut être utilisé                  que pour la finalité pour laquelle il a été envoyé. Au                  cas où il ne vous serait pas destiné, merci de le                  supprimer et d'en avertir l'expéditeur.<br></div><div><b>CONFIDENTIALITY.</b><br></div><div>This email (including any attachments) may contain confidential information. It may not be used other than for the purpose for which it has been sent. If you are not the intendedrecipient, please delete it and notify the sender.<br></div></div><div><br></div>
    </div>
    <div style="font-family: Arial; font-size: 14px;"><br></div>
    <div class="protonmail_signature_block-proton">
        Envoyé avec la messagerie sécurisée <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a>.
    </div>
</div>
<div style="font-family: Arial; font-size: 14px;"><br></div><div class="protonmail_quote">
        ------- Original Message -------<br>
        Le mardi 21 juin 2022 à 11:53, Tor Petterson <tor.petterson@enreach.com> a écrit :<br><br>
        <blockquote class="protonmail_quote" type="cite">
            
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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>So I have a socket per provider.<br>
</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>



        </blockquote><br>
    </div>