Hello,
Yes, you can add it in the configuration file, it is the 'socket' -> used to
set the sending socket for the gateway. It is used for sending the SIP traffic as well as
OPTIONS keepalives.
Regards
.....................................................................
Mathias WOLFF
Tel : +33 9.72.13.22.62
Gsm : +33 6.79.59.43.32
.....................................................................
CONFIDENTIALITE.
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.
CONFIDENTIALITY.
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.
Envoyé avec la messagerie sécurisée Proton Mail.
------- Original Message -------
Le mardi 21 juin 2022 à 11:53, Tor Petterson <tor.petterson(a)enreach.com> a écrit :
Hi
I have a setup where Kamailio is connected to several telephony providers using different
IP addresses to communicate with them.
So I have a socket per provider.
I am using the dispatcher module to route calls to the different providers.
My question is if there is a way to get the advertised address of the socket chosen by
dispatcher?
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.
Thanks in advance.
Tor