[SR-Users] Finding advertised address of socket

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 21 08:15:36 CEST 2022


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 at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220621/e2a19a89/attachment.htm>


More information about the sr-users mailing list