Hello.
Using K 3.1.2. Before the setflag() that creates the dialog, I tried to use: $dlg_ctx(flags) = 1; Mar 30 12:29:03 devel kamailio: ERROR: dialog [dlg_var.c:165]: unknown PV name flags Mar 30 12:29:03 devel kamailio: ERROR: <core> [pvapi.c:565]: pvar "dlg_ctx" has an invalid name param [flags] Mar 30 12:29:03 devel kamailio: ERROR: <core> [pvapi.c:720]: wrong char [)/41] in [$dlg_ctx(flags)] at [14 (5)] Mar 30 12:29:03 devel kamailio: : <core> [cfg.y:3409]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 308, column 9-23: unknown script pseudo variable $dlg_ctx(flags) Right now, my goal is to add the user-agent content header ($ua) from caller/callee and list them through 'dlg_list_ctx'. I would suggest something like that: Request route: $dlg_ctx(set->ua_src) = $ua; On reply route: $dlg_ctx(set->ua_dst) = $ua; dlg_list_ctx: . ua_src:: X-Lite 3.0 build 666 ua_dst:: Linksys PAP2 . Does this suggestion make sense? Using another approach is it possible to execute this today? Thanks, Alexandre
_______________________________________________ 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