[OpenSIPS-Devel] json module question

2021-02-02 Thread Richard Revels
.3. iteration over $json object keys* ... $json(foo) := "{\"a\": 1, \"b\": 2, \"c\": 3}"; for ($var(k) in $(json(foo.keys)[*])) xlog("$var(k) "); ... [image: BandwidthMaroon.png] Richard Revels • System Architect II 900 Main Campus Drive,

Re: [OpenSIPS-Devel] [opensips] running out of pkg_mem (#651)

2015-10-13 Thread Richard Revels
FYI make clean and make realclean don't clean up the modules/cachedb_cassandra directory which leads to an undefined symbol error on startup because I wasn't paying attention. [root@opensips-dev-01.lab1 opensips-2-git]# tree |grep "\.o" ├── curses.out │ ├── dictionary.opensips │ │ ├──

Re: [OpenSIPS-Devel] [opensips] running out of pkg_mem (#651)

2015-10-13 Thread Richard Revels
I am seeing something that I suspect is similar. This reply is going to be lite on details but next I'll go refresh the source from git and turn on the memory debugging and send updates. I have a proxy running git branch 2.1. It is reloading the address table from a cron every minute and

Re: [OpenSIPS-Devel] Error on compling cachedb_cassandra module Opensips 1.10

2014-03-11 Thread Richard Revels
This seems like a question maybe better suited to Opensips Users mailing list but in any case, you need to make sure you have thrift installed. If you are under the impression it is then use locate and make sure the include file is somewhere it can be found by the compiler. [root@registrar-1 ~]#

[OpenSIPS-Devel] typo in dlg_handlers.c

2011-03-31 Thread Richard Revels
I've got a couple hundred unread messages in my mailing list folder. Please forgive me if this has been fixed already. This is from revision 7602. I'm getting a seg fault in str2int called from dlg_validate_dialog and noticed this right when I started looking at the core file 1256

Re: [OpenSIPS-Devel] SF.net SVN: opensips:[7486] branches/1.6/modules/dialog

2010-12-09 Thread Richard Revels
This is cool. I know I've wanted this in the past. Just never thought to ask for it. Thank you for putting it in. Richard On Dec 8, 2010, at 6:46 AM, Bogdan-Andrei Iancu wrote: Revision: 7486 http://opensips.svn.sourceforge.net/opensips/?rev=7486view=rev Author: bogdan_iancu

Re: [OpenSIPS-Devel] SF.net SVN: opensips:[7448] trunk/modules/textops/textops.c

2010-12-03 Thread Richard Revels
Outstanding. Thank you! I'll go update a couple of servers this weekend. Richard On Dec 3, 2010, at 6:43 AM, Anca Vamanu wrote: Hi Richard, On 12/02/2010 10:41 PM, Richard Revels wrote: I've started looking at using the b2bua module to play music (or whatever) to the far end when

Re: [OpenSIPS-Devel] SF.net SVN: opensips:[7448] trunk/modules/textops/textops.c

2010-12-02 Thread Richard Revels
I've started looking at using the b2bua module to play music (or whatever) to the far end when they are put on hold so have been pretty interested in the recent commits to that module and now this one. Are these changes designed to make doing that painless with the b2bua? While I'm here,

[OpenSIPS-Devel] media proxy with sangoma

2010-08-26 Thread Richard Revels
Bogdan and Saul (or anyone else for that matter), Good morning. I was wondering if either of you had been approached by Sangoma at the ClueCon Convention? They have a transcoding board that seems fairly inexpensive per channel. I mentioned I would be quite interested if they did some work

Re: [OpenSIPS-Devel] media proxy with sangoma

2010-08-26 Thread Richard Revels
of this. Who did you talk to from Sangoma ? I would gladly add a little bit more weight to your demand ;-) Best regards, Dominique Le 26 août 2010 à 15:40, Richard Revels a écrit : Bogdan and Saul (or anyone else for that matter), Good morning. I was wondering if either of you had been

Re: [OpenSIPS-Devel] media proxy with sangoma

2010-08-26 Thread Richard Revels
regards, Dominique Le 26 août 2010 à 15:40, Richard Revels a écrit : Bogdan and Saul (or anyone else for that matter), Good morning. I was wondering if either of you had been approached by Sangoma at the ClueCon Convention? They have a transcoding board that seems fairly inexpensive

Re: [OpenSIPS-Devel] [ opensips-Bugs-3035600 ] usrloc:db_mode=2 causes register:max_contacts=1 to fail

2010-08-01 Thread Richard Revels
Bogdan, With that configuration are you able to unregister by sending a register with expires set to zero? I've been meaning to go back and test this but I have the impression you can't due to the proxy bumping it up to min expires. Sent from my iPhone On Aug 1, 2010, at 2:43 PM,

Re: [OpenSIPS-Devel] SF.net SVN: opensips:[7036] trunk/modules/b2b_entities/dlg.c

2010-07-20 Thread Richard Revels
Is this for the case where, for example, a reinvite comes in from the calling party and the called party sends a bye before responding to the reinvite? On Jul 20, 2010, at 7:34 AM, Anca Vamanu wrote: Revision: 7036 http://opensips.svn.sourceforge.net/opensips/?rev=7036view=rev

Re: [OpenSIPS-Devel] [ opensips-Bugs-3028327 ] nat_traversal damaged between r6844 and r6972?

2010-07-12 Thread Richard Revels
I haven't checked this since I saw a note about fixing contact mangling on the list but, I found that nat ping was broke when I added a tag to the contact from within the config for register. No idea when problem started. If your config is something like this: modparam(registrar,

Re: [OpenSIPS-Devel] [ opensips-Bugs-3028327 ] nat_traversal damaged between r6844 and r6972?

2010-07-12 Thread Richard Revels
remember exactly. Anyway, there is a bugfix from Bogdan (rev 7008) that looked to me like it fixed the problem based on the description. Richard On Jul 12, 2010, at 2:25 PM, Richard Revels wrote: I haven't checked this since I saw a note about fixing contact mangling on the list but, I found

Re: [OpenSIPS-Devel] [NEW] exchanging info between dialogs

2010-06-13 Thread Richard Revels
Nevermind. t_newtran() in the config block for re-invite lines up the dialog so the dialog flag I set is found. Still can't seem to use get_dialog_info to find a dialog in that block but I don't need it anymore. Richard On Jun 12, 2010, at 7:40 PM, Richard Revels wrote: Sorry, wrong log

Re: [OpenSIPS-Devel] [NEW] exchanging info between dialogs

2010-06-13 Thread Richard Revels
( dlg-tl, dlg-lifetime )==-1) LM_ERR(failed to update dialog lifetime\n); } Richard On Jun 13, 2010, at 8:54 AM, Richard Revels wrote: Nevermind. t_newtran() in the config block for re-invite lines up the dialog so the dialog flag I set is found. Still can't

