Re: [OpenSIPS-Users] opensips 2.3

2018-01-22 Thread Tito Cumpen
Hey Razvan, I believe I found out what was causing the acc logic crash this failure route block: failure_route[missed_call] { rtpengine_delete("delete-delay=0"); xlog("this failure missed call failure to $ci on missed call failure block for reason $err.rreason \n"); drop

[OpenSIPS-Users] get_dynamic_lock best practice

2018-01-22 Thread Cinthia Leung
Hello all, We're trying to use get_dynamic_lock as a solution to a race condition. OpenSIPS receives an in-dialog INVITE and UPDATE almost at the same time from a UAS and passes both to the SIP client immediately. The client responds to whichever one arrives first and sends a SIP 500 to the secon

Re: [OpenSIPS-Users] Upcoming LTS version?

2018-01-22 Thread Bogdan-Andrei Iancu
Hi Matine, 2.4 will be an LTS and it will not obsolete 2.2 (they will overalap for some time) - see http://www.opensips.org/About/AvailableVersions Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.

Re: [OpenSIPS-Users] Dispatcher not probing

2018-01-22 Thread Bogdan-Andrei Iancu
Hi Pete, The DB schema is documented here: http://www.opensips.org/Documentation/Install-DBSchema-2-3#AEN4379 State "1" means disabled and this explains the no-probing behavior. Still, you claim that the in-memory state is Probing, according to the MI ds_list commandSo, which is the right

Re: [OpenSIPS-Users] Dispatcher module documentation

2018-01-22 Thread Bogdan-Andrei Iancu
Hi Pete, The link you posted does not work for me (maybe the docs were updated in the mean while). But there is no module param or DB column "probe mode" or so So, can you point again to the problematic configuration option ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Develo

Re: [OpenSIPS-Users] rtpproxy error messages

2018-01-22 Thread John Quick
Hello Razvan, I have just seen your response to my question. Thank you for explaining the rtpproxy error messages. I will try the -L parameter as you suggest. I think this will be the answer. John Quick Smartvox Limited Web: www.smartvox.co.uk > Hi, John! > > Those errors are reported by the RT

Re: [OpenSIPS-Users] rest_api request to HTTPS site with pem file

2018-01-22 Thread Jonathan Hunter
Perfect thanks Liviu! Jon From: Users on behalf of Liviu Chircu Sent: 22 January 2018 12:55 To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] rest_api request to HTTPS site with pem file Using exec() is definitely a viable solution. Moreover, you c

Re: [OpenSIPS-Users] rest_api request to HTTPS site with pem file

2018-01-22 Thread Liviu Chircu
Using exec() is definitely a viable solution. Moreover, you can even wrap it around an async() call, so you don't hinder the SIP throughput. Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 22.01.2018 14:53, Jonathan Hunter wrote: Hi Liviu, Cool great news

Re: [OpenSIPS-Users] rest_api request to HTTPS site with pem file

2018-01-22 Thread Jonathan Hunter
Hi Liviu, Cool great news I will do that shortly on github and thanks for the response. So in short term would you suggest I just look to execute my php script to fire the https request for the time being from within my opensips.cfg? Many thanks Jon Get Outlook for iOS

Re: [OpenSIPS-Users] rest_api request to HTTPS site with pem file

2018-01-22 Thread Liviu Chircu
Hi Jonathan, Unfortunately, the rest_client module does not currently support custom SSL client certificates - you can only specify the "ssl_capath" in order to validate remote sites that you connect with. The good news is that adding this feature looks quite trivial [1], so we may as well th

[OpenSIPS-Users] rest_api request to HTTPS site with pem file

2018-01-22 Thread Jonathan Hunter
Hi guys, Sorry for this question! I am looking to send an https request using an ssl cert with the rest_client module, and Im not sure how to achieve this and if its possible? I have been testing with a php script which works fine using stream_context_set_option($ctx, 'ssl', 'local_cert', $