[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Benoît Panizzon via sr-users
Hi Alex > But I'll have a shot at $nh, thanks for pointing that out! Thank you, using the $nh variables within the branch route solved all my issues with trying to determine where that branch is being sent to to correct handle some special CPE cases and rtpengine. Now for example I can correctly

[SR-Users] install location when compiling

2024-01-30 Thread David Villasmil via sr-users
Hello guys, i compiled kamailio and i want it installed on debian's deb location, i.e.: /etc/kamailio /usr/lib/x86_64-linux-gnu/kamailio/modules etc.. I know if i do make prefix=/ all make prefix=/ install the config will end up on /etc/kamailio, but then the modules will be on /lib64... i don

[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Benoit Panizzon via sr-users
Hi Alex Only drawback I have with this is, when cycling through registered contacts and adding branches. I can only have one trigger. > request_route { >... > >if(jittery) >t_on_branch("BRANCH_DECAF"); >else >t_on_branch("BRANCH_REGULAR"); A

[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Alex Balashov via sr-users
Hi Benoit, > On 30 Jan 2024, at 08:28, Benoit Panizzon wrote: > > Hi Alex > >> As is often the case, there is a useful opportunity here to step back, >> switch to decaf, and ask why you want to call 'exit' from a branch_route in >> the first place. > > :-) > > Actually I intended to call 'r

[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Benoit Panizzon via sr-users
Hi Alex > As is often the case, there is a useful opportunity here to step back, switch > to decaf, and ask why you want to call 'exit' from a branch_route in the > first place. :-) Actually I intended to call 'return(1)' to stop processing that actual route and continue in the calling route

[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Alex Balashov via sr-users
As is often the case, there is a useful opportunity here to step back, switch to decaf, and ask why you want to call 'exit' from a branch_route in the first place. > On 30 Jan 2024, at 06:49, Benoit Panizzon via sr-users > wrote: > > Hi > > I was wondering what exactly happens with parallel

[SR-Users] Re: Same number of max concurrent requests on backends

2024-01-30 Thread Benoit Panizzon via sr-users
Hi Unai > It looks like now I have all pieces configured and I can see output when I > run "kamctl dialog show”. Is there a way to verify that the load balancing is > working as expected (aside from reproducing the production scenario)? Is > there any log to enable and/or look at? Any stats or

[SR-Users] Re: Same number of max concurrent requests on backends

2024-01-30 Thread Unai Rodriguez via sr-users
Dear List, It looks like now I have all pieces configured and I can see output when I run "kamctl dialog show”. Is there a way to verify that the load balancing is working as expected (aside from reproducing the production scenario)? Is there any log to enable and/or look at? Any stats or modul

[SR-Users] What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Benoit Panizzon via sr-users
Hi I was wondering what exactly happens with parallel branching in this situation: branch_route[BR_T] { if (condition) { # Stuff below not required exit or return } do other stuff before relaying } Will this break, stop th