Re: [OpenSIPS-Users] Long reload time for mi tls_reload for 200 tls/ssl certs

2024-05-08 Thread Brett Nemeroff
Just offering my experience here. I have, without a doubt, noticed intensive logging brings a highly performant server to its knees. Disable ALL logging. Watch disk IO and confirm it's disabled. Try it again. Just an easy thing to try. -Brett On Wed, May 8, 2024 at 7:17 AM Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] Call Center error

2024-04-19 Thread Brett Nemeroff
I don’t know the details, but I’d guess that because you have no agents logged in your handle call isn’t properly rewriting the URI. It may be useful to check the return status and log it from cc_handle_call. That may give you some insight on at least this stage of the call processing. -Brett

Re: [OpenSIPS-Users] Launch and async

2024-04-18 Thread Brett Nemeroff
Can you do those operations outside of opensips? For example, can you receive that 200 and push an event to RabbitMQ and have an outboard worker do the delay and action? -Brett On Tue, Apr 16, 2024 at 9:27 AM Parthesh Bhavsar via Users < users@lists.opensips.org> wrote: > I'm facing a challenge

Re: [OpenSIPS-Users] dashboard stats from opensips

2024-04-03 Thread Brett Nemeroff
I'd recommend using the events and rabbitmq. You should be able to do just about anything with that. What cps are you processing? On Wed, Apr 3, 2024 at 3:46 PM nz deals wrote: > Thanks Ben, > > The issue with the scheduled task is that it introduces a delay. I'm > exploring methods to enable

Re: [OpenSIPS-Users] Callee details not visible in dialog detail

2024-03-29 Thread Brett Nemeroff
While I agree with Bogdan about asking on the right list this particular one is likely to be resolved the same way. You gotta be careful because there are enough differences where that isn’t always the case. I believe dlg_manage is Kamailio so you are definitely in the wrong spot! Dialog

Re: [OpenSIPS-Users] [Blog] Launch Darkly integration with OpenSIPS 3.5

2024-03-04 Thread Brett Nemeroff
Woah, this is super cool. Thanks team for getting this in. I'm really looking forward to seeing how people use this!! On Mon, Mar 4, 2024 at 9:46 AM Bogdan-Andrei Iancu wrote: > Hi all, > > Starting version 3.5 (current devel), OpenSIPS offers integration with > Launch Darkly service for

Re: [OpenSIPS-Users] ERROR:tls_mgm:load_tls_library: No TLS library module loaded

2023-09-06 Thread Brett Nemeroff
Hello, Given your recent flurry of emails to the mailing list, I'm sure you are learning quickly how to use OpenSIPs. However, I would like to remind you to please remember proper netiquette when collaborating on the mailing list. The OpenSIPs community is full of very friendly and helpful

Re: [OpenSIPS-Users] Stir ans Shaken - number is not in E.164 format

2023-09-06 Thread Brett Nemeroff
Buckle up! Things are going to get interesting. This is just one tiny little example... We have a lot of international issues when it comes to building trust and call authentication internationally. For example, consider that STIR/SHAKEN as we know it is built upon the US policy and governance

Re: [OpenSIPS-Users] How to reach failure_route if remote end doesn't reply on INVITEs

2023-07-13 Thread Brett Nemeroff
Simon, What you are describing is the default behavior. For "fast failover" you'll need to adjust the fr_timeout parameter. If you read the tm module documentation (which I included for you below) , I believe you'll see that it describes how to do exactly what are you doing. I don't think you

Re: [OpenSIPS-Users] B2B Opensips + RTPEngine

2023-06-07 Thread Brett Nemeroff
We are going to need to see a little more of where this is called. It’s worth mentioning that it has to be called at the right time. Simply firing this off doesn’t automatically manage the session. Thanks, Brett On Wed, Jun 7, 2023 at 6:19 AM wrote: > Hello, > > > > So we don’t use that

Re: [OpenSIPS-Users] Freeswitch ignores 503 message from opensips

2023-06-06 Thread Brett Nemeroff
The call looping may be causing a signalling issue, it's hard to tell without more detail, but that second INVITE really looks like a retransmission. It's at exactly 1000ms. It's saying "HELLO!! I SAID INVITE". So what's happening here is that while the 503 comes it, freeswitch for some reason

Re: [OpenSIPS-Users] Freeswitch ignores 503 message from opensips

2023-06-06 Thread Brett Nemeroff
Hello Simon, This sounds more like an issue with how Freeswitch is routing calls. However, a normal UAC will do something like this if the UAS doesn’t return a provisional (1xx) response in time. Are you sending a 100? If not, that could account for retransmissions. If instead it really is rolling

Re: [OpenSIPS-Users] Access "Identity" header after calling stir_shaken_auth() on 3.2.x

