Hi Sven, $fU is read-only. You will have to use uac_replace_from("$(fU{s.substr,2,0})", ""); Thanks, Carsten 2015-09-30 16:17 GMT+02:00 Sven Neuhaus <neuhaus@tyntec.com>:
Hello,
I'm having some troubles with modifying $fU in my kamailio.cfg.
The following line appears to have no effect: $fU = $(fU{s.substr,2,0});
I would expect it to remove the first two leading characters from $fU. Has anyone else seen this? I have the same issue with modifying $fu. We're not using the uac module. And we're using the latest stable version of Kamailio.
Thanks, -Sven
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten@ng-voice.com Office +49 40 5247593-0 Fax +49 40 5247593-99 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/