IRC log for #asterisk on 20200914

00:00.59*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
00:17.26*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
00:31.53*** join/#asterisk akp55 (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
00:42.39*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
01:11.06*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
01:19.39*** join/#asterisk sysgrammer (~sysgramme@d50-117-130-220.yt.northwestel.net)
01:31.29*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
01:37.47*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
01:54.16*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
02:22.53*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
02:45.22*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
03:06.32*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
03:16.00*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
03:38.43*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
03:45.39*** join/#asterisk Nautilus (~me2@d199-74-149-4.try.wideopenwest.com)
03:45.49*** join/#asterisk opal (~wowaname@volatile/founder/wowaname)
04:08.15*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
04:11.19*** join/#asterisk bluejaypop (~josefig@unaffiliated/josefig)
04:17.17*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
04:22.21bluejaypophello, is there a way to check what is the returning code of a executed AGI script ? like code 0 or returning 4 into a variable. I need to execute something if somebody hangup in the middle of the streaming audio.
04:44.32*** join/#asterisk akp55 (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
04:48.23igcewielingNot that I am aware of, but AGISTATUS will tell you if the script crashed.   Your best bet is to set a variable before running the script, then reset the variable just before the AGI exits, then check the variable value after the AGI executes.   Combine that with hangup handlers and you should be able to come up with something useful.
04:50.37igcewielingyou could also mess with AGISIGHUP too.
04:52.06bluejaypopigcewieling, that's what i'm trying, setting up a variable first, and then reset it after the AGI script is finished but I can't get executed the line after the AGI(script...) I do have a NoOP(${AGISTATUS} <-- cause example) but I don't have that line in my log.
04:52.24*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
04:56.51igcewielingDid you look up AGISIGHUP?
04:57.11bluejaypopNo, let me try that one.
04:57.19igcewielingAlso also, did you look at hangup handlers.
04:57.24igcewielingno, don't try it.  GOOGLE it.
04:57.34igcewielingGoogle hanguphandlers too.
05:01.00bluejaypopigcewieling, thanks i will
05:12.06*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
05:39.20*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
05:40.12*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
06:09.50*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
06:18.21*** join/#asterisk mir100 (~Vladimir@207.237.220.139)
06:18.40*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
06:32.45*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
06:36.15bluejaypopigcewieling, the easy way was just setting the variable AGISIGHUP=no
06:36.20bluejaypopthank you :)
06:42.04*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:48.09*** join/#asterisk jjrh (~weechat12@2607:f0b0:7:8072:216:3eff:fefe:444f)
06:53.57*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
07:16.03*** part/#asterisk Pinchiukas (~keps@unaffiliated/pinchiukas)
07:18.57*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
07:40.02*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
07:46.13*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
07:57.55*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
08:12.17*** join/#asterisk MarcinWieczorek (~marcin@212.182.24.66)
08:28.35*** join/#asterisk lankanmon (~LKNnet@CPEb4fbe4e331bd-CM64777d632380.cpe.net.cable.rogers.com)
08:28.45*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
08:33.25*** join/#asterisk john2gb (~john2gb@94-225-47-8.access.telenet.be)
08:53.26*** join/#asterisk Dovid (~dovid@ool-4356e81f.dyn.optonline.net)
09:03.48*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
09:04.57*** join/#asterisk nsaunders (~nicholas@208.110.107.226)
09:05.05*** part/#asterisk nsaunders (~nicholas@208.110.107.226)
09:15.36*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
09:27.35*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
09:38.40*** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net)
09:42.55*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
09:50.25*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
10:02.52*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
10:24.51*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
11:14.19*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
11:19.42*** join/#asterisk Barbosa_ (~barbosa@179.250.235.173)
11:30.44*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
11:58.27*** join/#asterisk paulgrmn (~paulgrmn@c-98-250-183-21.hsd1.mi.comcast.net)
12:03.29*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
12:14.20*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
12:28.51*** part/#asterisk mog (~mog@fsf/member/mog)
12:35.05*** join/#asterisk tsal (~tsal@i59F521E2.versanet.de)
12:44.12*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
12:56.10*** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net)
13:02.18*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
13:02.40*** join/#asterisk paulgrmn (~paulgrmn@c-98-250-183-21.hsd1.mi.comcast.net)
13:21.21*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
13:32.24*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
13:35.25*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
13:42.37dongsdefault (absolutely nothing changed) asterisk install on ubuntu 20.04 is taking up a huge chunk of system power usage, doing basically nothing. is this normal?
13:43.10dongsits using 1-2% CPU to idle
13:43.16*** join/#asterisk smkelly (~smkelly@mykonos.smkelly.org)
13:43.46sibiriais the installation wide open to the internet?
13:44.15dongsits on a lan, with global ipv6 and private ipv4. it has literally just been installed tho and nothing has been configured
13:45.16dongs3 ast threads are using nearly 1W of CPU power
13:47.20dongs329 modules loaded
13:47.21dongsnice.
13:47.25dongsi wonder if  I need all those.
13:47.29seanbrightyou don't
13:47.37seanbrightand yes, it's normal
13:47.46seanbrightmodules have background threads that do work
13:47.54seanbrightthey wake up and check things
13:47.56sibiriabut you likely need a lot more modules than you think. memory usage is still slim. relax.
13:48.24sibiriayour raspberry pi will be fine
13:50.43dongsmy install from 2009 only has 75
13:51.05seanbrighthmm, let me do some quick math
13:51.17seanbrightif i had 2020 dongs... and i took away 2009 dongs...
13:51.23seanbright11 dongs
13:51.35sibiriathat's a whole lot in human years
13:51.38sibiriaand even more in dog years
13:52.01dongsby that math there should have been 825 modules
13:52.15igcewieling221 modules loaded, and that is with most of the modules removed that I know I will never need
13:52.29dongswhat is pjsip?
13:52.38seanbrighti'm out
13:52.44igcewielingyup, I'm out too.
13:52.47dongswhaat.
13:52.55dongsi mean its a module name
13:52.59dongsand there's a bunch of htem
13:53.08dongsis it trash?
13:53.27sibiriadongs: i run asterisk on a quite constrained Arm system for tests. it will operate happily on a system with just 512 mb ram, consuming less than 100 mb even with lots of calls going
13:53.29*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
13:53.32igcewielingYou did the car version of asking what these things called wheels are.    It demonstrates a fundamental lack of understanding.
13:54.07igcewielingpjsip is Asterisk's primary SIP stack.
13:54.19dongssibiria: and i am running it on i3 nuc which used to run windows 10 and was barely warm. running linux its warm to the touch, and more so after installing asterisk.
13:54.39dongssomething is definitely weird with pwoer consumption.
13:54.57sibiriai would blame ubuntu first
13:55.07dongsabsoultely, but slackware doens't boot from nvme.
13:55.08sibiriaeven if you're running a head-less server version
13:55.15dongsthat was my first install choice.
13:56.09sibiriadon't go down the path of trying to optimize asterisk by removing resource modules. if you for some reason must, remove application and function modules you are certain you will never need
13:57.30*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
13:58.09*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-afgdaysytmulxpde)
13:58.09*** mode/#asterisk [+o bford] by ChanServ
14:00.15dongs> If you are just using SIP for VoIP and don't need anything beyond typical telephony features chan_sip should work for you for years to come.
14:00.19dongssounds like I don't need pjsip
14:00.22dongswhatever it is.
14:00.30seanbrightwhere did you read that?
14:00.43igcewielingwow, that is really stupid.
14:00.48seanbrightyou were told what it is
14:00.54dongssome blog which was top link when doing "pjsip vs sip"
14:01.11dongsfrom 2016
14:01.14sibiriaperhaps on voip-info.org, the Internet's primary up-to-date source on anything Asterisk and VoIP
14:01.16seanbrightok, rather than you pasting a link which you already have, let me go looking
14:01.30igcewielingdongs: in 2016 I might have agreed with that, but not in 2020
14:01.30dongsim not sure what the policy is for spam links, so I didnt want to directly paste it
14:02.01sibiriadisregard the blog post. what you want to use is pjsip, not chan_sip (the older now deprecated SIP framework)
14:02.26dongsthis seems to be a hot/contested topic, I literally haven't touched sip/asterisk since 2009 once i set it up and it has worked ever since. I'm looking at upgrading some hardware so I'm running some tests locally.
14:02.47dongsso im sorry if i pissed someone off by asking stupid shit.
14:03.03sibiriait's less contested these days when chan_sip is deprecated
14:03.17seanbrightit is not hot or contested
14:03.29igcewielingdongs: it really isn't a hot topic.   There are a small number of vocal holdouts for chan_sip.
14:04.17*** join/#asterisk tips (~tips@pool-173-72-12-154.cmdnnj.fios.verizon.net)
14:04.20dongsdoes it "just work"?
14:04.27filepeople can do as they wish, but you accept the consequences of doing so
14:04.27seanbrightdoes chan_sip?
14:04.31dongsyes
14:04.39seanbrightit does? chan_sip "just works?"
14:04.52dongsi mean, configs look similar, and it worked for me in 2009, that's as far as I know
14:04.59seanbrightuse chan_sip
14:05.01seanbrightanything else?
14:05.06dongsi remember i had to patch some shit to e nable session timers
14:07.35sibiriapjsip just works. setting up endpoints in it is a somewhat larger task than chan_sip, but not really a bother
14:07.52*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
14:07.53sibiriayou'll be happier down the road
14:08.10dongsyeah im reading through sample config. will have to look it over. seems not too complex.
14:08.33dongsluckily i dont have nat or any other weird shit and with this upgrade I hope to move everything to ipv6
14:08.49fileyou know PJSIP has made it when even igcewieling advocates for it
14:09.38sibiriayou know, he used to be in the Chan_sip Users Anonymous...
14:09.44sibiriait was a rough few years shedding it
14:14.43igcewielingfile: indeed.   Hell, I used a PAGER until 2015.
14:16.34igcewielingI miss my pager.
14:19.28*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-rmixdqrbjzwkchzd)
14:19.29*** mode/#asterisk [+o kharwell] by ChanServ
14:32.47*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
14:36.20*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
14:58.57*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
15:15.06*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
15:22.46*** join/#asterisk MarcinWieczorek (~marcin@212.182.24.81)
15:36.29*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
15:44.19*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
15:44.19*** join/#asterisk sinaowolabi (~Sina@41.190.31.182)
16:06.36*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
16:06.37*** join/#asterisk akp55_ (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
16:10.13*** join/#asterisk akp55 (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
16:16.40*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
16:30.08*** join/#asterisk Janos (~textual@201.204.94.76)
16:34.14*** join/#asterisk john2gb (~john2gb@94-225-47-8.access.telenet.be)
16:42.10*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
16:54.38*** join/#asterisk overyander (~overyande@216.163.24.236)
17:00.06*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
17:10.26*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
17:12.47*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
17:32.12*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
17:46.57*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
18:03.25*** join/#asterisk sinaowolabi (~Sina@105.112.66.26)
18:08.29*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
18:19.27*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
18:19.36*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
18:35.25*** join/#asterisk pchero (~pchero@2a02:a210:2241:6480:e13e:6b5b:fd65:b12a)
18:40.34*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
18:49.41*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:05.54*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
19:08.59*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:24.01*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:31.46*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:44.00*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
19:44.16*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
19:49.05*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:59.08*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
20:04.42*** join/#asterisk Janos (~textual@201.204.94.76)
20:12.25*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
20:32.11*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
20:38.18*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
20:45.18igcewieling*sigh*  apparently we gave GUI access to a customer and now half a dozen extensions suddenly have password mismatches.
20:47.26*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
21:01.49*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
21:07.04*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
21:13.12*** join/#asterisk mir100 (~Vladimir@207.237.220.139)
21:16.59*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
21:20.11*** join/#asterisk yuljk (~yuljk@unaffiliated/yuljk)
21:23.14*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
21:30.29igcewielingSamot: The Dude runs only on windows?
21:31.12igcewielingI guess it is better then the Adtran MSP which uses Flash in a browser.
21:32.30SamotNo.
21:32.37SamotThe Dude client runs in windows.
21:33.59igcewielingI only have 1 server still running Windows and I hope we can get rid of it soon.
21:34.25igcewielingAs long as it is stable, I can get a Windows license and run it in a VM.
21:34.25SamotThe Dude runs on RouterOS
21:34.52igcewielingCan I use The Dude without a Windows client?
21:34.59SamotNo, you would install the Cloud Hosted Router.
21:35.09SamotThe version of RouterOS for VMs.
21:35.14igcewielingcloud hosted router?
21:35.16SamotYou pay the $45 license fee for that.
21:35.18SamotYes.
21:35.36SamotYou enable The Dude Server once it's setup.
21:35.51igcewielingAh, we I pay $45 for a license so I don't need to use Windows to use The Dude?
21:36.07SamotThe Dude Server runs on RouterOS
21:36.28igcewielingThat isn't Windows so I don't really care.
21:36.31SamotYou either install it on a hardware based system or you use the CHR build to install it as a VM.
21:36.48SamotThe Dude Server is a part of RouterOS.
21:37.03igcewielingso it should be part of the hEX I received in the mail today?
21:37.05SamotSo you install CHR, license it, enable The Dude.
21:37.15SamotYou can install it on the hex
21:37.19igcewielingThat runs RouterOS right?
21:37.23SamotThey all do.
21:37.50SamotRouterOS is RouterOS.
21:37.55SamotThe Dude is a package of that.
21:38.13SamotThe lower end hardware models don't have it installed by default because, they are low end.
21:38.38SamotIt takes up resources, so the hardware based stuff needs to have some meat on the bones.
21:38.43igcewielingAnyway, I'll start out by using a CLI to configure my test box and it will take a while to adapt my Adtran config to the hEX
21:38.45SamotCHR is virtual so...
21:39.01SamotThe Winbox and The Dude Client are windows based.
21:39.12SamotBut that just means you need Windows like normal.
21:39.23SamotNo server based windows, just windows.
21:40.17SamotSo really you'll need a windows machine for the client/monitoring boards, etc.
21:40.25igcewielingI have a Windows 7 VM I boot for stuff which requires Windows.
21:41.54*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
21:42.25igcewielingI use our Adtran MSP to store snapshots of configs and to easily upgrade the router/switch firmware.
21:43.48igcewielingIf the mikrotik management software does that, it will be acceptable.
22:09.15*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
22:20.31*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
22:30.33*** join/#asterisk paulgrmn_ (~paulgrmn@207.148.196.18)
22:34.09*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
23:01.12*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
23:19.01*** join/#asterisk EmleyMoor (42b789682f@firthpark.tinsleyviaduct.com)
23:32.16*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
23:49.22*** join/#asterisk rpifan (~rpifan@p200300d267389e65b3eea3420ca41a55.dip0.t-ipconnect.de)

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