[OpenSIPS-Users] xlog works half the time

2011-02-25 Thread Brian Artigas
Hi All, I just built a new VM running CentOS 5.4 with the latest stable version of OpenSIPS from svn - I'm assuming 1.6.4-2. I copied my cfg file that worked perfectly on another VM that was running 1.6.1 to the new VM. I tweaked a few things: IP address, modules location, and commented out all

Re: [OpenSIPS-Users] Reject INVITEs with invalid (unable to be parsed) headers

2011-02-25 Thread Kennard White
Hi, I use a modified version of functions db_check_from() and db_check_to() from the "uri" module. See *patch upload **3076779.* This adds a "q" option so that parse errors don't end up in syslog and an "e" option to only check for well-formed-ness, not actually check the db. Regards, Kennard On

Re: [OpenSIPS-Users] route based on previous load_balance dialog

2011-02-25 Thread Dave Singer
stefano, You might look at the dialog module. Check if what you need is stored in the db for a dialog. You would need to have the db mode set to realtime. The nice thing if you can use dialog module is that it is built in to write the info to the db and clean it up. Otherwise you will need to writ

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-25 Thread Ovidiu Sas
That was the reason (back in the days for porting the ratelimit to openser): dialers. Dialers are capable of generating a high cps rate. In my case, I needed to distribute the calls over several GWs, each GW having a limit on cps and channel limit. When a GW trunk was saturated (in terms of cps o

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-25 Thread Ronald Cepres
Hi Ovidiu, Some of my subscribers use dialers which has an average cps of 100. In this case, does it still make sense to limit the rate of each subscriber? If it is, is there a way to implement it, considering there are limited number of pipes that can be used with opensips? Thanks! Regards, Ron

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-25 Thread Ovidiu Sas
Hello Bogdan, Just for the record, I am not against having more flexibility in building scripts and new features (like dynamic creation of pipes) are more then welcome. In my previous replies I was just pointing out that ratelimit-ing basic accounts and small trunks doesn't add more protection fo

Re: [OpenSIPS-Users] During the call, is OPENSIP support the client codec request of switching between Audio to Video or Video to Audio codec request to other client?

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Amit, OpenSIPS is doing only SIP signalling, so it has nothing to do with media and codecs - the only things you can do is to remove or change priorities of advertised codecs in SDP (during call negotiation). Regards, Bogdan Chaudhary, Amir wrote: Hi, During the call, is OPENSIP support

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Ovidiu, actually we were flirting for some time with extending the ratelimit module to allow dynamic creation of pipes - this will give you more flexibility in scripting and scenarios (like dynamic number of trunke, DB provisioning, etc).But this was a bit postponed as there are other

Re: [OpenSIPS-Users] running opensips under another user

2011-02-25 Thread Dave Singer
Anton, When you are trying to start it are you starting it using the -u opensips and -g opensips command line options to have it run as opensips user and group? That way in the startup script you can easily remove the dead pid as root (checking first to be sure opensips is not actually running).

[OpenSIPS-Users] route based on previous load_balance dialog

2011-02-25 Thread Stefano Sasso
Hello folks, I have this load_balance situation: opensips in front of 3 asterisk servers in a outbound only call-center. When a agent places a call, opensips load balance through the three asterisks. Now, we need to use the "ExtensSpy" command from asterisk, dialing something like ***123 (where

Re: [OpenSIPS-Users] non-transactional 4XX messages

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Jason, What is interesting for you would be : http://www.opensips.org/Resources/DocsCoreFcn16#toc38 As you say that 403 reply does not match any transaction on your opensips, it will be considered stateless and dropped - for this you have to be sure you are not using any stateless relay

Re: [OpenSIPS-Users] how to fit OpenSIPS into my scenario of database routing with more params?

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Georgy, In OpenSIPS, you have different module offering different functionalities, like src_IP detection, prefix based routing, groups/ACLS, etc. In order to get complex routing scenarios, you have to combine these functionalities in your routing script - routing logic. Now, in your em

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Dave, it is a know issue, so please reported as a bug, to keep trace and fix it. Best regards, Bogdan Dave Singer wrote: I tested setting up acc module to use the cdr_flag with dialog module. Works nicely until opensips is restarted while there is an open call. After an opensips restart, ca

Re: [OpenSIPS-Users] Errors while setting up Opensips

2011-02-25 Thread Bogdan-Andrei Iancu
Hi Sin, Just tested using the mysql backend and it seams to work fine. What DB backend are you using ? Regards, Bogdan Begg Sin wrote: Hi, list: I have had the same error as follows( appeared in the this list before, below): "Same problem chieftec:~# opensipsctl db show subscriber /us

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-25 Thread Igor Solovyov
Hi Vlad, Thanks for info. Yes, I already have 1.6.4 built, works perfectly. Regards, Igor. On Fri, Feb 25, 2011 at 12:42 PM, Vlad Paiu wrote: > Hello, > > The IP transformations are only available in 1.6.4 source code. I have > updated the documentation in 1.6.x on the website to also documen

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-25 Thread Vlad Paiu
Hello, The IP transformations are only available in 1.6.4 source code. I have updated the documentation in 1.6.x on the website to also document the IP, CSV and SDP transformations. Thanks for the help, Dave. Igor, the IP transformations are not available in 1.6.3, you would have to update t