[OpenSIPS-Users] listing branches, strange behaviour
Stanisław Pitucha
viraptor at gmail.com
Thu Feb 25 15:59:21 CET 2010
On 25.02.2010 14:47, Bogdan-Andrei Iancu wrote:
> and printing the $(branch(uri)[*]) just before the t_relay shows
> anything (a branch extra to RURI) ?
I have this in my config now:
--->8---
} else if(is_method("SUBSCRIBE")) {
xlog("L_ERR", "subscribe branches1: $(branch(uri)[*])\n");
t_check_trans();
record_route();
xlog("L_ERR", "subscribe branches2: $(branch(uri)[*])\n");
t_relay();
--->8---
In the log I get:
--->8---
subscribe branches1: <null>
subscribe branches2: <null>
--->8---
But still - two messages with different branches are sent.
I'm ok with doing some debugging, but tbh I'm not sure where to look for
the branch behaviour. Is there any obvious place to start poking around?
More information about the Users
mailing list