2023-04-28 Thread Brett Nemeroff
Hello Daniel, See if the $identity peudovariable offered by that module suits your need: https://opensips.org/docs/modules/3.2.x/stir_shaken.html#pv_identity -Brett On Fri, Apr 28, 2023 at 9:03 AM Daniel Zanutti wrote: > Hi > > How can I access the generated Identity header, after calling

Re: [OpenSIPS-Users] stir shaken (2).

2023-04-21 Thread Brett Nemeroff
On the inbound side, a carrier would perform the STI-VS (verification service) to derive the attestation from the passport and handle the call according to local policy. An intermediate carrier can't really "reattest" the call because being an intermediate,they likely can't attest to the validity

Re: [OpenSIPS-Users] on stir shaken.

2023-04-21 Thread Brett Nemeroff
STIR/SHAKEN, as it's used today, is not intended to influence the number presentation. However, if the contents of the passport differ from the rest of the message, it's likely to be unverified which would be handled according to local policy. What I'd expect, although it could be different from

Re: [OpenSIPS-Users] Media server communication with OpenSIPS

2022-12-27 Thread Brett Nemeroff
If your UAC doesn't have the capabilities of sending it in the BYE or an in-dialog request, then you'll have to do something out of band like HTTPS, Redis, etc, which are not bad options. Have you looked into "X-Asterisk-HangupCauseCode" to see if that can help you out? On Tue, Dec 27, 2022 at

Re: [OpenSIPS-Users] RTPProxy Docker Image

2022-12-20 Thread Brett Nemeroff
Hello Terrance, I wouldn't really recommend this. RTPProxy is going to use a lot of ports in a very large range. That just doesn't work great in docker, but even worse in K8S. I personally would put the RTPProxy outside of K8S. While you might be able to get it to work, you are likely going

Re: [OpenSIPS-Users] OpenSIPS Summit 2023 in USA - is Houston !!!!

2022-11-17 Thread Brett Nemeroff
Hey guys, I grew up in Houston. It doesn't have much to offer... But I can confirm, the food is quite good there. I'm hoping I might be able to make it this year! -Brett On Thu, Nov 17, 2022 at 11:41 AM Bogdan-Andrei Iancu wrote: > The actual essence is : whatever problem you have, Houston can

Re: [OpenSIPS-Users] graceful reload

2022-11-15 Thread Brett Nemeroff
What specific modules did you have in mind to reload. I know this might not be super helpful for your specific application, but you should always try to design your configs to not require this kind of rebooting. Sure with larger changes it may be unavoidable, but you should also have multiple

Re: [OpenSIPS-Users] dilalog profile

2022-11-14 Thread Brett Nemeroff
Yes! Give it a shot! Very useful to be in multiple profiles. On Mon, Nov 14, 2022 at 5:46 PM M S wrote: > Quick question, can a dialog belong to multiple profiles? Thanks! > ___ > Users mailing list > Users@lists.opensips.org >

Re: [OpenSIPS-Users] Low Latency Message Queue Recommendations

2022-11-14 Thread Brett Nemeroff
Hello Calvin, I personally would recommend something RabbitMQ based. Rabbit is a great holding area that makes offloading the request from OpenSIPs a breeze. Making parallized workers to push that into something else is also pretty easy to whip up. That being said, if you are prone to run out of

Re: [OpenSIPS-Users] How to know how many workers configure / server support

2021-05-18 Thread Brett Nemeroff
It really depends on your application but I suspect that 200 is overkill. What CPS are you running? What else is this server doing besides OpenSIPS? Is your db on the same server? How fast are those queries returning? The server is spinning doing something. How’s your disk IO look? I’ve seen very

Re: [OpenSIPS-Users] store data locally

2020-09-22 Thread Brett Nemeroff
I personally like memcached because of it's speed and the availability of SDKs to work with it in so many languages. These are all good choices tho! I think the quantity and how frequently your data changes is a big factor. If you have a lot of data that tends to change, I'd use memcache. If it's

Re: [OpenSIPS-Users] store data locally

2020-09-22 Thread Brett Nemeroff
Memcache is a great fit for this. Load the data in externally or thru programmatic cache_miss. This method supports a very high rate per second. Just be sure to consider failure cases. Caches should never be expected to be right 100% of the time. They need to be expected and allowed to fail

Re: [OpenSIPS-Users] Blind call forwarding in OpenSIPS

2020-09-09 Thread Brett Nemeroff
Hello Nayani, Your avp spec is for a much older version of OpenSIPs. I'm not sure if that's your problem or not, but the "s:" syntax is dated for 2.4.x. Here's the documentation you should reference for your version of OpenSIPs:

