[OpenSIPS-Users] UAC_REPACE_TO

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jun 13 06:33:34 UTC 2023


Hi,

Do not do route_reload, better restart opensips here.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 5/17/23 9:18 PM, "Вадим Д." wrote:
> Hello!
>
> Please help me. I am trying to use the uac_replace_to function. But it gives an error.
>
> loadmodule "uac.so"
>          modparam("uac","restore_mode","auto")
>
>
> $avp(repto)="sip:" + $(fU{s.substr,0,-3}) + $(fU{s.substr,-3,0}) + "@" + $td;
> uac_replace_to( ,$avp(repto));
>
>
>
> ERROR:uac:cfg_validate: uac_replace_*() was found, but module started without support for replacing, better restart
> May 17 18:01:48 proxy-02 /usr/sbin/opensips[2223992]: ERROR:core:modules_validate_reload: module <uac> did not validated the cfg file
> May 17 18:01:48 proxy-02 /usr/sbin/opensips[2223992]: ERROR:core:reload_routing_script: routes validation by modules failed, abording reload. OpenSIPS restart is recomended to deploy the new script
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list