[OpenSIPS-Users] dp_translate ERROR
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jan 17 11:50:25 UTC 2025
Hi,
Actually the dialplan module complains that the second parameter, after
evaluation, did not provide a string value...maybe an integer or NULL ?
maybe the $di is NULL ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 17.01.2025 11:01, Alexey wrote:
> Hi list,
> trying to understand the nature of the error in logs.
>
>
> Script:
> ...
> 275: dp_translate(10223, $tU, $rU); # subst 'To' header username
> into RURI header username
> 276: dp_translate(10224, $di, $rU); # subst 'Diversion' header
> value into RURI header username
> ...
>
>
> Logs:
> ...
> ERROR:core:get_cmd_fixups: Variable in param [2] is not a string
> ERROR:core:do_action: Failed to get fixups for command <dp_translate>
> in /etc/opensips/opensips.cfg.m4, line 276
>
>
> OpenSIPS v.3.4.9.
> dp_translate manual:
> https://opensips.org/docs/modules/3.4.x/dialplan.html#func_dp_translate
>
More information about the Users
mailing list