Re: [OpenSIPS-Users] Stir_shaken signature length

2020-04-13 Thread Brett Nemeroff
While this may work, I'd caution you against using the exec module for anything performant. It is a heavy beast. Or rather, your spawned shell is. Beware. On Mon, Apr 13, 2020 at 11:50 AM Calvin Ellison wrote: > On Mon, Apr 13, 2020 at 8:13 AM Saint Michael wrote: > > I am trying to do the

Re: [OpenSIPS-Users] db_mysql_convert_rows says no rows but there is one

2020-03-18 Thread Brett Nemeroff
You don’t want to return multiple result sets. I wouldn’t think any support would be added for this. Maybe you can create a stored procedure that calls that stored procedure and returns a single combined result set On Wed, Mar 18, 2020 at 5:32 PM Calvin Ellison wrote: > We've narrowed this

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-18 Thread Brett Nemeroff
Even if you change the C code to >> make it a Float the $var and $avp concepts are only string or int. There is >> a MATHOPS module that offers some floating point math, but it’s based on >> using string variables. >> >> >> >> Ben Newlin >> >> &

Re: [OpenSIPS-Users] Escape spaces in From and Contact

2020-03-16 Thread Brett Nemeroff
I would recommend rejecting these. Once you start magically fixing ingress formatting issues, it’ll make it hard to point the finger when you have real problems. It’s better to have known problems fail reliably where you can go direct to a customer and tell them exactly what to fix. That’s just

Re: [OpenSIPS-Users] cachedb_memcached multiple servers

2020-03-13 Thread Brett Nemeroff
I'm not aware of any way to specify a way to do this. You can however specify multiple memcache servers and perhaps use some sort of hashing alg to pick which one you want to use. Else you could use Jon's suggestion to use something a little more sophisticated than vanilla memcache. Just be sure

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-11 Thread Brett Nemeroff
Glad to have been able to help! Liviu, many thanks for the quick patch! On Wed, Mar 11, 2020 at 2:24 PM Calvin Ellison wrote: > Thanks, Liviu! It turns out the service provider who I'm getting that > "delay" value from has been watching this thread, and we both appreciate > the attention and

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-11 Thread Brett Nemeroff
This is great. Thank you Liviu! On Wed, Mar 11, 2020 at 12:01 PM Liviu Chircu wrote: > On 11.03.2020 18:54, Calvin Ellison wrote: > > Then as Brett suggested, "make it [the default precision] defined in > > the header file for those who want to recompile it." > > This is already in place [1]. >

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-11 Thread Brett Nemeroff
Calvin, The issue is more about what you want to do with that data in the opensips script. Are you really wanting to do floating point math in the script? Or are you taking those floats (like GPS coordinates) and using them as string values in a header. If that’s all you want to do, you should

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-11 Thread Brett Nemeroff
of precision while casting to a STRING. The problem with how you do it now is that you assume the precision which might actually be wrong. -Brett On Wed, Mar 11, 2020 at 10:40 AM Liviu Chircu wrote: > On 10.03.2020 20:55, Brett Nemeroff wrote: > > Can you inspect the DB type to derive a

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-10 Thread Brett Nemeroff
On Tue, Mar 10, 2020 at 1:50 PM Calvin Ellison wrote: > On Tue, Mar 10, 2020 at 10:31 AM Brett Nemeroff > wrote: > >> Liviu, >> My preference would be to default to 8, but make it defined in the header >> file for those who want to recompile it. 6 is ok, it’s usual

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-10 Thread Brett Nemeroff
Liviu, My preference would be to default to 8, but make it defined in the header file for those who want to recompile it. 6 is ok, it’s usually the minimum precision that is acceptable. Thanks!! On Tue, Mar 10, 2020 at 12:19 PM Liviu Chircu wrote: > On 10.03.2020 19:07, Calvin Ellison wrote: >

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-10 Thread Brett Nemeroff
Totally agree that this is the right thing to do. I just wanted the list to know it’s a STRING. I don’t think it’s obvious. Thanks again!! On Tue, Mar 10, 2020 at 11:45 AM Liviu Chircu wrote: > On 10.03.2020 18:39, Brett Nemeroff wrote: > > This isn’t really a problem unless you

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-10 Thread Brett Nemeroff
Liviu, Thanks for the quick fix! I can’t believe this hasn’t been more of an issue. But then again, it may be a weird thing to want a double in the script context since you can’t or at least shouldn’t be doing a lot of high level stuff there. Calvin / Liviu, I haven’t tested this fix yet, but I

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-09 Thread Brett Nemeroff
Calvin, If you look at the code blocks, I’d start by mirroring one of the string type conversion code blocks and see how you do. You should see it repeated a bunch of times (in avpops_db.c). I’m away from the code right now, so I can only be of limited help at the moment. -Brett On Mon, Mar 9,

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-09 Thread Brett Nemeroff
n Diego, CA 92121 > <https://www.google.com/maps/search/5825+Oberlin+Drive,+Suite+5+San+Diego,+CA+92121?entry=gmail=g> > [image: Voxox] > > > On Sun, Mar 8, 2020 at 11:33 PM Brett Nemeroff wrote: > >> >> Hello Calvin, >> Looks like your coerecing a float into a

