Hello
I am using kamailio 1.5.2. Our kamailio server has multiple IPs, and 1 of them
happens to be a private IP for management purposes.
When enabling the "ping" feature of the LCR module the machine sends the
OPTIONS messages from the private IP. I need it to use at
least any of the publi
Hello,
On Thu, Mar 10, 2011 at 10:33 AM, Klaus Darilion <
klaus.mailingli...@pernau.at> wrote:
> Aha, so using an AVP as loop counter (I need the counter for the whole
> transcation lifetime) like:
>
> $avp(count) = $avp(count) + 1;
>
> would work (it does), but creates a new array element every
Aha, so using an AVP as loop counter (I need the counter for the whole
transcation lifetime) like:
$avp(count) = $avp(count) + 1;
would work (it does), but creates a new array element every calculation?
I guess the workaround to not create an array is to use always an index,
at least on the left
Hello,
AVPs are multi-value variables, so:
$avp(x) = 1;
$avp(x) = 2;
Create a list with two values, the last added is first retrieved. You can
use indexes to access them.
For example:
- $avp(x) will return now 2 (same as $(avp(x)[0]) )
- $(avp(x)[1]) will return 1
You can use variable as index
There is nothing wrong with the carriers, so I wouldn't want to mark them.
Just no route to destination type scenario.
I like daniels option with the drop on_branch. Only challenge I have is
keeping a list of all the flags I have already tried. Say I have five
carrier groups and I set the flags
Daniel-Constantin Mierla writes:
> > The issue I am running into is that in a scenario where
> > both my carriers respond with a 5XX, I end up presenting the same call to
> > all 4 gateways. I would like to present the call to one gateway on each
> > carrier and not try the same carriers second g
Hello,
I am not an extensive user of lcr module, but probably next_gw() adds a
branch each time is called in failure route.
If yes (when true you should see some parallel forking, depending o how the
addresses are selected), you can mark the "bad" branches with a branch flag
and drop them in a br
Hello,
I have a question about LCR which I have been unable to solve. I have 4
upstream carrier gateways owned by 2 carriers. Each carrier provides a
primary and secondary gateway for load balancing purposes. On a 5XX error I
am trying to send the same call to the other carrier. If both carrier