Hello, Olle!
>> Whats difference between registered("location") and >> lookup("location")? >THe first one returns TRUE if an AOR is registred. thanks. if (!lookup("location",$dlg_var(callee)) && !lookup("location",$dlg_var(caller))) route(TRANSIT); why i get error: loading modules under /usr/local/lib64/kamailio/modules_k/:/usr/local/lib64/kamailio/modules/ 0(47034) : <core> [cfg.y:3389]: yyerror_at(): parse error in config file route.cfg, line 61, column 28-43: function lookup: parameter 2 is not constant if i set !lookup("location","$dlg_var(callee)") than config check ok, but runtime error. -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users