That's the right approach !
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 17.01.2025 14:40, Alexey wrote:
Hi Bogdan,
yes, the solution was in one more condition/check,
because the Diversion header is not present i
Hi Bogdan,
yes, the solution was in one more condition/check,
because the Diversion header is not present in each
incoming INVITE:
if (is_present_hf("Diversion")) {
dp_translate(10224, $di, $rU);
}
--
best regards, Alexey
https://alexeyka.zantsev.com/
_
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.c
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:cor