[OpenSIPS-Users] Opensips realtime rating with NPANXX

2021-02-17 Thread Vic Jolin
Hi, this article below, gives example for realtime rating for international destination. https://blog.opensips.org/2020/04/07/real-time-rating-and-cost-based-routing-in-opensips-3-1/ Is there an article for configuring NPANXX, with INTER, INTRA, INDETERMINATE rates available?

[OpenSIPS-Users] Opensips realtime rating with NPANXX

2021-02-15 Thread Vic Jolin
Hi, this article below, gives example for realtime rating for international destination. https://blog.opensips.org/2020/04/07/real-time-rating-and-cost-based-routing-in-opensips-3-1/ Is there an article for configuring NPANXX, with INTER, INTRA, INDETERMINATE rates available?

Re: [OpenSIPS-Users] Flatstore files missing calls

2020-10-02 Thread Vic Jolin
If you rotate before moving or renaming you might have an issue. On Fri, Oct 2, 2020, 10:48 PM Saint Michael, wrote: > But I move the file to another box, via an NFS mount. > That's why my approach is better. I build a list of files, rotate, and > then move the files across the Internet. > > >

[OpenSIPS-Users] opensips crash help

2020-09-16 Thread Vic Jolin
Helo, Can anyone help me know why opensips crashing? The last core dump backtrace is as follows... #0 0x7f6cc4be5786 in shm_str_dup (src=0x7f6d78ed64d8, dst=) at ../../ut.h:736 No locals. #1 dlg_clone_callee_leg (dlg=dlg@entry=0x7f6d72b45050, cloned_leg_idx=cloned_leg_idx@entry=6) at

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
Best regards, > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 8/27/20 11:21 AM, Vic Jolin wrote: > > Yes we rotate it via cron. And each process creates a different > > flatstore file. > > > > Is it relative to traffic

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
ate command > 3. process the CDR file > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 8/27/20 11:21 AM, Vic Jolin wrote: > > Yes we rotate it via cron. And each process creates a different > > flatst

[OpenSIPS-Users] segmentation fault

2020-09-15 Thread Vic Jolin
Hello, Kindly help me to debug, I was trying to do restart persistence on restart but when I start opensips it crashes and from the core file there is something like this Program terminated with signal 11, Segmentation fault. #0 0x0054188e in hp_init_rpm_statistics (hpb=0x55053228)

[OpenSIPS-Users] Rotating flatstore files

2020-09-10 Thread Vic Jolin
Occassionally I come across an issue when I run the flatstore rotate command, it gets stuck. The command is running for a long time about 10 mins. And no new flatstore files created. Just to mention I follow the instructions on how to rotate flatstore files. Its working most of the time but it

Re: [OpenSIPS-Users] opensips-cli dlg_end stuck in process

2020-08-28 Thread Vic Jolin
Thanks for your reply., I've always wanted to work on the new module, but I cant seem to make it work properly. Can you point me in the right direction? Thank you On Fri, Aug 28, 2020 at 2:58 AM Liviu Chircu wrote: > On 27.08.2020 21:45, Vic Jolin wrote: > > shell_exec("/usr/loca

[OpenSIPS-Users] opensips-cli dlg_end stuck in process

2020-08-27 Thread Vic Jolin
Hello, I have an outside PHP script that reads the dialog calls and when I try to end a dialog using the dialog id shell_exec("/usr/local/bin/opensips-cli -x mi dlg_end_dlg 83719145016"); it just get stuck in the process ___ Users mailing list

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Vic Jolin
tation process. > Are you dumping all CDRs in a single file, or each process has its own > file? > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 8/27/20 11:01 AM, Vic Jolin wrote: > > Hi Razvan, > &g

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Vic Jolin
t whether there are no CDR files generated, > or you're just missing some of them. Could you please clarify? > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 8/7/20 9:50 AM, Vic Jolin wrote: > > I still need to cla

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-07 Thread Vic Jolin
. > > However, you can still check your permissions for "/var/log/acc". Or, jist > temporary use "/tmp" path to make sure this is not a permission problem. > > On Thu, Aug 6, 2020 at 2:14 PM Vic Jolin wrote: > >> Staz, >> >> Hi than

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Vic Jolin
t 1:39 AM Stas Kobzar wrote: > Hello, > > You should create the file with headers. You can copy required storage > file from here: > https://github.com/OpenSIPS/opensips/tree/master/scripts/dbtext/opensips > > And, of course, make sure you have good owner and permissions se

[OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Vic Jolin
Hello, What are the reasons why flatstore files are not being created? Im seeing this output in a binary journal file, and not from a normal log file I have my output logs in /var/log/messages (but we do not see it coming here as well) ACC: call ended:

[OpenSIPS-Users] Flatstore files missing calls

2020-08-05 Thread Vic Jolin
Hello, What are the reasons why flatstore files are not being created? Im seeing this output in a binary journal file, and not from a normal log file I have my output logs in /var/log/messages (but we do not see it coming here as well) ACC: call ended:

[OpenSIPS-Users] How to get the routing rule and gateway list only

2020-07-28 Thread Vic Jolin
Hi, So I have a LRN number from a lrn dipping service and so I set $rU = $avp(reply); and then I have if ( !do_routing(1,"F",,,$var(gw_attributes)) ) { my question is, the LRN number is being dialed instead of the orig dialed number, is it proper to just get the routing rules and carriers

Re: [OpenSIPS-Users] Carrier ID and Rule ID not populating flatstore

2020-07-14 Thread Vic Jolin
Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 7/2/20 7:13 PM, Vic Jolin wrote: > > Hello, > > > > I have this for drouting > > loadmodule "drouting.so" > > modparam("drouting", "rule_prefix_a

[OpenSIPS-Users] changing callerids

2020-07-09 Thread Vic Jolin
Hi, Are there other ways of "changing" callerids for a certain call aside from uac_replace_from? And what is the correct way of doing this? I have uac_replace_from("$avp(650)", ""); I find it giving errors when I try to update the uri with sip:$avp(650)@ipadddress:poprt

Re: [OpenSIPS-Users] Carrier ID and Rule ID not populating flatstore

2020-07-03 Thread Vic Jolin
ng(). > > [1] https://opensips.org/docs/modules/3.1.x/acc.html#ACC-extra-id > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 7/2/20 7:13 PM, Vic Jolin wrote: > > Hello, > > > > I have this fo

[OpenSIPS-Users] Carrier ID and Rule ID not populating flatstore

2020-07-02 Thread Vic Jolin
Hello, I have this for drouting loadmodule "drouting.so" modparam("drouting", "rule_prefix_avp", '$avp(dr_prefix)') modparam("drouting", "carrier_id_avp", '$avp(carrier_id)') modparam("drouting", "gw_id_avp", '$avp(gw_id)') modparam("drouting", "ruri_avp", '$avp(dr_ruri)') modparam("drouting",

Re: [OpenSIPS-Users] Carrier ID for accounting

2020-07-01 Thread Vic Jolin
. > > [1] https://opensips.org/docs/modules/3.1.x/acc.html#param_extra_fields > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 7/1/20 7:33 AM, Vic Jolin wrote: > > Hi, > > > > I was trying to put the carrier id in th

Re: [OpenSIPS-Users] Carrier ID for accounting

2020-07-01 Thread Vic Jolin
details. > > [1] https://opensips.org/docs/modules/3.1.x/acc.html#param_extra_fields > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 7/1/20 7:33 AM, Vic Jolin wrote: > > Hi, > > > > I was trying to put the carrier id in

[OpenSIPS-Users] Carrier ID for accounting

2020-06-30 Thread Vic Jolin
Hi, I was trying to put the carrier id in the acc extra fields but Im getting Jul 1 04:00:16 Opensip opensips: #011$acc_extra(carrierid) = $avp(carrier_id); Jul 1 04:00:16 Opensip opensips: #011^~ Jul 1 04:00:16 Opensip opensips: Jul 1 04:00:16 Opensip opensips:

[OpenSIPS-Users] do_routing with failover to shorter prefix

2020-06-25 Thread Vic Jolin
Hi, So I have this in my opensips.cfg if ( !do_routing($(avp(drgID){s.int}),$var(gw_attributes)) ) { send_reply(404,"No Route found"); exit; } And I know that do_routing will match on the longer prefix on dr_rules table first. My question is Now after failing on all the routes, can we

Re: [OpenSIPS-Users] opensips-cli dp_reload not working

2020-06-25 Thread Vic Jolin
) generated during the reload > attempt. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > > On 6/17/20 10:01 PM, Vic Jolin wrote: > > Bogdan, > > Hi, the dialplan loads properly on start up, it

[OpenSIPS-Users] dp_reload does not reload from database

2020-06-22 Thread Vic Jolin
Hi, So I have this dialplan with attributes on it, and then I decided to remove those attributes and after doing that I executed "*opensips-cli -x mi dp_reload*" and it says *OK*, but when I tried to dial, it still shows the attributes. I am using opensips 3.0, anything I can check?

[OpenSIPS-Users] opensips-cli dp_reload not working

2020-06-17 Thread Vic Jolin
Hi, I've been trying to get my dialplan to reload but Im still getting the old dialplan when I test. the old dialplan has attributes on it, but I removed it, and when I tried opensips-cli -x mi dp_reload I am still getting the old attribute. Anything else I should do or check?

[OpenSIPS-Users] Fwd: Opensips 3.0 permission table not sending proper context info

2020-06-17 Thread Vic Jolin
Hi all, I have IP addresses setup in my mysql table address ++-++--+--+---+-+--+ | id | grp | ip | mask | port | proto | pattern | context_info | ++-++--+--+---+-+--+ | 9 |

[OpenSIPS-Users] siptrace to mysql

2013-04-15 Thread Vic Jolin
How much additional load is added when siptrace is turned on, but the database server is different. Meaning I have a separate DB just for doing sip traces. ___ Users mailing list Users@lists.opensips.org

[OpenSIPS-Users] Opensip CDRs inaccurate

2011-12-06 Thread Vic Jolin
We have been running opensip for quite sometime now, and we are doing CDRS by flatstore module and then migrating it to a database server. Everything works fine, the problem is that when we try to check our CDRs to our provider's there's a big discrepancy on connected calls. Almost at 40,000

Re: [OpenSIPS-Users] Missing calls in CDR

2011-11-04 Thread Vic Jolin
dealing with ? Can you replicate a scenario where you make a call and, even after query_flush_time seconds you do not see the CDR in the DB ? Regards, Vlad Paiu OpenSIPS Developer On 11/03/2011 10:20 PM, Vic Jolin wrote: Hi guys, Im trying to figure out why there are missing calls in our

[OpenSIPS-Users] Missing calls in CDR

2011-11-03 Thread Vic Jolin
Hi guys, Im trying to figure out why there are missing calls in our CDR. We are not using any other app but opensip to populate the CDRs but at the end of the day, we are like missing 1,000 calls in our CDRs, We generate lots of traffic and I'm thinking if query_buffer_size=5

[OpenSIPS-Users] Implementing security on opensip servers

2011-07-22 Thread Vic Jolin
Hi, I want to ask what types of security measures can we implement on an opensip server? TIA ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] nat_traversal segmentation fault

2011-07-08 Thread Vic Jolin
Hi, thanks for your time but I think it was just an error on my configuration On Fri, Jul 8, 2011 at 11:59 PM, Bogdan-Andrei Iancu bog...@opensips.orgwrote: ** Hi Vic, could you get a backtrace from the core you got ? Thanks and Regards, Bogdan On 07/05/2011 09:48 PM, Vic Jolin wrote

[OpenSIPS-Users] nat_traversal segmentation fault

2011-07-05 Thread Vic Jolin
Hi, after a few minutes that opensip is running, opensip just stops without errors in console, so I started it to make a core dump. the core dump output is as follows Core was generated by `opensips -m 6000'. Program terminated with signal 11, Segmentation fault. #0 hash_string

Re: [OpenSIPS-Users] not enough memory when using drouting

2010-12-31 Thread Vic Jolin
for the number of rules you have (see http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id249169). To adjust the share mem used by OpenSIPS, either use the -m cli param (number of Mb) or see the SHM_MEM_SIZE define in config.h (requires re-compiling). Regards, Bogdan Vic Jolin wrote

[OpenSIPS-Users] not enough memory when using drouting

2010-12-30 Thread Vic Jolin
We are experiencing a lot of this: Dec 30 16:45:09 [3016] ERROR:drouting:dr_load_routing_info: failed to add routing info for rule id 83483 - skipping Dec 30 16:45:09 [3016] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation Our server memory is at 4GB and free Ram is

Re: [OpenSIPS-Users] Hardware requirement for opensip

2010-12-08 Thread Vic Jolin
) Kingston SSD disks The proxy is used for aggregating US and Canadian callcenter traffic, drouting ( 3 vendors, 30k codes each), no nat, no registrar, etc, just IP auth. -Laszlo (It is just my experience, not a suggestion or a recommendation) 2010/12/3 Vic Jolin victor.jo...@gmail.com

Re: [OpenSIPS-Users] just one quick question

2010-12-07 Thread Vic Jolin
. Then the proxy will allow the call only for that maximum period and it will generate the START and STOP accounting events to the RADIUS server. Regards, Bogdan Vic Jolin wrote: If I were to use freeradius for accounting, where should I put user list? and also I'd like to check credit

[OpenSIPS-Users] Is opensip on Centos

2010-12-07 Thread Vic Jolin
Is opensip ok running on centos? We are trying centos from our lab but we can't even increase CPS to 50 even for a stateless configuration ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Is opensip on Centos

2010-12-07 Thread Vic Jolin
we've even removed all features and just doing simple proxying but still can't bring it up On Wed, Dec 8, 2010 at 1:22 AM, Peter Lemenkov lemen...@gmail.com wrote: 2010/12/7 Vic Jolin victor.jo...@gmail.com: Is opensip ok running on centos? Yes, sure. We are trying centos from our lab

[OpenSIPS-Users] just one quick question

2010-12-06 Thread Vic Jolin
If I were to use freeradius for accounting, where should I put user list? and also I'd like to check credit as well before calling. Thanks ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Hardware requirement for opensip

2010-12-03 Thread Vic Jolin
Hi all, Just wanted to ask what is the hardware requirement to achieve at least 5000 cps? Is that even possible? Thanks! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Hardware requirement for opensip

2010-12-03 Thread Vic Jolin
) -Laszlo 2010/12/3 Vic Jolin victor.jo...@gmail.com Hi all, Just wanted to ask what is the hardware requirement to achieve at least 5000 cps? Is that even possible? Thanks! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org

Re: [OpenSIPS-Users] Hardware requirement for opensip

2010-12-03 Thread Vic Jolin
) Kingston SSD disks The proxy is used for aggregating US and Canadian callcenter traffic, drouting ( 3 vendors, 30k codes each), no nat, no registrar, etc, just IP auth. -Laszlo (It is just my experience, not a suggestion or a recommendation) 2010/12/3 Vic Jolin victor.jo...@gmail.com

Re: [OpenSIPS-Users] Hardware requirement for opensip

2010-12-03 Thread Vic Jolin
When more than 100 calls, calls does not complete, it's like sip packets are not being sent properly 2010/12/4 Stanisław Pitucha virap...@gmail.com On 03/12/10 16:03, Vic Jolin wrote: I have been having problems with my opensip installation, I cant even do more than 100 cps, You'll have

Re: [OpenSIPS-Users] Hardware requirement for opensip

2010-12-03 Thread Vic Jolin
Yes these are real calls On Sat, Dec 4, 2010 at 12:55 AM, Laszlo las...@voipfreak.net wrote: These are real calls, or some kind of sipp generated traffic? 2010/12/3 Vic Jolin victor.jo...@gmail.com When more than 100 calls, calls does not complete, it's like sip packets are not being sent

[OpenSIPS-Users] opensip problem with too many calls,

2010-12-02 Thread Vic Jolin
Hi all, I just started playing around with opensip and I've already tested it with single calls, the problem Im having is when there are multiple calls coming in, we see a lot of INVITES but somehow the calls does not complete, I mean I dial and nothing else happens. Im only sending about 20 cps