Re: [OpenSIPS-Users] Feature request - pseudo-variable for destination IP address

2019-06-27 Thread rob.d...@telus.net
On second thought it probably isn't poosible to do in any direct way because the information is lost in the router. The only possible way is a DNS query. - Original Message - From: "rob dyck" To: users@lists.opensips.org Sent: Thursday, June 27, 2019 3:21:59 PM Subject: Feature request -

Re: [OpenSIPS-Users] Feature request - pseudo-variable for destination IP address

2019-06-27 Thread Ovidiu Sas
Check out the $Ri pvar: https://www.opensips.org/Documentation/Script-CoreVar-3-0#toc78 -ovidiu On Thu, Jun 27, 2019 at 6:23 PM rob.d...@telus.net wrote: > > I was looking for something similar to the $si PV but for the destination IP > address. Either it doesn't exist or I am blind. I can't fi

[OpenSIPS-Users] Feature request - pseudo-variable for destination IP address

2019-06-27 Thread rob.d...@telus.net
I was looking for something similar to the $si PV but for the destination IP address. Either it doesn't exist or I am blind. I can't find things in the refrigerator either. The motivation. I have a working instance of Opensips with a basic residential configuration. I extended it to allow call

[OpenSIPS-Users] How to change media protocol?

2019-06-27 Thread Dragomir Haralambiev
Hello, I have OpenSips + rtpengine. Opensips receive INVITE with Media Protocol: RTP/SAVP How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme: INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) >INVITE with Media Protocol: RTP/AVP ---> I

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Liviu Chircu
You are overcomplicating this.  There are two ways to get it working: 1. just use a dummy "opensips-cluster" domain + outbound proxy settings on your UACs.  This way,    the domain doesn't even have to be resolvable.  As long as OpenSIPS detects it as being a    local domain (either through the

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Social Boh
Hi Liviu, I read the tutorial but I don't understood completely how this architecture work. I Have two OpenSIPs instances, each one with his IP. I add user 1000 and user 1001 on both instances so the user can choose which OpenSIPs use to register. How USRLOC use_domain parameter is obligatory

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Liviu Chircu
Hi Social, From what I understand, you are registering your devices to 1000@IP_A and 1001@IP_B, respectively.  If this is the case, please have them register to 1000@opensips-cluster and 1001@opensips-cluster, and point their "Outbound Proxy" settings to IP_A and IP_B, respectively. Hope thi

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Social Boh
Ben, justly I'm trying to using clustering functionality bud I don't understood completely the registration part. On the tutorial (1) appear a domain but I don't understand how the devices choose in which OpenSIPs instance register and how I have to add user on the subscriber table of each Op

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Ben Newlin
Social, It seems like what you want is for the registration to ignore the domain. Why do you say that use_domain has to be enabled? It seems like if you turn it off this would work. Alternatively, you could use DNS for the domain instead of IP addresses and have the DNS resolve to both OpenSIP

Re: [OpenSIPS-Users] Rest Client Async operation

2019-06-27 Thread Ben Newlin
Liviu, Thank you. This makes complete sense now and the documentation updates are excellent. Thanks as well for the workaround suggestion; we will investigate whether it is necessary. You do make a good point in the docs about TCP connection reuse in the workers, which shows my example as a bit

Re: [OpenSIPS-Users] Federated User Location Cluster

2019-06-27 Thread Social Boh
Any Light, please? --- I'm SoCIaL, MayBe On 6/26/19 17:10, Social Boh wrote: Hello list, I really don't understood how this configuration work. I would like to configure two OpenSIPs instances to share data about registered users but I can't because when from extension 1000 registered on fi

Re: [OpenSIPS-Users] Rest Client Async operation

2019-06-27 Thread Liviu Chircu
I have updated the async docs [1], so everyone can read more about this limitation, along with a mitigation solution for it. Cheers, [1]: https://www.opensips.org/Documentation/Script-Async-3-0#toc8 Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com ___

Re: [OpenSIPS-Users] Rest Client Async operation

2019-06-27 Thread Liviu Chircu
On 26.06.2019 17:48, Ben Newlin wrote: Thanks again for the info. I think what you are saying is that the async operation is not launching a new process to handle the called function, but is performing the function in the original worker thread and only taking advantage of any suspend/resume

Re: [OpenSIPS-Users] Call_control and JSON-RPC

2019-06-27 Thread Efelin Novak
Hi Dan, thanks for the clarification. Kind regards Efelin st 26. 6. 2019 o 17:19 Dan Pascu napísal(a): > > On 26 Jun 2019, at 15:11, Efelin Novak wrote: > > > Hi, > > > > I'm using a Kamailio version that does not support MI interface anymore. > Call_control module works nice in all situation