Re: [OpenSIPS-Users] MySQL Type: FIELD_TYPE_NEWDECIMAL (246) uses DB_INT result type but should use float

2020-03-09 Thread Brett Nemeroff
Hello Calvin, Looks like your coerecing a float into an integer field. I think it's your delay field. What do you expect to happen here? I mean that seriously. If the delay field is an integer, you can't put anything but an integer in it if you have no access to change the database type.

Re: [OpenSIPS-Users] HA ongoing call support in 2.4 - transaction replication

2020-02-20 Thread Brett Nemeroff
Jeff, I think a lot of the problem is the active chit-chat in the updates. It’s a lot. I can see however your use case makes a lot of sense and for a redundant pair sitting next to each other, I think it *could* make sense, if it is fast enough. I’m curious if Razvan would consider making it an

Re: [OpenSIPS-Users] SHAKEN/STIR

2019-12-03 Thread Brett Nemeroff
I’d also like to point out that in doing so, the identity would change. So if a MITM reissues the identity signature, they can only say it’s them now. So if the traffic isn’t legitimate, they are basically saying “This is me”. Which I think is the underlying reason why it’s very unlikely that a

Re: [OpenSIPS-Users] [Release] OpenSIPS 3.0.0 release becomes stable

2019-05-29 Thread Brett Nemeroff
Great News Bogdan and Team! What an amazing accomplishment! Looking forward to seeing how OpenSIPs develops going forward from this milestone! -Brett On Wed, May 29, 2019 at 11:35 AM Bogdan-Andrei Iancu wrote: > Hi everyone ! > > One and half month of testing, reporting, debugging, fixing and

Re: [OpenSIPS-Users] Query- to read a text file content by openSIPS

2016-10-03 Thread Brett Nemeroff
Best way to do something like this IMO would be to use a caching backend like memcache. You could either use a timer route or an external script to periodically repopulate the tuple. -Brett > On Oct 3, 2016, at 10:21 AM, Ramachandran, Agalya (Contractor) >

Re: [OpenSIPS-Users] Dialog start event over EVI

2015-05-18 Thread Brett Nemeroff
Bogdan, How about an event route that lets you use script logic to modify the event prior to emitting it? Sent from my iPhone On May 18, 2015, at 4:57 AM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi Dan, I will do the backport to 1.2.0 - thank you for testing. Now, on your

Re: [OpenSIPS-Users] Async Event route_replies

2015-01-28 Thread Brett Nemeroff
Hey All, An idea that I've tossed out before that is similar here is event routes that are triggered on dialog state changes. I have to admit I don't know if the 2.x already has this or not but I think especially on the context of a billing engine, tying and event to a dialog state change makes

Re: [OpenSIPS-Users] opensips-1.6 recv queue full

2014-10-07 Thread Brett Nemeroff
Generally you can monitor for this with: netstat -nlp|grep opensips but I suspect you are already doing something similar. The statistics module also has a similar statistics. The command: opensipsctl fifo get_statistics all If you look near the bottom, you'll see the load in percent of the

Re: [OpenSIPS-Users] opensips-1.6 recv queue full

2014-10-07 Thread Brett Nemeroff
ver. plz tell me wt can I do in 1.6. thnx for the reply. -- *From: *Brett Nemeroff br...@nemeroff.com *To: *OpenSIPS users mailling list users@lists.opensips.org *Sent: *Tuesday, October 7, 2014 8:16:35 PM *Subject: *Re: [OpenSIPS-Users] opensips-1.6 recv queue

Re: [OpenSIPS-Users] Asynchronous processing in OpenSIPS 1.12

2014-09-02 Thread Brett Nemeroff
I'm curious what the failure cases look like here.. What happens when your long running db query is excessively long? Is there a timeout? What happens if you have 1000s of backed up processes. Would love to see some sort of fifo command somehow quantify the effectiveness of it being async. Not

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-24 Thread Brett Nemeroff
Unfortunately it doesn't seem like drouting will do this kind of routing. If you select flags 0x3 and set equal weights, it won't randomize the gateway chosen and only pick one. This would be a good feature request because right now, even with 0x03, only the first gw is ever picked. -Brett On

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-24 Thread Brett Nemeroff
Founder and Developerhttp://www.opensips-solutions.com On 24.07.2014 09:38, Brett Nemeroff wrote: Unfortunately it doesn't seem like drouting will do this kind of routing. If you select flags 0x3 and set equal weights, it won't randomize the gateway chosen and only pick one. This would be a good

