IRC log for #asterisk-bugs on 20071025

00:18.21*** part/#asterisk-bugs zerohalo (n=zeroHalo@pool-72-70-79-233.bstnma.east.verizon.net)
00:20.36*** join/#asterisk-bugs dlynes_ (n=dlynes@216.251.149.68)
00:22.37*** join/#asterisk-bugs fakhir (n=fakhir@unaffiliated/fakhir)
00:39.42*** join/#asterisk-bugs dlynes_laptop (n=dlynes@216.251.149.68)
01:36.08*** join/#asterisk-bugs Iamnacho (i=Iamnacho@ip68-103-153-140.ks.ok.cox.net)
04:01.12*** join/#asterisk-bugs blitzrage (n=Leif@asterisk/documenteur-extraordinaire/blitzrage)
04:01.12*** mode/#asterisk-bugs [+o blitzrage] by ChanServ
05:17.30*** join/#asterisk-bugs mvanbaak (n=mafkees@vanbaak.xs4all.nl)
06:52.44*** join/#asterisk-bugs dlynes_laptop (n=dlynes@d154-20-34-39.bchsia.telus.net)
06:53.24*** join/#asterisk-bugs dlynes_laptop (n=dlynes@d154-20-34-39.bchsia.telus.net)
09:34.18*** join/#asterisk-bugs pjezek (n=pj@193.85.164.154)
09:36.26pjezekhi, can anybody, that knows something about commit r78683 "Add support for using epoll instead of poll", look at bugreport http://bugs.digium.com/view.php?id=10497? this commin breaks chan_h323 usability in asterisk svn trunk, thx
11:14.26*** join/#asterisk-bugs caio1982 (i=caio1982@CAcert-br/caio1982)
12:11.13*** join/#asterisk-bugs blitzrage (n=Leif@asterisk/documenteur-extraordinaire/blitzrage)
12:11.13*** mode/#asterisk-bugs [+o blitzrage] by ChanServ
12:18.52*** join/#asterisk-bugs caio1982 (i=caio1982@CAcert-br/caio1982)
12:45.11*** join/#asterisk-bugs miguel3239 (n=elguerom@ns1.nashuacs.com)
13:26.29*** join/#asterisk-bugs JackEStorm (n=no@ip68-225-77-136.no.no.cox.net)
14:02.58*** join/#asterisk-bugs jcmoore (n=jcmoore@unaffiliated/tgrman)
14:52.44*** join/#asterisk-bugs putnopvut (i=putnopvu@nat/digium/x-f7bedd9d060b20e1)
14:52.44*** mode/#asterisk-bugs [+o putnopvut] by ChanServ
15:18.21*** join/#asterisk-bugs kpfleming (i=kpflemin@nat/digium/x-b0edc15c4ef6ea25)
15:18.21*** mode/#asterisk-bugs [+o kpfleming] by ChanServ
15:23.46*** join/#asterisk-bugs pjezek (n=pj@193.85.164.154)
15:31.04*** part/#asterisk-bugs pjezek (n=pj@193.85.164.154)
15:52.02*** join/#asterisk-bugs pjezek (n=pj@193.85.164.154)
16:13.02*** join/#asterisk-bugs miguel3239 (n=elguerom@ns1.nashuacs.com)
16:31.34*** join/#asterisk-bugs caio1982 (i=caio1982@CAcert-br/caio1982)
16:33.50*** join/#asterisk-bugs fakhir (n=fakhir@unaffiliated/fakhir)
17:35.03*** join/#asterisk-bugs wunderkin (n=wunderki@ip72-208-16-104.ph.ph.cox.net)
17:54.43*** join/#asterisk-bugs blitzrage (n=Leif@asterisk/documenteur-extraordinaire/blitzrage)
17:54.43*** mode/#asterisk-bugs [+o blitzrage] by ChanServ
19:31.25*** join/#asterisk-bugs d1mas (n=chatzill@ip195.117.adsl.wplus.ru)
19:34.46d1masQuestion - why AEL parser does not trim out all spaces? As result, 'a = 1;' becomes 'Set(a=$[ 1])' note the space.
19:35.17d1masThis causes alot of troubles. I wanted submit an issue but decided to check it here first
19:47.32d1mashello?
19:48.38codefreezed1mas: I find that Set( a =...) is different than Set(a =....) is diff than Set( a=...)... the spaces count as part of the name.
19:49.39codefreezeAEL doesn't allow spaces in names. And it's bad practice to make them so.
19:50.22codefreezeAND
19:50.37codefreeze$[ 1] should eval to 1...
19:51.53codefreezethe expression parser was upgraded to not care much about spaces, also.... unless... are you on 1.2 or something?
19:52.11d1mas1.4
19:53.17d1masthe problems I'm having are mostly with macro parameters. When I call macro I do something like &dispatch-voicemail(1000, u) - note the space. And that space hits me eventually
19:54.23d1masThe only solution is to make calls like &dispatch-voicemail(1000,u) - no spaces. But spaces add alot of readability to any program code, you know. And AEL dialplan is basically a program code
19:58.28codefreezed1mas: sometimes, the space can hurt you. args are fed to macros as is, spaces included, and they can have an effect. Like NoOp(this has spaces, and that's good);
19:59.21blitzrageFYI: 'a lot' is 2 words
19:59.24d1masabsolutely. I'm only talking about leading & trailing spaces mostly
19:59.37d1masI know. So what? :)
19:59.59codefreezeextensions.conf has no provision to indicate important spaces from non-important. So I try to pass them as I see them. AEL3 will solve some of these problems.
20:00.05blitzrageif you know, then why are you using incorrect grammar? 'alot' is one of my pet peeves
20:01.10codefreezewhatcha wanna us to do, blitzrage? type nuttin but grammatical-correct phrases?
20:01.12d1masI always type 'alot' and Word fixes it for me in emails. Unfortunately it does not work this way in IRC. Bad habbit, sorry.
20:01.41Qwell^ reason #1 that auto-correct is silly
20:02.25d1masI would prefer reading silly but auto-corrected emails than not corrected ones :)
20:02.31putnopvutMy pet peeve misspelling is "definately" because it absolutely baffles me how anyone could possibly think that is the correct spelling.
20:02.51codefreezeblitzrage must be having a bad grammatical day! Every one give him a big hug and include "a lot" somehow! ;)
20:03.19d1mascommon guys, not everybody live in States. Not everybody is native speaker
20:03.43codefreezeand for putnopvut, say "definitely a lot" somewhere....! :D
20:03.45blitzrageI don't live in the states either
20:04.12blitzrageand I was trying to help someone out who may not be a native speaker, but you said you already knew, so I have no pity
20:04.23putnopvutd1mas: my experience is that the ones who live in the states are worse spellers than the ones who do not.
20:04.28blitzrageI definitely know a lot of things
20:04.37blitzragebut I definitely don't know a lot about everything
20:04.41d1mas:)
20:05.08d1mascodefreeze: where can I read something about AEL3 ?
20:05.48codefreezeAEL3 is in my mind at the moment. And even my wife admits that my mind is hard to read.
20:05.56d1masblitzrage: I promise typing "a lot" when talking here :)
20:06.28d1masmy wife does not accept that my mind exists :)
20:07.06codefreezelol; I bet few will admit that their husbands have one...
20:10.47d1mascodefreeze: so do I understand correctly that AEL parser does not read application/macro parameters separately but takes whole text between ( ) and puts it as application data?
20:11.26d1mas(I mean it does not read them individually separating by coma)
20:13.54codefreezed1mas: no, I'd best not say that. It does watch for the commas, and builds a list, and counts the elements in the list.
20:14.33codefreezeAs to exactly how it treats spaces in the mix, I'd have to read the code. Been a while since I wrote it.
20:16.21codefreezeLooks like it keeps the spaces, or you'd not be complaining....?
20:16.43d1masoh... remoing leading/trailing comas won't work.... Because of the Noop you mentioned above - Noop(coma, which should remain). And parser has no idea if this coma separates parameters or just part of single parameter :(
20:17.05d1masit definitely does keep them
20:18.13d1mastoo bad. I used to put a lot of spaces and they hurt me one by one...
20:28.05codefreezed1mas: if they are OK in extensions.conf, why would they.... hold on, let me check and see if the config file reader/pbx parser filters out leading/trailing blanks to args. Maybe I can too, if that's the case.
20:31.54d1masno, when extensions.conf is parsed, spaces around application parameters are not removed. I have just checked it.
20:35.10codefreezeok, so.... exactly what is AEL doing different?
20:37.46d1masnothing. I was not saying it is doing something different. I only was saying that keeping spaces hurts. I do not use extensions.conf at all so I could not compare
20:39.19d1masok, I understand that it is not currently possible to trim spaces from parameters because there is no way to distinguish parameter separator from just part of text. That is pity.
20:41.17codefreezed1mas: Be of good cheer-- AEL3 will allow them. (But every good thing has its price!)
20:41.55d1maswhat price AEL3 will have? :)
20:42.27Qwelld1mas: $999.95
20:43.13d1masnot bad :)
20:43.40Qwellper line of dialplan
20:44.09d1masper caracter... afte space trimming :)
20:44.13d1mascharacter
20:45.14codefreezed1mas: while I like Qwell's pricing structure, I meant that you'll have put strings in quotes.
20:50.05d1mascodefreeze: btw, when you will be thinking about AEL3, remember another thing which I think is very surprising in AEL2: when you write a = $b; you will have not what you really expect when $b contains some operation like plus or minus. In my case $b has a context name (like 'local-users') and a= $b; assigns zero to  $a (if my memory serves me)
20:51.04d1masso I had to put a="$b"; to fix that.
20:51.54codefreezeor a=${b}; ?
20:54.19d1mas$b => ${b} everywhere
20:58.18d1masThis is because assignment translates to Set(b=$[${a}]) and square brackets evaluate the "expression"
21:01.57d1massorry of course Set(a=$[${b}]). I'm asleep...
21:13.20codefreezed1mas: you can say a=${b}; and you can also say Set(a=${b}); they will act slightly differently.
21:26.53d1masI know. The problem is that a=${b}; does look like ordinary assignment and you do not expect that for some reason ${a} will receive value different from ${b}. I believe a lot of people with development background in any language find it strange when they get zero in the ${a} for the first time...
22:17.23codefreezed1mas:  I replied to 11086; you need to supply more info.
22:18.38d1mascodefreeze: hm.... have you tested it with trunk or 1.4 ?
22:19.06codefreezed1mas: don't know. shouldn't matter in this case.
22:19.21d1masoh. disregard it. Yes I have empty contexts
22:20.17d1masWhat is the point in ignoring them?
22:20.26codefreezed1mas: as to the above, people really do have to understand how $[] works, and how AEL wraps expressions -- at least, when it wraps expressions, with $[]. Without that knowledge, yes, people will be confused.
22:21.46codefreezed1mas: as to ignoring empty contexts, you may have a point; I will do some investigation tomm.
22:22.00d1masI totally agree, after I got that understanding, everything was clear. But before I started reading, it was a surprise
22:22.48codefreezed1mas: and some say that 'ignorance is bliss'.... I say 'ignorance leads to nasty surprises!'
22:24.22d1masjust to let you know what is the point in having empty contexts :) - I have a cluster of boxes and most of dialplan is absolutely the same except for some "extension points" that is special context where site nodes can put their own extensions. So the "base" AEL dialplan on each box includes all these site-specific contexts while most of them are empty on sites
22:42.20codefreezeOK, I will keep your bug open, investigate, and most likely close it with that restriction lifted, or at least a good explanation of why not.
22:43.51d1masthanks.
23:01.53*** join/#asterisk-bugs implicit (n=implicit@ip72-197-20-157.sd.sd.cox.net)
23:01.53*** mode/#asterisk-bugs [+o implicit] by ChanServ

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.