b2bl_key_avp is visible only after b2b_init_request(), but not visible in b2b_request/b2b_reply routes, as described in manual.
With the changes done by Ovidiu (rev #8610), this cannot work anymore - What Ovidiu changed, was to move the triggering of script routes (by the b2b_entities module) before the triggering of b2b_logic callback, so the b2b_logic cannot populate the "key" AVP as it is too late.
The triggering of b2b_logic was moved after the route triggering, so that the logic module can learn the message modification you do in the script.
Considering the situation, I see no other logic possibility than dropping the "key" AVP.
Refer to 3536658
Log in to post a comment.