[OpenSIPS-Users] Proposed change to cachedb

2014-07-23 Thread Brett Nemeroff
Hey All, Using memcached.. So I've noticed that while performing a cache_fetch I can't tell the difference between a cache failure and a NOT_FOUND. It seems the problem is actually in cachedb.c because we do this at the end of cachedb_fetch: return cde-cdb_func.get(con,attr,val)0?-1:1; So

Re: [OpenSIPS-Users] Created and setup time of failed calls

2014-07-23 Thread Brett Nemeroff
I just wanted to add my $0.02 here.. I've had this as a request as well. But to add on to what's already been said, generally customers want to see when the request was made (the INVITE) and when the transaction (dialog) dies. Specifically for failed calls. On Wed, Jul 23, 2014 at 9:12 AM,

Re: [OpenSIPS-Users] set_dlg_profile not setting value

2014-07-16 Thread Brett Nemeroff
Do you see the active calls number going up? Are you sure your calls are hitting the block performing the set_dlg_profile. I'd put an xlog right before the set_dlg_profile just to be sure. Depending on the db_mode you might not actually see this value change in the DB. Either way, the important

Re: [OpenSIPS-Users] Equivalent to Kamailio Async Module

2014-07-11 Thread Brett Nemeroff
I'd just like to add in my $0.02 here. I see this request a lot and there isn't a good solution out there for this. Thanks, Brett On Fri, Jul 11, 2014 at 10:50 AM, Kneeoh kne...@yahoo.com wrote: Is there an equivalent to the async module in Kamailio? I want to hold messages on short

Re: [OpenSIPS-Users] Concurrent call limit per account

2014-06-24 Thread Brett Nemeroff
The cached modules are pretty good for this sort of thing. Check those out. On Tue, Jun 24, 2014 at 12:00 PM, Schneur Rosenberg rosenberg11...@gmail.com wrote: Hi Bogdan I would like to set a concurrent call limit on a per account basis, I will be using the get_profile_size function from

Re: [OpenSIPS-Users] Fwd: RTPproxy project

2014-05-27 Thread Brett Nemeroff
Just wanted to add my 0.02 here.. I totally agree with Bogdan. For the applications where opensips + a RTP relay make sense, HA and persistence are much more important. WebRTC and ICE are kinda applications in of themselves. And although these applications are going to grow in popularity, the

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-15 Thread Brett Nemeroff
Normally this means that you haven't actually done anything with the call, but you are t_relaying it out. In other words, the RURI was destined for your opensips box.. That's how it got there.. it hit opensips, then you sent it back out.. But you never adjusted the RURI to point to the next hop

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-15 Thread Brett Nemeroff
AM, Brett Nemeroff br...@nemeroff.comwrote: Normally this means that you haven't actually done anything with the call, but you are t_relaying it out. In other words, the RURI was destined for your opensips box.. That's how it got there.. it hit opensips, then you sent it back out.. But you

Re: [OpenSIPS-Users] dlg_end_dlg ALL?

2014-04-15 Thread Brett Nemeroff
Hi Liviu, I think this would be a very useful feature as well. Specifically I'd like to be able to say something like :dlg_end_profile profile_name and it'd hang up all calls (dlg_end_dlg method) all calls in that profile. Given that you already know what calls are in a profile, this should be a

Re: [OpenSIPS-Users] [RELEASE] OpenSIPS 1.11 beta major release is out

2014-03-20 Thread Brett Nemeroff
would like to thank the OpenSIPS community for all of their hard and diligent work in making this release possible. We could never have done it without you! Special thanks go out to Ovidiu Sas, Walter Doekes, Damien Sandrs, Nick Altmann, Brett Nemeroff, Ryan Bullock (and many others) for your

Re: [OpenSIPS-Users] [RFC] Deprecating mi_xmlrpc

2014-03-19 Thread Brett Nemeroff
I'd like to see the new module to be a drop in replacement for the old one.. That being said... I was pretty surprised when I started down the path of the XMLRPC module that the reply isn't structured. It was just one big object. I'd like a selectable option on the module so that it either

Re: [OpenSIPS-Users] [RFC] Deprecating mi_xmlrpc

2014-03-19 Thread Brett Nemeroff
, Ovidiu Sas On Wed, Mar 19, 2014 at 1:56 PM, Brett Nemeroff br...@nemeroff.com wrote: I'd like to see the new module to be a drop in replacement for the old one.. That being said... I was pretty surprised when I started down the path of the XMLRPC module that the reply isn't structured

