Re: [OpenSIPS-Users] opensips 2.1 call_center queue position

2016-10-12 Thread Bogdan-Andrei Iancu
Hello Jon, The message_queue is a SIP URI pointing to an audio announcement to play to roll of the waiting/in-queue playback. This needs to be an announcements that never ends (from the perspective of the media server); only the the OpenSIPS Queue may terminate the playback, when it decides t

Re: [OpenSIPS-Users] OpensSIPS 2.2 - avps with an index of -1

2016-10-12 Thread Bogdan-Andrei Iancu
Hi Pat, Are you sure the -1 index works for you? I just tested with an 1.11 code and got: Oct 12 11:35:12 [29913] ERROR:core:replace_avp: Index with negative value Oct 12 11:35:12 [29913] ERROR:core:pv_set_avp: Failed to replace avp Oct 12 11:35:12 [29913] ERROR:core:do_assign: setting PV fail

Re: [OpenSIPS-Users] 401 and 407 in REPLY ROUTE

2016-10-12 Thread Bogdan-Andrei Iancu
Hi Ali, They should end up in Failure route; the only reason to prevent them doing this is a parallel forking - if you forked the call to multiple destination, a negative reply on a branch is hold up until the rest of the branches do complete (negative reply also, or some 200 OK). Is this you

Re: [OpenSIPS-Users] opensips 2.1 call_center queue position

2016-10-12 Thread Jonathan Hunter
Hello Bogdan, Thanks for the response. In terms of my question, with a number of queuing platforms, they have the capability to tell the caller, what position they are in , and when they are likely to be answered. I just wondered if this logic was already within the module, or if I would need to

Re: [OpenSIPS-Users] Pending OpenSIPS minor releases: Last minute bug fixes!

2016-10-12 Thread Liviu Chircu
Hi, Agalya! As you have already noticed, the timeout fix has made its way to 2.2, so from my perspective, all should be good now regarding the previous issues. Your tests are very interesting, but I need more info in order to isolate the cause of the crash. Here are some things to consider:

[OpenSIPS-Users] OpenSIPS 2.2 YUM Installtion error.

2016-10-12 Thread Venkatesh Macha
Hi all, I am trying to install OPENSIPS 2.2 using YUM, I am using following link to download the rpm. http://yum.opensips.org/packages.php?v=2.2 I am able to install opensips. yum install opensips Here is the version of OpenSIPS. opensips -V ver

Re: [OpenSIPS-Users] OpenSIPS 2.2 YUM Installtion error.

2016-10-12 Thread Liviu Chircu
Hi, Venkatesh! I can confirm: [root@centos-7 ~]# yum install opensips-mysql Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 epel/x86_64/metalink | 23 kB 00:00:00 epel

Re: [OpenSIPS-Users] OpenSIPS 2.2 YUM Installtion error.

2016-10-12 Thread Nick Altmann
So, apt-get or yum? When you try to install opensips-mysql, there is no such module in opensips 2.2. Try to install opensips-db_mysql module instead. Package opensips-mysql is in epel repository for old opensips 1.10. -- Nick 2016-10-12 13:24 GMT+03:00 Venkatesh Macha : > Hi all, > >I am tr

Re: [OpenSIPS-Users] OpenSIPS 2.2 YUM Installtion error.

