[SR-Users] acces $dlg_var in failure_route

Diego Nadares dnadares at gmail.com
Wed Apr 26 17:40:12 CEST 2017


Hi guys,

I'm trying to access dialog vars in failure_route with no success. Dialog
exists but vars are null and I'can modify them either. Is there any
restriction?

if ($dlg_var(v1) == 0){
                $dlg_var(v1) = "1";
                if (is_known_dlg()){
                    xlog("L_NOTICE", "negative_reply $ci $T_rpl($si)
$dlg_var(v2)");
                    $dlg_var(v2) = $T_rpl($si);
                }
}


Log

Apr 26 12:36:26 drwsip02 /usr/local/sbin/kamailio[27223]: NOTICE: <script>:
negative_reply 6daf5e8d-f47972c1 at 172.31.4.21 * <null>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170426/41e938c1/attachment.html>


More information about the sr-users mailing list