Re: [OpenSIPS-Users] Dispatcher module disable gateway after X failures, auto re-enable after some time

2017-10-31 Thread Adam Raszynski
re > detection), you can get the event and force the destination into Inactive ; > after some custom amount of time, you can put it back into Probing mode, to > allow OpenSIPS to re-enable it. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > h

[OpenSIPS-Users] Optimal trunk capacity filling algorithm or capacity-aware LCR

2017-10-30 Thread Adam Raszynski
Hi All, I'm looking for a solution to a problem that is not OpenSIPS specific, but for sure some of you have dealt with this, and maybe someone can suggest optimal solution, so I could not re-invent the wheel It's all about proper filling of available termination trunk capacity, but not the trivi

[OpenSIPS-Users] Dispatcher module disable gateway after X failures, auto re-enable after some time

2017-10-28 Thread Adam Raszynski
Hi Could you suggest some working configuration of the dispatcher module for the following setup: - Flag gateway as failed (even if it's still responding to OPTIONS) after some number of consecutive call failures. That's the easy part - Automatically un-flag gateway after some time, to allow re-

[OpenSIPS-Users] [Paid support needed] Fix OpenSIPS configuration to add TCP support

2014-10-05 Thread Adam Raszynski
Hi All, I'm looking for paid support in fixing my opensips config file All interested OpenSIPS hackers are welcome: https://www.freelancer.pl/projects/Software-Architecture-Linux/Fix-OpenSIPS-configuration-add-TCP.html Hope that's good group, I've searched but didn't find better place to post

[OpenSIPS-Users] Check if local user is registered and not busy

2013-05-14 Thread Adam Raszynski
Hi all, I would like to know is it possibble to check in OpenSIPS if user that is destination of a call is registered and not busy (no other calls to same username) without sending INVITE request? I need this to create some kind of dynamic routing with busy detection Any tips? __

Re: [OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Adam Raszynski
Nevermind, the problem was with X-Lite softphone After receiving first 503 error it stops sending further requests for about one minute and report Service Unavailable error (very misleading, the error looks exactly like when it receives real 503) No problem with OpenSIPS itself at all Thanks for

Re: [OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Adam Raszynski
modules/1.9.x/dispatcher.html#id250429 > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > > On 02/20/2013 12:31 PM, Adam Raszynski wrote: > > Hi > > When I use dispatcher module and it gets 50x response from desti

[OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Adam Raszynski
Hi When I use dispatcher module and it gets 50x response from destination host it automatically marks that destination as inactive for some time period I only need to disable destinations when they don't respond for OPTIONS probing 50x errors should not mark destinations as inactive How to do t

Re: [OpenSIPS-Users] Help trace source of error: unknown URI param list excedeed

2013-02-20 Thread Adam Raszynski
;>>> One thing that you can do is to recompile with an increased number of >>>> URI_MAX_U_PARAMS. >>>> See parser/msg_parser.h and increase the URI_MAX_U_PARAMS from 5 to 10. >>>> #define URI_MAX_U_PARAMS 10 >>>> >>>> If you ena

[OpenSIPS-Users] Help trace source of error: unknown URI param list excedeed

2013-02-13 Thread Adam Raszynski
Hi Recently I have discovered increasing amount of the following errors in my logs: Feb 13 09:36:59 node1 /usr/sbin/opensips[10458]: ERROR:core:parse_uri: unknown URI param list exceeded I see this error is repeated many thousands of times in my log Questions: - What does this error mean? - How

[OpenSIPS-Users] 100% CPU on MySQL connection lost

2012-12-10 Thread Adam Raszynski
Hi Tried versions: 1.7.2 and 1.8 I have problem with OpenSIPS taking 100% CPU while trying to reconnect on MySQL connection lost. I make database backups every night and then for about 15 minutes database is locked during backup procedure to prevent data corruption. I understand that OpenSIPS i

[OpenSIPS-Users] Fix empty lines in SIP headers generated by buggy hardware

2012-11-22 Thread Adam Raszynski
Hi I have problem with some buggy hardware ATAs and routers, some of them mess SIP requests by adding empty lines (\n or \r\n) between headers. For example: Via: SIP/2.0/UDP 80.1.1.1:5060;branch=z9hG4bKe89.28ac75a.0 To: sip:80.1.1.1 From: ;tag=13e3d64e25956fb4c1e2442af82f

Re: [OpenSIPS-Users] attack from friendly-scanner

2012-10-09 Thread Adam Raszynski
I use the following code on all my production OpenSIPS servers. It's CPU friendly and avoids being spotted by bots searching for open-relay VoIP servers. route{ # put it at the very beginning of route section if($ua=~"friendly-scanner") { xlog("L_ERROR", "Auth error for $fU@$fd f

Re: [OpenSIPS-Users] Migrating dispatcher module from 1.6.4 to 1.8.1

2012-10-09 Thread Adam Raszynski
Hi I have exactly the same problem with dispatcher module and MySQL after succesfoul ds_select_dst i get error: ERROR:core:new_avp: invalid AVP name! ERROR:core:add_avp: Failed to create new avp structure resulting 503 response back to UAC I'm using 1.8.0-notls version from debian apt reposito

[OpenSIPS-Users] Local calls behind load balancer/dispatcher

2012-10-05 Thread Adam Raszynski
Hi I would like to deploy the following scenario: - one box as load balancer (LB) - two boxes (S1,S2) acting as SIP proxy/registrars - LB monitors health of S1 and S2 and routes traffic to them only if they are reachable and working So example request flow is: User -> LB -> S1 The question is re

[OpenSIPS-Users] Is it safe to disable db_check_from?

2012-06-21 Thread Adam Raszynski
Hi In default opensips.cfg there is following line: if (!db_check_from()) { send_reply("403", "Forbidden Auth ID"); exit; } Beside that I authenticate all calls by using proxy_authorize function The problem is that some buggy/cheap ATA's can't be configured to use user in From field to be

Re: [OpenSIPS-Users] How to generate early media until call is established?

2012-06-06 Thread Adam Raszynski
OK, I found that append_branch is the way to go I create two branches, first for early media and second for the real call Now the question is how to "kill" early media branch when second branch sends 180 or 183 reply? ___ Users mailing list Users@lists.

[OpenSIPS-Users] How to generate early media until call is established?

2012-06-06 Thread Adam Raszynski
Hi All, Simple scenario: - OpenSIPS as call router to SIP termination provider - I have no control on remote gateways and can't generate early media there Current situation: - After dialing a number user hears silence until call is routed by my termination provider, call routing to mobile network

Re: [OpenSIPS-Users] Paid support - help create config for SIPPY B2BUA

2012-05-19 Thread Adam Raszynski
Thanks for offers, I selected one so this request is closed Kind Regards ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Paid support - help create config for SIPPY B2BUA

2012-05-19 Thread Adam Raszynski
Hi all I'm looking for OpenSIPS expert to help me create config file for use with SIPPY B2BUA For anyone interested, here's link for project details: http://www.freelancer.com/projects/Linux-VoIP/Help-fix-OpenSIPS-configuration-for.html Please feel free to PM me or contact via freelancer portal

[OpenSIPS-Users] How to log INVITEs with failed authentication

2012-03-13 Thread Adam Raszynski
Hi All, I would like to log all INVITE requests sent by users with wrong authentication details The problem is that I only need really failed auth INVITE attempts (with wrong username/password), not all requests sent with no credentials (before challenged by OpenSIPS). Following script logs also