2016-10-12 Thread Nick Altmann
Also you may try to add *exclude=opensips** to the end of [epel] section of your /etc/yum.repos.d/epel.repo Then do *yum clean all* So, you will be never confused by opensips packages from epel. -- Nick 2016-10-12 14:19 GMT+03:00 Nick Altmann : > So, apt-get or yum? > > When you try to install

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Miha
Hi Bogdan i missed your email, sorry... Operator need to have number like NET_ID + DID. So routing is based on NET_ID. I manage to get all number in redis (quite a big amount of memory is used :) ).So first I do lookup in redis, get NET_ID and then I am using d_routing based od NET_IDs. br

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Bogdan-Andrei Iancu
So basically you need to determine the NET_ID based on the DID number ? this is what you do in REDIS now ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 12.10.2016 15:09, Miha wrote: Hi Bogdan i missed your email, sorry... Operator need to

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Miha
yes. I have in redis like: KEY (DID) and VALUE (NETID), than I am doing lookup in opensips script. I was looking what is the most a appropriate way to do this. As redis is quite good in this cases I choose it but the issue is memory :( tnx miha On 12/10/2016 14:25, Bogdan-Andrei Iancu wr

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Bogdan-Andrei Iancu
Why don't you use DR for that translation. Make a routing group where you put all DIDs (as prefixes) in dr_rules and have the NET_ID as attribute for the rule. And when looking it up: do_routing("group","LC"); See : http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id295067 DR i

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Miha
this is great! tnx :) I was thinking that but as it was so much data i did not even want to try it :) I will try and let you know! br miha On 12/10/2016 14:33, Bogdan-Andrei Iancu wrote: Why don't you use DR for that translation. Make a routing group where you put all DIDs (as prefixes) i

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Bogdan-Andrei Iancu
Give it a try. Just be sure you properly adjust the shared memory and note that the loading will take a bit of a time. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 12.10.2016 15:37, Miha wrote: this is great! tnx :) I was thinking that but as

Re: [OpenSIPS-Users] opensips 2.1 call_center queue position

2016-10-12 Thread Bogdan-Andrei Iancu
Hi Jonathan, When a call is mapped to a flow / queue (before playing the welcome message), we know the ETA (estimated time to wait) and when is placed in the queue (before playing the queuing) we internally know the position in the queue. Would it help to have the position in the queue place

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-12 Thread Miha
ok tnx so much Bogdan! br miha On 12/10/2016 14:39, Bogdan-Andrei Iancu wrote: Give it a try. Just be sure you properly adjust the shared memory and note that the loading will take a bit of a time. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com

Re: [OpenSIPS-Users] OpenSIPS 2.2 YUM Installtion error.

2016-10-12 Thread Venkatesh Macha
Thank you Nick !! It's working now. Venkatesh -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-2-2-YUM-Installation-error-tp7604583p7604599.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. __

Re: [OpenSIPS-Users] opensips 2.1 call_center queue position

2016-10-12 Thread Jonathan Hunter
Hi Bogdan, Yes being able to grab the queue position would be perfect. Is that possible? Thanks Jon Subject: Re: [OpenSIPS-Users] opensips 2.1 call_center queue position To: hunter...@hotmail.com; users@lists.opensips.org From: bog...@opensips.org Date: Wed, 12 Oct 2016 15:42:43 +0300

Re: [OpenSIPS-Users] [Spam] Re: OpensSIPS 2.2 - avps with an index of -1

2016-10-12 Thread Pat Burke
Hello Bogdan, You are exactly correct.  We have a patch in pv_set_avp in pvar.c that allows -1.  I don't know who put that in, but it works great.  I will put the patch into my 2.2 code. The method was updated to         if(idxf == PV_IDX_INT || idxf == PV_IDX_PVAR) /* if the avp is indexed

Re: [OpenSIPS-Users] Pending OpenSIPS minor releases: Last minute bug fixes!

2016-10-12 Thread Ramachandran, Agalya (Contractor)
Hi Liviu, I have taken latest 2.2 version after you pushed the timeout fix and performed the same load test. I did not observe any crash in that. - 10,000 calls is a nice number, but what was your CPS rate? Also, how many OpenSIPS processes did you run with? My CPS I sent is 55cps for 100K call

[OpenSIPS-Users] Latest AVP's in the cdr when call fails in branch

2016-10-12 Thread Pat Burke
Hello, I am in process of migrating from 1.11 to 2.2.  We have a situation where we have a routing opensips that can make multiple attempts to complete a call.   The information specific to each attempt is passed to the SBC opensips through headers.  In order to not double up on headers, I mov

[OpenSIPS-Users] OPENSIPS AND WESIP INTEGRATION

2016-10-12 Thread Sahadev Upadhyay
Hello , As I am beginner in opensips environment. I want to do opensips integration with sip servlet using eclipse platform. As i have studied and found that we need to integrate wesip server with tomcat to use sipservlet and its functionality. Please someone guide me for its integration so that