Re: [OpenSIPS-Devel] cache_store timeout

2010-05-23 Thread Richard Revels
, Andreas -Original Message- From: devel-boun...@lists.opensips.org [mailto:devel- boun...@lists.opensips.org] On Behalf Of Richard Revels Sent: Saturday, May 22, 2010 8:50 PM To: OpenSIPS devel mailling list Subject: [OpenSIPS-Devel] cache_store timeout When trying to call

[OpenSIPS-Devel] cache_store timeout

2010-05-22 Thread Richard Revels
When trying to call cache_store with an avp as the timeout param I get a syntax error on startup. I would like to tack the timeout to the Expires value of a registration and was wondering if support for using an avp could be added. I was trying to use $(avp(s:expire-secs){s.int}) for the

[OpenSIPS-Devel] snmpstats problem

2010-04-26 Thread Richard Revels
I was doing a little performance testing over the weekend and noticed the snmp agent x process thread maxing out a core on my cpu. I also noticed the hard drive was getting blown up. It turned out that somewhere around 23,000 registered users an out of memory condition occurred in the

Re: [OpenSIPS-Devel] [ opensips-Bugs-2958254 ] Comma separated headers are not parsed by $hdr

2010-02-24 Thread Richard Revels
I'm kind of under the impression that $(hdr(name)[N]) will return the body of the Nth instance of the header. At least that's what the documentation states. 3.82 SIP Headers $(hdr(name)[N]) - represents the body of the N-th header identified by 'name'. If [N] is omitted then the body of the

Re: [OpenSIPS-Devel] [ opensips-Bugs-2936343 ] 'opensipsctl fifo get_statistics all' crashes opensips

2010-01-22 Thread Richard Revels
I have found that taking the snmp module out of the config allows the command to complete without crashing opensips. This hasn't always been the case but I don't know what revision the problem started with. I also don't have the opensips snmp config completely set up on this server.

Re: [OpenSIPS-Devel] [ opensips-Bugs-2936343 ] 'opensipsctl fifo get_statistics all' crashes opensips

2010-01-21 Thread Richard Revels
by a signal 12 Jan 21 18:08:19 guinea-pig1 osips-log[3931]: INFO:core:handle_sigs: core was not generated Jan 21 18:08:19 guinea-pig1 osips-log[3931]: INFO:core:handle_sigs: terminating due to SIGCHLD Richard Revels On Jan 21, 2010, at 12:51 PM, SourceForge.net wrote: Bugs item #2936343

Re: [OpenSIPS-Devel] SF.net SVN: opensips:[5181] trunk

2009-01-20 Thread Richard Revels
This should be very helpful. Will it be able to be back-ported to 1.4? On Jan 20, 2009, at 4:13 AM, Bogdan-Andrei Iancu wrote: Revision: 5181 http://opensips.svn.sourceforge.net/opensips/?rev=5181view=rev Author: bogdan_iancu Date: 2009-01-20 09:13:43 + (Tue, 20 Jan