[OpenSIPS-Users] uac_replace_from
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Nov 12 11:37:53 CET 2010
Hi Anton,
Correctly is :
$var(t) = "x";
uac_replace_from("$var(t)");
Regards,
Bogdan
Anton Zagorskiy wrote:
> Hello.
>
> How can I pass a pseudo-variable as a parameter to the uac_replace_from
> function?
> Code:
> $var(t) = "x";
> uac_replace_from($var(t));
>
> raises an error
> opensips: CRITICAL:core:yyerror: parse error in config file, line 723,
> column 39-40: bad arguments for command <uac_replace_from>
>
> $avp raises that error too.
>
>
>
>
> WBR, Anton Zagorskiy
> VoIP Developer, Oyster Telecom
> Phone.: +7 812 601-0666
> Fax: +7 812 601-0593
> a.zagorskiy at oyster-telecom.ru
> www.oyster-telecom.ru
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
More information about the Users
mailing list