Hello,


if you want to get the socket attribute in the xavp, see the options that can be set for:


  * https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.xavp_dst_mode


Cheers,
Daniel


On 20.06.22 14:32, Tor Petterson wrote:
Hi

I have a setup where Kamailio is connected to several telephony providers using different IP addresses to communicate with them.
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

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online: June 20-23, 2022
  * https://www.asipto.com/sw/kamailio-advanced-training-online/