Thanks.
WBR, Anton Zagorskiy VoIP Developer, Oyster Telecom Phone.: +7 812 601-0666 Fax: +7 812 601-0593 [email protected] www.oyster-telecom.ru > -----Original Message----- > From: [email protected] [mailto:users- > [email protected]] On Behalf Of Bogdan-Andrei Iancu > Sent: Friday, November 12, 2010 1:38 PM > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] uac_replace_from > > 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 > > [email protected] > > www.oyster-telecom.ru > > > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > 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 > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
