Hello,
While testing with v2.2.3 it looks like the behaviour of the do_routing()
function in the DROUTING module has changed.
From packet captures, I can see the call is parallel forking to the original
R-URI *and* to the first choice gateway destination from DRouting.
OpenSIPS sends two INVITE's
Hi, John!
The do_routing() function is not adding a branch so it must be added by
someone/something else.
What branch is first sent? The one to the gateway, or the one? Can you
provide a trace for such a call? If privacy is a concern, send it privately.
Best regards,
Răzvan Crainea
OpenSIPS
Update - problem solved.
It was bad data. I had a value of 1 in the dr_rules.routeid field which caused
do_routing to call route[1] which contained a t_relay statement.
This mistake was made after following the example for adding a new rule shown
in opensipsctl help:
dr addrule '10,20' '+1' '2