Re: [OpenSIPS-Users] Usage of TLS require_cert and verify_cert settings

2021-04-28 Thread Vlad Patrascu
Hi Adrian, It is not possible to change those parameters on the fly. But I think you can implement your scenarios by setting a domain with require_cert=0, verify_cert=0 and using the is_peer_verified() script function to check the connections from the remote server. Regards, -- Vlad

Re: [OpenSIPS-Users] $b2b_logic.entity(id) in [reply_route] B2B module opensips 3.2

2021-04-28 Thread Vlad Patrascu
HI Xaled, The variable should normally be available in b2b_logic's reply route. Do you get the same result for the 200 OK reply or other replies? Also, is the other information about the entity available ($b2b_logic.entity(callid), $b2b_logic.entity(key)) ? Regards, -- Vlad Patrascu

Re: [OpenSIPS-Users] routing function variable scope

2021-04-28 Thread Kingsley Tart
On Wed, 2021-04-28 at 15:27 +0300, Liviu Chircu wrote: > On 28.04.2021 15:19, Kingsley Tart wrote: > > Is there a better way, apart from trying to make sure that variables in > > each function don't share names with variables in other functions? > > No, you have to manage those iterator names and

Re: [OpenSIPS-Users] routing function variable scope

2021-04-28 Thread Liviu Chircu
On 28.04.2021 15:19, Kingsley Tart wrote: Is there a better way, apart from trying to make sure that variables in each function don't share names with variables in other functions? No, you have to manage those iterator names and make sure the logic still holds during nested calls. Best, --

[OpenSIPS-Users] routing function variable scope

2021-04-28 Thread Kingsley Tart
Hi, (sorry!) Is there a way in routing functions to create variables local to just that function? I had a problem earlier where I had a function call another, and they both used the same var name (intending them to be local to the function), but the sub-function ended up overwriting the value