On 08/12/05 19:59, Klaus Darilion wrote:
I didn't knew that load_contacts clears all
branches - now things are
much clearer.
Neither do I. It is in the todo list to add proper serial forking (based
on q) to tm or core -- maybe reusing/moving next_contacts() could be an
option now and update usrloc/registrar to set the proper list of avps
when doing lookup ...
Daniel
For the files:
enum_query(); # load all sip NAPTRs into the current branches and
# set q value according to NAPTR priority
load_contacs(); # load current branches into AVPs considering q values
# and clear all existing branches
next_contacts();# create branch(es) with highest prior AVP(s)
t_relay();
Now, only the highest prior NAPTR(s) is in the branch.
regards,
klaus
Juha Heinanen wrote:
Klaus Darilion writes:
Sorry for my ignorance, but how do I specify
serial forking?
see load_contacts/next_contacts documentation of lcr module.
-- juha