Re: [OpenSIPS-Users] [RFC] Deprecating mi_xmlrpc

2014-03-19 Thread Brett Nemeroff
:07 PM, Brett Nemeroff br...@nemeroff.com wrote: I think the only reason for that is backwards compatibility with stuff written for the other mi interfaces. Honestly, my parsers for the MI output are ridiculous. It's really complicated and prone to failure. I'd like to know if others

Re: [OpenSIPS-Users] [RFC] Deprecating mi_xmlrpc

2014-03-19 Thread Brett Nemeroff
. I am totally in for structured SJON format too! 2014-03-19 21:07 GMT+02:00 Brett Nemeroff br...@nemeroff.com: I think the only reason for that is backwards compatibility with stuff written for the other mi interfaces. Honestly, my parsers for the MI output are ridiculous. It's really

Re: [OpenSIPS-Users] [RFC] Deprecating mi_xmlrpc

2014-03-19 Thread Brett Nemeroff
to all http requests (no interference with SIP workers). Regards, Ovidiu Sas On Wed, Mar 19, 2014 at 3:44 PM, Brett Nemeroff br...@nemeroff.com wrote: I think there are some other issues with the size of the return data. I know for one that the mi_udp method has a buffer size limit. If you

Re: [OpenSIPS-Users] MediaProxy scalability FAQ updated

2014-03-06 Thread Brett Nemeroff
H, I'm sure the FAQ was a joke.. The reason for all the joking around is that there is no way to answer this question. It's the reason for the ridiculous answer to begin with. In old-school hardware based telephony, you had these expensive DSPs. Each DSP gave you a specific number of channels

Re: [OpenSIPS-Users] MediaProxy scalability FAQ updated

2014-03-05 Thread Brett Nemeroff
Wait wait wait Can you please clarify.. does one simultaneous call mean one call, or two? Certainly this means two? On Tue, Mar 4, 2014 at 10:15 AM, a...@ag-projects.com wrote: http://mediaproxy.ag-projects.com/projects/mediaproxy/wiki/Scalability Adrian

Re: [OpenSIPS-Users] Dialog topology_hiding cut off all via

2013-10-16 Thread Brett Nemeroff
are experiencing. Can you change to 1.9 and see if the problem goes away? -Brett --  Brett Nemeroff Sent with Airmail On October 16, 2013 at 7:17:31 AM, Alexander Mustafin (mustafin.aleksa...@gmail.com) wrote: Hello! Any ideas? I'm still stuck on this problem (( All VIA's are deleting

Re: [OpenSIPS-Users] Opensip as transaprent inbound proxy for asterisk

2013-10-14 Thread Brett Nemeroff
something based on the original IP received.  -Brett --  Brett Nemeroff Sent with Airmail On October 14, 2013 at 1:02:09 PM, bluerain (frank21...@yahoo.com) wrote: thx for the suggestion, I don't think asterisk reads the IP from any of the header or in any part of SIP message. I think asterisk read

[OpenSIPS-Users] Opensips 1.10 segfault, signal 6

2013-09-23 Thread Brett Nemeroff
        tmp = 0x7fff62d27654         tmp_len = value optimized out         port = value optimized out         proto = value optimized out         options = 0x531d10 f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:         ret = -1         seed = 158818133         rfd = value optimized ou --  Brett Nemeroff Sent

[OpenSIPS-Users] Negative reply on Re-Invite terminates billing

2013-09-19 Thread Brett Nemeroff
. At this point, I'd kinda expect OpenSIPs to reply with a 481, but nope! It relays the BYE just fine. So, it's ending billing, but… not killing the dialog? I thought these were intrinsically linked?  Thoughts? Thanks, Brett --  Brett Nemeroff Sent

[OpenSIPS-Users] Re: [RELEASE] OpenSIPS 1.10.0 beta release is out

2013-08-05 Thread Brett Nemeroff
Hey Guys,Just wanted to say congrats. Each release is coming with amazing features. You guys rock!-Brett===Brett NemeroffVoice Fox Telephony LLCOffice:512-670-8369Email:br...@voicefoxtelephony.comSkype: brettnemAOL:

[OpenSIPS-Users] Disable/Enable dialog ping mid-call

2013-05-02 Thread Brett Nemeroff
Hello All, I was wondering if there is a way to enable/disable dialog pinging after create_dialog ha s been called. Can I hit create_dialog again with the changed parameters? Thanks, Brett ___ Users mailing list Users@lists.opensips.org

[OpenSIPS-Users] 6xx reply handling and acc

