Hi...
I am using the openser 1.1.0 and I would like get a substring of FROM... For example, I have the code in my script:
---------------------------------------------------------- avp_write("$fU","$avp(s:777)"); avp_print(); ----------------------------------------------------------
And it shows in the log: ---------------------------------------------------------- 5(6249) INFO: name=<777> 5(6249) INFO: val_str=<4830353131 / 10> ----------------------------------------------------------
Is possible I get only the first and the second char (in this case is 48) of $fU??? Are there some way?
Thanks.....
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses
You will need to upgrade at least to 1.2 and use the transformations: http://www.openser.org/dokuwiki/doku.php/transformations:1.2.x
Best thing to do, play with the trunk version (to be released soon as 1.4).
Regards, Ovidiu Sas
On Tue, Jul 22, 2008 at 1:34 PM, Daniel Cardoso Alves dcardosoa@yahoo.com.br wrote:
Hi...
I am using the openser 1.1.0 and I would like get a substring of FROM... For example, I have the code in my script:
avp_write("$fU","$avp(s:777)"); avp_print();
And it shows in the log:
5(6249) INFO: name=<777> 5(6249) INFO: val_str=<4830353131 / 10>
Is possible I get only the first and the second char (in this case is 48) of $fU??? Are there some way?
Thanks.....
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users