Re: [OpenSIPS-Users] Dialplan regex help

2020-01-22 Thread Tomi Hakkarainen
Hi, The replacement should be \1 not \2. At least in my tests on https://regexr.com with \2 the result is 9729 and with \1 its 972123456789 Matching Regular Expression - ^0[0-9]{8}$ Substitution Regular Expression: ^(0)([0-9]{8})$ Replacement Expression:9

Re: [OpenSIPS-Users] Include ECDHE cipher suites in TLS

2020-01-22 Thread Ali Alawi
Dear Callum, Thanks a lot. it help me to establish a TLS connection with ECDH suite. but I used my own certificate.pem rather than the one you mentioned sip.crt. Actually, I couldn't figure out from where I can get this kind of .crt files. On Mon, Jan 20, 2020 at 11:49 AM Callum Guy wrote: > Hi

Re: [OpenSIPS-Users] Dialplan regex help

2020-01-22 Thread Liviu Chircu
Hi Sharad, Your solution seems correct to me, and should be working. The only possible improvement I see, purely cosmetical: * match_exp: ^0[0-9]{8}$ * subst_exp: ^0([0-9]{8})$ * repl: 972\1 Does your current rule not work for you, or are you just asking for confirmation? Best regards, Li

[OpenSIPS-Users] Dialplan regex help

2020-01-22 Thread Sharad Kumar via Users
Hey guys, I need your little help in regex, I have a regex that search the 9 Digits DID and append 972 as a prefix. So for example - DID - 012345678 After regex - 9720123456789 But now I want to remove the first 0 by regex so that I should get the output like this - 97212345678 These are my c

Re: [OpenSIPS-Users] A Clear Install manual anyone?

2020-01-22 Thread James Hogbin
I’ve just done one on Azure hosted Unbuntu 18.x (bionic) Please make sure you use SSH & an NSG that only permits ssh from your own IP address. https://github.com/hogbinj/OpenSips/blob/master/Base%20Config.md Will update it as I go along and get things configured (TLS, hostnames etc etc) J/. J

[OpenSIPS-Users] [Reminder] OpenSIPS Bootcamp EarlyBirds closure

2020-01-22 Thread Bogdan-Andrei Iancu
Hi all, A quick reminder, the 10% Early Birds discount for the OpenSIPS Bootcamp in Miami expires on 1st of February. There are cool things you can do with $300 in Miami, so do not miss the opportunity here ;). https://opensips.org/training/OpenSIPS_Bootcamp_2020/ Best regards, -- Bogdan-An

Re: [OpenSIPS-Users] flags

2020-01-22 Thread Liviu Chircu
On 22.01.2020 00:40, volga629 via Users wrote: In latest master what change is require right now to accommodate all flags functions. Script file test produce if(isflagset(FLAG_FROM_PEER)) { Hi, Volga! The answer is: isflagset("FLAG_FROM_PEER") In short: we tried to make the language more co