2013-05-02 Thread Brett Nemeroff
Hello list, I have a question about default handling of 6xx replies and acc. I have a 1.8 build that does NOT have disable_6xx_block set (it's just default). I'm seeing cases where when I get a 6xx (after a 18x reply) where failure route causes it to roll to another block, but it'll never t_relay

[OpenSIPS-Users] PRACK mid-call

2013-04-22 Thread Brett Nemeroff
Hey All, I'm having a weird issue right now. I have a particular call flow that includes a PRACK. The first PRACK setups just when it show and is replied with a 200 ok end to end. Some time later, OpenSIPs retransmits the PRACK... After the call is answered. Yes, OpenSIPs relayed the 200 OK for

[OpenSIPS-Users] ACC Duration incorrect when dialog life extended with sequential requests

2013-04-18 Thread Brett Nemeroff
Hello All, I'm seeing an interesting issue. I have a dialog timeout set to 3 hours. I have a call who's lifetime is extended beyond the 3 hours because they are sending UPDATEs midcall. The call is legitimately long. The call lasts 4 hours, but is logged at 3 hours (exactly). No funny business

[OpenSIPS-Users] RabbitMQ Issues

2013-04-16 Thread Brett Nemeroff
Hello All, I was wondering if anyone has had a chance to look at the memory leak issues posted on the tracker at: https://sourceforge.net/tracker/?func=detailaid=3610016group_id=232389atid=1086410 I'm having the same issues as the OP with the patch that's on the tracker. Thanks! -Brett

[OpenSIPS-Users] Change acc message on call failure

2013-03-28 Thread Brett Nemeroff
Hey All, I'm routing a call using a failure_route and serial attempts. Under certain conditions, I'd like to customize the failure code written to the acc table with something like: acc_db_request(503 Special Failure); But when I'm doing this, I'm getting two acc entries. One for the last failed

Re: [OpenSIPS-Users] User in SIP Request's P-Asserted-Identity header URI

2013-03-07 Thread Brett Nemeroff
What about $ai ? -Brett On Mar 7, 2013, at 11:41 AM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi Mickael, You can simply use a transformation: $(hdr(P-Asserted-Identity){nameaddr.uri}{uri.user}) See http://www.opensips.org/Resources/DocsCoreTran19 Regards, Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] segfault in db_mysql.so and others..

2013-03-06 Thread Brett Nemeroff
Any ideas here? :/ On Tue, Mar 5, 2013 at 10:10 AM, Brett Nemeroff br...@nemeroff.com wrote: Hey All, I'm running opensips 1.8.2 svnrevision: 2:9628M I'm getting some random crashes. Load isn't terribly high on these boxes and I can't figure out what specifically is causing the crash

[OpenSIPS-Users] segfault in db_mysql.so and others..

2013-03-05 Thread Brett Nemeroff
Hey All, I'm running opensips 1.8.2 svnrevision: 2:9628M I'm getting some random crashes. Load isn't terribly high on these boxes and I can't figure out what specifically is causing the crash. I'm seeing this in the logs: /usr/sbin/opensips[9875]: ERROR:db_mysql:db_mysql_val2str: destination

Re: [OpenSIPS-Users] [RELEASE] 1.9 Major Release becomes stable GA today!

2013-02-27 Thread Brett Nemeroff
Great job guys! This is one exciting build -Brett On Wed, Feb 27, 2013 at 12:13 PM, Bogdan-Andrei Iancu bog...@opensips.orgwrote: After one month of successful beta testing, the 1.9.0 major released turned into a fully stable GA releasesuitable for production usage. Feel free to

Re: [OpenSIPS-Users] Large resultset with avp_db_query

2013-02-21 Thread Brett Nemeroff
syslog, and not the directed opensips.log I had configured. So I had no idea it was happening until I started to poke around. Doh! -Brett On Wed, Feb 20, 2013 at 9:05 PM, Brett Nemeroff br...@nemeroff.com wrote: Hello List, OpenSIP 1.8.2 v9777 I'm using avp_db_query to pull a cursor with a few

[OpenSIPS-Users] Large resultset with avp_db_query

2013-02-20 Thread Brett Nemeroff
Hello List, OpenSIP 1.8.2 v9777 I'm using avp_db_query to pull a cursor with a few hundred rows. I think loop over the results pulling the field in with this syntax $(avp(someval)[$var(i)]) This works great for 196 rows. Then it just dies. It doesn't process any more rows. No process death

Re: [OpenSIPS-Users] Crash in db_mysql

2013-02-14 Thread Brett Nemeroff
, Muhammad Shahzad wrote: Please specify opensips version / revision. Thank you. On Thu, Feb 14, 2013 at 8:13 AM, Brett Nemeroff br...@nemeroff.comwrote: Hey all, I'm running into a crash. Same thing hits over and over. Not sure what's causing it.. Here's a bt: Program terminated

Re: [OpenSIPS-Users] Crash in db_mysql

2013-02-14 Thread Brett Nemeroff
1.8.2-notls (x86_64/linux) svnrevision: 2:9777M On Thu, Feb 14, 2013 at 2:01 AM, Muhammad Shahzad shaherya...@gmail.comwrote: Please specify opensips version / revision. Thank you. On Thu, Feb 14, 2013 at 8:13 AM, Brett Nemeroff br...@nemeroff.comwrote: Hey all, I'm running into a crash

[OpenSIPS-Users] Crash in db_mysql

2013-02-13 Thread Brett Nemeroff
Hey all, I'm running into a crash. Same thing hits over and over. Not sure what's causing it.. Here's a bt: Program terminated with signal 11, Segmentation fault. #0 0x7f33ce3339b9 in db_mysql_val2bind (v=0x7f330fa18cc0, binds=0x7f33ce88cf00, i=33) at val.c:297 297 *(binds[i].is_null) = 0;

Re: [OpenSIPS-Users] Dialog ping question

2013-02-12 Thread Brett Nemeroff
interval. What is the issue that you are having ? Best Regards, Vlad Paiu OpenSIPS Developerhttp://www.opensips-solutions.com On 02/08/2013 06:12 PM, Brett Nemeroff wrote: Hello List, Question regarding dialog pinging. If dialog pinging is enabled and so is the B flag, how long after a failed

Re: [OpenSIPS-Users] Feature request: multiset cache interfaces and queued insertions

2013-02-12 Thread Brett Nemeroff
the cache concept ( that once you put something there, you'll find it next time ). Regards, Vlad Paiu OpenSIPS Developer http://www.opensips-solutions.**com http://www.opensips-solutions.com On 02/10/2013 11:17 PM, Brett Nemeroff wrote: Hey all, Quick feature request. Many of the cache back

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Brett Nemeroff
route are internally generated, so they cannot be received :). $mb will show you the SIP message opensips wants to send out. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 02/10/2013 07:21 PM, Brett Nemeroff wrote: Hello All, If I use $mb

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Brett Nemeroff
Bogdan, I haven't really pushed floating point capability much because I've depended on external systems like mysql to do that math. However, with the popularity of NoSQL systems, I think this may become more important. It is to me at least :) Thanks for considering it :) -Brett On Mon, Feb

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Brett Nemeroff
Bogdan, I'm basically trying to xlog the entire SIP message. Of course, I'd like to do something a little more sophisticated with it, but trying to proof of concept it first. I'm close with $mb, but I'm missing the relayed messages. Thanks, Brett On Mon, Feb 11, 2013 at 10:19 AM, Bogdan-Andrei

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-10 Thread Brett Nemeroff
-solutions.com On 02/09/2013 08:49 PM, Brett Nemeroff wrote: I'd like to see some more events added to modules. Specifically I'd really like events on dialog callbacks. Having more integration with NOSQL back ends for data stores would also be great. I'm pretty sure that's already in the works tho

