Hello,

not all functions accept pseudo-variables as parameters. The ones from core mainly not.

On 04/26/07 16:24, Peter Lemenkov wrote:
Hello All!
I have a question. If I declare variable like this:

$var(ip_address) = "192.168.0.1";

I can't use this variable in functions like that one:

revritehostport ($var(ip_address));
No, but similar functionality is:

$ruri = "sip:"+$rU+"@"+$var(ip_address);

Cheers,
Daniel



It leads me to the following message:

omega1 ~ # /usr/local/sbin/openser -f
/usr/local/etc/openser/openser_registrar.cfg -l 192.168.0.1
0(5723) parse error (316,25-37): syntax error
0(5723) parse error (316,37-38): bad argument, string expected
ERROR: bad config file (2 errors)

So the question is %subj%.

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to