IRC log for #asterisk on 20150816

01:09.49*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-udhvachrgafbueqv)
02:08.40*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
02:09.48*** join/#asterisk tiuman (~botto@mail.ooonmk.ru)
02:10.04tiuman[TK]D-Fender do you here?
02:11.29[TK]D-FenderFor the next few minutes...
02:14.25tiumani need use Gotoif  or goto?
02:15.05[TK]D-FenderHow do you not know the answer already?
02:15.16[TK]D-FenderIs there a CONDITION for doing your Gorto?
02:16.20tiumanphp script return number
02:17.33tiumanhow to make unstopable cicle in to goto
02:17.34tiuman?
02:17.44tiumanaaaaaa
02:17.55tiumanGoto (protity 1)
02:18.33[TK]D-FenderDo you understand Goto at all?
02:18.35tiuman2,goto(prityri 1), 1 gotoif(numb.php== digit)
02:18.39[TK]D-FenderThis is basic programming
02:18.44[TK]D-FenderAnd shouldn't even be a question
02:18.57[TK]D-Fenderif you're coding an can't understand this concept there is a serious problem.
02:19.22[TK]D-FenderIs there a CONDITION for you choosing to do this Goto or not?
02:19.32[TK]D-FenderThis is a simple question only you can answer.
02:19.53tiumangoto -> gotoif() -> dial else -> goto-> 1
02:19.55tiuman????
02:19.58Cuznerit sounds like he's running an agi to set a var maybe? This is fun to read
02:20.07[TK]D-FenderIS THERE A CONDITION ATTACHED TO THIS OR NOT?
02:20.12[TK]D-FenderStop asking which one to use
02:20.14[TK]D-Fenderthis is DUMB
02:20.25[TK]D-FenderYOU decide if there is a condition or not?
02:20.53[TK]D-FenderYOU DECIDE
02:20.59tiumanif (php return==digits)
02:21.01[TK]D-Fenderis it a CONDITION?
02:21.04[TK]D-FenderOr is it NOT
02:21.17[TK]D-FenderWhich one is it?
02:21.28tiumandddd
02:21.30tiumanok
02:21.38[TK]D-Fender<tiuman> if (php return==digits) <- if this is a CONDITION..... then there is an IF involved.
02:21.38tiumani doing it
02:22.24tiumangotoif (php return==digits) {dial(return digits)} else {goto-> gotoif}
02:23.16tiuman????
02:23.20tiumanit right?
02:23.51[TK]D-FenderThis is YOUR code.
02:23.58[TK]D-FenderWhy are you asking me?
02:24.11[TK]D-FenderDoes it do what you want or not?
02:24.25tiumanok
02:25.06tiumanhow give gotoif status php script??
02:25.20[TK]D-Fenderthat makes NO sense
02:25.54tiumani dont know
02:25.55tiumanit
02:26.08Cuznerwonder what the php script looks like :)
02:26.46tiumanphp retunr telephone numbrers
02:26.53Cuznerdid you write it?
02:27.02tiumanin random time in random numbers
02:27.10[TK]D-FenderCuzner, the language barrier is MASSIVE
02:27.16[TK]D-FenderTHE NUMBER IS NOT RANDOMO
02:27.17tiumanreturned php script
02:27.19Cuzneryou don't say
02:27.20[TK]D-FenderNOT RANDOM
02:27.25[TK]D-FenderIt's from a LIST
02:27.36[TK]D-Fenderit is CHOSEN at random.
02:27.42tiumanpeople write yourself numbers. in the site..
02:27.58tiumansript filter it numbers and call
02:28.23tiumanbut first call in my number
02:28.43tiumanand wait i answer..
02:29.02tiumanwhen i answer, php start search numbers.
02:29.25tiuman20 numbers per second
02:29.48tiumanphp script calculate it numbers and filter
02:30.07tiumanif filter true give me number
02:30.25tiumannumbers add in the site more poeples
02:30.31tiuman100000 peploes
02:30.35tiumanonline
02:30.40tiumanthis services
02:31.07tiumanand add himself phone numbers...
02:35.22tiumanasterisk must call first me after i answer php start search numbers peolple, (it not list i dont know what the number and what moment php script return me number people), if number return, asterisk call it people and join channe him with me, if people number busy retunr in the php script NUMBER BUSY, return call codes, if not busy i speak him and him hang up, channel with my number not myst
02:35.22tiumandisconnect, and php go to search the new number... in it the cicle
02:36.34tiumannot mUst disconnect,
02:38.38tiumanasterisk must call first me after i answer php start search numbers people, (it not list i dont know what the number and what moment php script return me number people), if number return, asterisk call it people and join channel him with me, if people number busy return in the php script NUMBER BUSY, return call codes, if not busy i speak with him and if him hang up, channel with my number
02:38.38tiumannot must disconnect, and php go to search the new number... in it the cycle
02:46.49WIMPySounds like a maximum 4 lines of dialplan.
02:47.49[TK]D-FenderI wasted a massive amount of time trying to beat this idea across
02:48.17WIMPyI know. It didn;t even fit in to the window.
02:48.27WIMPyThat's 512 lines.
02:51.32tiumanWIMPy if it so easy write me it commands
02:51.40tiumanplease
02:52.00WIMPyIt's your work, not mine.
02:52.32tiumanhow are you so angry?
02:52.49WIMPy1. call your script to get a number, 2. call that number, 3. save the result, 4. Goto start.
02:53.11tiumani want only dial plan
02:53.32tiumanGoto Star what?
02:53.50tiumanphp i self write any code
02:53.58WIMPythe beginning.
02:54.18tiumangive me it dial plan
02:54.21tiumanonly
02:54.36tiumanno more
02:55.20WIMPyThat's only 3 commands an [TK]D-Fender already gave you all of them.
02:55.57tiumanit is goto?
02:56.01tiumandial?
02:56.12tiumanand? gotoif?
02:56.27tiumanwhat the commands
02:56.37WIMPyAGI is the 3rd one.
02:56.43[TK]D-Fendermore like 2nd
02:56.54WIMPyAnd the other two are actually optional.
02:56.54tiumani member him type me commands dial
02:56.58tiumangoto
02:57.36tiumanok
02:57.46tiumanGOTO DIAL AND ARI?
02:57.47[TK]D-Fender1. Answer.  2. Call script to get number.  3. Dial the number. 4. Go back to step 2
02:57.52tiumanGOTO DIAL AND AGI?
02:58.20tiumanAAAAAAAAAAAAA
02:58.27WIMPyOk, an Answer might be nice.
02:58.37tiumanOK
02:58.38tiumanok
02:58.52tiumani will be back
03:00.06Cuzneri like to start with a NoOp() but the guy seems confused enough as it is.
03:01.02[TK]D-FenderActuall more like :
03:01.14*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
03:01.25[TK]D-Fender1. Answer.  2. Call script to get number.  3. Dial the number. 4. Log having called that number. 5. Go back to step 2
03:02.13WIMPyThat would be the maximum.
03:02.33[TK]D-FenderCuzner, with that being all the steps his drawn-out painful and broken description seems to actually require and this system not being used for anything else there seems to be no point to "documenting" the flow
03:02.44WIMPyOff course the logging could be done in the same script and if ou want, even the calling.
03:02.46[TK]D-FenderWIMPy, Until he changes his story again.
03:03.21[TK]D-FenderWIMPy, Those are still the steps though.  How much he leaves to basic dialplan vs maybe doing in a AGI is up to him.  And he has no clue.
03:04.25[TK]D-FenderWIMPy, he can already use SHELL and avoid any need for AGI at all.  Especially since this guy can't figure out if a jump is CONDITIONAL or not do you think he could handlewhat it takes to actually do it all that way?
03:04.42WIMPyTrue, but it could be done with no dialplan at all.
03:05.06[TK]D-FenderWIMPy, This is the sort of project where if you can't figure it out with the command list on both you don't deserve to be programming for it at all.
03:05.27[TK]D-FenderWell... a single call to AGI.  Yeah. but not needed.
03:05.49WIMPyYou can originate straigt to AGI.
03:05.54[TK]D-FenderI'd avoid making this any more complex since he can't handle the concept of "conditional branching"
03:06.20[TK]D-FenderWIMPy, Actually.... yes you could completely avoid the dialplan that way.
03:06.32WIMPyThat's not going to make teh PHP bit any easier.
03:06.46[TK]D-FenderWIMPy, But is more complex for no real gain for ... this guy
03:08.28*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
03:21.02*** join/#asterisk italorossi (~Adium@177.193.104.31)
03:22.01JerJermeep meep
03:22.18WIMPyRoadrunner?
03:22.27JerJerding ding ding
03:24.29*** join/#asterisk nix8n82 (~AndChat56@2601:283:8201:d495:10b3:fcc7:20d9:7cfb)
03:28.09*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:37.03*** part/#asterisk italorossi (~Adium@177.193.104.31)
03:51.40tiumanFirst in ami -> Action: Originate
03:51.40tiumanChannel: SIP\100
03:51.40tiumanextent Go
03:51.40tiumanContext: Go
03:51.40tiumanPriority: 1
03:51.41tiuman[Go]
03:51.41tiumanexten=> Go,1,Answer()
03:51.42tiumanexten=> Go,2,Set(numb=${System(/get_number.php)})
03:51.42tiumanexten=> Go,3,Dial(SIP/${numb},30,m,g)
03:51.43tiumanexten=>Go,4,Goto(Go,Go,1)
03:51.43tiumansad
03:51.48tiuman???
03:52.01WIMPy~pb
03:52.01infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
03:52.44WIMPyThere is nothing named "extent".
03:52.45tiumanthis right>
03:52.47tiuman??
03:53.22WIMPyI don't know. I didn't see it.
03:54.00tiumanhttp://pastebin.com/BWaqVb37
03:54.53WIMPyNot that bad.
03:55.17WIMPyBut you only want to Answer once. So Goto 2.
03:57.32WIMPyAnd the options to dial are just written after each other, no further commas.
03:58.57tiumanaaa
03:59.03tiumanThnks
04:04.51*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
04:05.52*** join/#asterisk nix8n82 (~AndChat56@2601:283:8201:d495:10b3:fcc7:20d9:7cfb)
04:06.25tiumanBut System not want get returned number from php?
04:06.44tiumanand dont set var
04:08.27tiumanWhat is the meaning AGI?
04:08.47tiumanphp speaking with asterisk?
04:09.06tiumanor asterisk skeaking with php?
04:09.08WIMPyyes
04:09.22tiuman<PROTECTED>
04:09.27WIMPyWell, more like that, but it's always two-way.
04:11.14tiumanAsterisk (Transmit from extentsion.cong) (REcive from Agi) data from php?
04:12.17tiumanspeaking asterisk with php(Transmit from extentsion.cong, recireve from AGI)
04:12.18tiuman???
04:12.26tiumanor not
04:12.32tiuman???
04:14.12WIMPyYou start a script that communicates with Asterisk.
04:16.29tiumanif php may two-way connect with asterisk?? why need write extent with agi
04:16.51WIMPyexternsion
04:17.01WIMPyextents are something different.
04:17.02tiumanWhy need him it
04:17.42WIMPyAnd you don't need an extension. But it might be easiest the way you've got it now.
04:17.45tiumanexten=> go,1,AGI(start.php)
04:17.59tiuman??
04:18.03WIMPyYou don't even need that.
04:18.15tiumanok
04:18.18tiumanThanks
04:18.39WIMPyYou can originate to an application instead of an extension.
04:18.55tiumanbut how i send call codes into the php???
04:19.57tiumanwith ??? command system??
04:20.27WIMPyYou can originate to an application instead of an extension.
04:22.33tiumanoriginate command initialization from php?
04:24.49tiumanhow get returned number in the extent? System not give me number, system(php /var/www/get_numer.php)
04:25.19tiumanin the get_numbe.php <?php echo "1000"; ?>
04:25.20WIMPyDoes the script return a number?
04:25.24tiumanyes
04:25.32WIMPyAnyway. Sun is up, time to go to sleep.
04:25.33tiumanphp /var/www/get_numer.php
04:25.36tiuman1000
04:25.40tiumanwrite me
04:26.25tiumanin the shell all work.. from extent not work command in extent system(php /var/www/get_numer.php)
04:27.00tiuman<?php echo "1000"; ?> very simple code returned 1000
04:27.14tiumanin string type
04:27.23tiumanor int need?
04:27.33tiumantype
04:30.43tiumanSYSTEM returned 0 or 1...
04:31.00tiumanhow the get var from system command??
05:21.19[TK]D-FenderYou don't
05:43.39*** join/#asterisk protem (~protem@unaffiliated/protem)
05:52.38*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
05:57.45*** join/#asterisk Sprocks (~Sprocks@BMTNON3746W-LP130-04-1279272693.dsl.bell.ca)
05:58.57*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
06:06.05*** join/#asterisk cmendes0101 (~cmendes01@pool-96-229-207-133.lsanca.fios.verizon.net)
06:06.46*** join/#asterisk robink_ (~quassel@unaffilated/robink)
06:31.05*** join/#asterisk robink_ (~quassel@unaffilated/robink)
06:35.29*** join/#asterisk seik0 (~seik0@pppoe.178-65-3-11.dynamic.avangarddsl.ru)
06:36.55*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
06:48.18*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
07:04.18*** join/#asterisk ganbold_ (~ganbold@173.244.215.173)
07:05.30*** join/#asterisk lanning_ (~lanning@50-193-22-25-static.hfc.comcastbusiness.net)
07:05.49*** join/#asterisk jeev_ (~j@unaffiliated/jeev)
07:06.09*** join/#asterisk beardy_ (~beardy@unaffiliated/beardy)
07:06.30*** join/#asterisk camerin (hoax@elite.bshellz.net)
07:06.40*** join/#asterisk grongi (~gringo@unaffiliated/gringo)
07:07.13*** join/#asterisk doop (~doop@colostomy.club)
07:08.54*** join/#asterisk ChannelZ (channelz@burner.com)
07:10.13*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
07:30.01*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
08:07.11*** join/#asterisk wonderworld (~ww@ip-84-119-186-6.unity-media.net)
08:16.16*** join/#asterisk Draecos (~Draecos@124-148-108-101.dyn.iinet.net.au)
08:28.47*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
08:36.44*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
08:39.02*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
09:17.29*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
09:35.25*** join/#asterisk kleszcz (tick@linuxmafia.pl)
09:45.54*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:00.00*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:04.09*** join/#asterisk salz212 (b6b284cd@gateway/web/freenode/ip.182.178.132.205)
10:05.28salz212hi guys, is it possible to host asterisk on multiple udp ports at the same time? e.g udpbindport =5060 and 5070 .. I know the later one overwrite based on sip.conf. But is there a solution of having multiple ports?
10:07.27*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
10:15.06*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:15.10*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-nbkvbeprzgnjjmfi)
10:19.14*** join/#asterisk evilman_work (~evilman@87.244.6.228)
10:22.55*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
10:31.33*** join/#asterisk CeBe (~CeBe@x4d098b4d.dyn.telefonica.de)
10:41.57*** join/#asterisk evilman_work (~evilman@87.244.6.228)
10:43.42*** join/#asterisk evilman_work (~evilman@87.244.6.228)
10:43.55*** join/#asterisk CeBe (~CeBe@x4d098b4d.dyn.telefonica.de)
10:58.56*** join/#asterisk CeBe1 (~CeBe@x4d098b4d.dyn.telefonica.de)
11:05.52*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
11:25.49*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
11:28.23*** join/#asterisk Draecos (~Draecos@124-148-108-101.dyn.iinet.net.au)
11:59.21*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:59.37*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:15.22*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
12:24.19*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:24.59*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:25.20*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:27.09*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:28.59*** join/#asterisk evilman_work (~evilman@87.244.6.228)
12:35.42*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
13:17.16*** join/#asterisk zapata (~zapata@2a02:b18:581:10:c014:4ea:b356:f480)
13:25.34*** join/#asterisk Dovid (~dovid@ool-4356e96f.dyn.optonline.net)
13:42.35*** join/#asterisk CeBe1 (~CeBe@xd9be52d3.dyn.telefonica.de)
13:47.47*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:30.39*** join/#asterisk wonderworld (~ww@ip-84-119-186-6.unity-media.net)
14:31.30*** join/#asterisk evilman_work (~evilman@87.244.6.228)
14:35.00*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
14:44.51*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
15:12.33*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
15:20.55*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
15:46.59*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
15:47.14*** join/#asterisk tompaw (U2FsdGVkX1@tompaw.xxx)
15:47.25tompawHi
15:50.01*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-aryyqpuvlhnhzfky)
16:01.05WIMPyLo
16:04.59*** join/#asterisk mirton (~jazz@mirtoff.ru)
16:11.59*** join/#asterisk Dovid (~dovid@ool-4356e96f.dyn.optonline.net)
16:16.42*** join/#asterisk mjordan (~mjordan@75.76.55.191)
16:16.43*** mode/#asterisk [+o mjordan] by ChanServ
16:46.53*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-lrefwieekumqgdlu)
17:02.30*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
17:14.29*** join/#asterisk protem (~protem@unaffiliated/protem)
18:10.12*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:12.34*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:17.00*** join/#asterisk mjordan (~mjordan@75.76.55.191)
18:17.00*** mode/#asterisk [+o mjordan] by ChanServ
18:27.35*** join/#asterisk K0HAX (~K0HAX@2604:8800:187:1::20)
18:39.50*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:51.36*** join/#asterisk tristero (~al.f.zero@unaffiliated/transfinite)
18:51.47*** join/#asterisk bulkorok (~Adium@92.206.232.97)
19:19.26*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
19:30.34*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
19:53.11*** join/#asterisk tzafrir (~tzafrir@2001:7c0:dc15:72:6267:20ff:fe51:8328)
20:15.28*** join/#asterisk Dovid (~dovid@ool-4356e96f.dyn.optonline.net)
21:06.08*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
21:16.19*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
21:30.33*** join/#asterisk zapata (~zapata@2a02:b18:581:10:1913:3f3b:e9de:eacf)
22:17.32*** join/#asterisk Penguin (~xwQ5kwYl6@20264.odci.gov.united-states.rltk.us)
22:31.52*** join/#asterisk Penguin (~xwQ5kwYl6@20264.odci.gov.united-states.rltk.us)
22:59.51*** join/#asterisk SupaYoshi (~SupaYoshi@104.223.1.186)
23:07.47*** join/#asterisk ks3 (~kevin@2605:a000:1311:2021:dafc:93ff:fe45:da4e)
23:25.08*** join/#asterisk italorossi (~Adium@177.193.104.31)
23:53.22*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
23:59.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)

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