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 *neither*. 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 [email protected] * <null>*

Thanks in advance!

Diego

2017-04-26 12:40 GMT-03:00 Diego Nadares <[email protected]>:

> 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 [email protected] * <null>*
>
>
>
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to