Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-25 Thread Igor Solovyov
Hi Vlad, Thanks for info. Yes, I already have 1.6.4 built, works perfectly. Regards, Igor. On Fri, Feb 25, 2011 at 12:42 PM, Vlad Paiu wrote: > Hello, > > The IP transformations are only available in 1.6.4 source code. I have > updated the documentation in 1.6.x on the website to also documen

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-25 Thread Vlad Paiu
Hello, The IP transformations are only available in 1.6.4 source code. I have updated the documentation in 1.6.x on the website to also document the IP, CSV and SDP transformations. Thanks for the help, Dave. Igor, the IP transformations are not available in 1.6.3, you would have to update t

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-24 Thread Dave Singer
Igor, Only documentation I see it in is for development version implying trunk what will be 1.6.5. However a little while back I was looking at the source code of 1.6.4 for transformations and noticed some IP transformation stuff. I can't tell

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-24 Thread Igor Solovyov
Thanks Dave for prompt help. Now I get Feb 24 23:32:32 os1 opensips: ERROR:core:parse_transformation: unknown transformation: [ip] in [{ip.resolve}] Feb 24 23:32:32 os1 opensips: ERROR:core:parse_transformation: error parsing [{ip.resolve}] Feb 24 23:32:32 os1 opensips: ERROR:core:pv_parse_spec:

Re: [OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-24 Thread Dave Singer
Igor, Very close. Notice the ( between $ and var and ) after var name: $var(fs_addr) = $(var(fs_addr_s){ip.resolve}{ip.ntop}); see syntax near top of http://www.opensips.org/Resources/DocsCoreVar16 Dave On Thu, Feb 24, 2011 at 10:36 AM, Igor Solovyov wrote: > Hi All, > > I try to execute in

[OpenSIPS-Users] {ip.resolve} script transformation trouble

2011-02-24 Thread Igor Solovyov
Hi All, I try to execute in the script $var(fs_addr_s) = "opensips.org"; # just for test $var(fs_addr) = $var(fs_addr_s{ip.resolve}{ip.ntop}); xlog("L_ERR", "fs_addr = $var(fs_addr)"); but in log I can see only 0 instead of resolved ip address. What I do wrongly? Thanks, Igor. ___