[OpenSIPS-Users] uac_replace_from

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Fri Nov 12 12:36:25 CET 2010


Thanks.






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



> -----Original Message-----
> From: users-bounces at lists.opensips.org [mailto:users-
> bounces at lists.opensips.org] 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
> > 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
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list