[OpenSER-Users] How to get a substring?
Daniel Cardoso Alves
dcardosoa at yahoo.com.br
Tue Jul 22 19:34:28 CEST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080722/256affe1/attachment.htm>
More information about the sr-users
mailing list