Hello

I have an issue with call pickup after migration from opensips 3.2 to 3.5

I have been trying to use "1.6.2.  Call pickup" script from https://opensips.org/docs/modules/3.5.x/event_routing.html

and receiving this error that dont know how to deal with:
ERROR:core:fixup_named_flags: Unknown flag:
ERROR:core:reg_fixup_lookup_flags: Failed to parse flags
ERROR:core:fix_cmd: Fixup failed for param [2]
ERROR:core:fix_actions: Failed to fix command <lookup>
ERROR:core:fix_actions: fixing failed (code=-1) at /etc/opensips/opensips.cfg:1813
CRITICAL:core:fix_expr: fix_actions error
ERROR:core:main: failed to initialize routing lists!

opensips.cfg:1813 is pointing to line "if(lookup("location","", $avp(picker))) {" of bellow function


route[handle_pickup]{
    xlog("call picked by avp(picker): $avp(picker), fetching its contacts\n");
if(lookup("location","", $avp(picker))) {
# take the contacts retured by lookup() (for Charlie)
# and inject them into the original call, but also cancel
# any existing ongoing branch (ringing to Bob)
        t_inject_branches("msg","cancel");
    }
}


Thank you for any tips on how to fix this

BR
Simon
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to