[OpenSIPS-Users] local_route and relayed messages

2013-02-10 Thread Brett Nemeroff
Hello All, If I use $mb in local_route it's capturing the received message. I'd like in local route to be able to capture the full message that is about to be relayed. Is this possible? Thanks, Brett ___ Users mailing list Users@lists.opensips.org

[OpenSIPS-Users] JSON Bug, empty strings

2013-02-10 Thread Brett Nemeroff
Hey all, I think I see a bug in the JSON module; but it might just be a feature of JSON. Seems that when I assign an empty string to a JSON element, it's storing it as NULL. So for example: $json(object/element) = ''; If I print that, I get null in an xlog. Is this expected? I'd really like to

[OpenSIPS-Users] Feature request: multiset cache interfaces and queued insertions

2013-02-10 Thread Brett Nemeroff
Hey all, Quick feature request. Many of the cache back ends support multisets at once. I've seen tremendous speed improvements from multisets. In addition, maybe complementary, I'd like to see queues cache insertions. This is especially useful for using the cache interface for something like acc.

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-09 Thread Brett Nemeroff
I'd like to see some more events added to modules. Specifically I'd really like events on dialog callbacks. Having more integration with NOSQL back ends for data stores would also be great. I'm pretty sure that's already in the works tho. Thanks for all your contributions!! -Brett -Brett On

[OpenSIPS-Users] Dialog ping question

2013-02-08 Thread Brett Nemeroff
Hello List, Question regarding dialog pinging. If dialog pinging is enabled and so is the B flag, how long after a failed ping should opensips send the BYE in either direction? Thanks, Brett ___ Users mailing list Users@lists.opensips.org

  1   2   3   4   5   6   7   >