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

2021-11-22 Thread Muhamad Putra Abdullah
l issue, I cannot use the reference in xlog to output the value. In the end I used template style solution using python to scan NICs IP address and generate config file. Thank for the help and guide. Regards Putra From: Users On Behalf Of Muhamad Putra Abdullah Sent: Friday, 19 November, 2021

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

2021-11-19 Thread Muhamad Putra Abdullah
Hi, Nice to hear that. I'll try it out later. Thanks Regards Putra From: Bogdan-Andrei Iancu Sent: Friday, 19 November, 2021 6:35 PM To: Muhamad Putra Abdullah ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] How to get all listening socket IP address as variable Hi

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

2021-11-19 Thread Muhamad Putra Abdullah
Hi, Thank you so much for the info. Best regards, Putra From: Bogdan-Andrei Iancu Sent: Friday, 19 November, 2021 3:11 PM To: Muhamad Putra Abdullah ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] How to get all listening socket IP address as variable Hi, I see, you start

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

2021-11-17 Thread Muhamad Putra Abdullah
olutions than this? Regards From: Bogdan-Andrei Iancu Sent: Wednesday, 17 November, 2021 8:24 PM To: Muhamad Putra Abdullah ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] How to get all listening socket IP address as variable If so, when you receive a request on the external IP,

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

2021-11-17 Thread Muhamad Putra Abdullah
: Muhamad Putra Abdullah ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] How to get all listening socket IP address as variable Hi, How do you define the listening socket in OpenSIPs cfg ? (the one related to the DHCP interface) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

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

2021-11-16 Thread Muhamad Putra Abdullah
as a variable on startup. On Wed, 17 Nov 2021 at 00:19, Muhamad Putra Abdullah mailto:m.putr...@outlook.com>> wrote: Hi, Is there a way to get the IP address of DHCP interface to use in the script? I can get the call go through if I set both the interface as static. Regards Get Outlo

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

2021-11-16 Thread Muhamad Putra Abdullah
ber 16, 2021, 6:45 PM To: OpenSIPS users mailling list; Muhamad Putra Abdullah Subject: Re: [OpenSIPS-Users] How to get all listening socket IP address as variable Hi, via the socket_xx() vars you can get only the sockets relative to/used by that call, you cannot iterate thru the listening s

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

2021-11-15 Thread Muhamad Putra Abdullah
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@lists.opensip

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

2021-11-14 Thread Muhamad Putra Abdullah
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 for Windows