Joseph Rothstein
2005-Oct-11 08:06 UTC
[Asterisk-Users] callerid validation and expression
Thanks for the reply Bret. I have tested this parsing issue ever way possible, equal variables unequal variables, arithmetic, ie $[1 + 1], etc., etc., and my conclusion is that Solaris does not parse the $[expr1 operator expr2] function properly. It always produces a value of 0. I installed 1.2beta on a SUSE box and it works flawlessly. Thanks, Joe
trixter http://www.0xdecafbad.com
2005-Oct-11 08:13 UTC
[Asterisk-Users] callerid validation and expression
On Tue, 2005-10-11 at 17:06 +0200, Joseph Rothstein wrote:> Thanks for the reply Bret. > > I have tested this parsing issue ever way possible, equal variables unequal > variables, arithmetic, ie $[1 + 1], etc., etc., and my conclusion is that > Solaris does not parse the $[expr1 operator expr2] function properly. It > always produces a value of 0. > > I installed 1.2beta on a SUSE box and it works flawlessly. > > Thanks, > JoeOk, I only saw what you posted, where the numbers were not equal and it did what was expected in that scenario. I cant say for solaris with 1.2-beta otherwise. I find it very odd that it works on one operating system but not on another given that that part of the code should be platform independant. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051011/033ee229/attachment.pgp