[OpenSIPS-Users] Call pickup issue in opensips 3.5

Simon Gajski simon at softnet.si
Mon Mar 10 16:11:19 UTC 2025


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250310/28cd48c4/attachment.html>


More information about the Users mailing list