[OpenSIPS-Users] How to get all listening socket IP address as variable

Muhamad Putra Abdullah m.putra77 at outlook.com
Tue Nov 16 00:48:54 EST 2021


Hi,

The reason I'm asking is because one of the interface need to be in DHCP  so I need the IP address information for serthostport() and socket_out() to relay SIP/RTP to other interface.

Thanks

From: Muhamad Putra Abdullah
Sent: Monday, 15 November, 2021 3:39 PM
To: users at lists.opensips.org
Subject: How to get all listening socket IP address as variable

Hi,

I have 2 listening interface for opensips 3.2. How do I get both IP address to be used as variable in opensips config file? I try to use socket_in/ socket_out but failed to get the other interface IP address.

Thanks

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211116/b5df856d/attachment.html>


More information about the Users mailing list