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.21 | bluejaypop | hello, 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.23 | igcewieling | Not 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.37 | igcewieling | you could also mess with AGISIGHUP too. |
04:52.06 | bluejaypop | igcewieling, 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.51 | igcewieling | Did you look up AGISIGHUP? |
04:57.11 | bluejaypop | No, let me try that one. |
04:57.19 | igcewieling | Also also, did you look at hangup handlers. |
04:57.24 | igcewieling | no, don't try it. GOOGLE it. |
04:57.34 | igcewieling | Google hanguphandlers too. |
05:01.00 | bluejaypop | igcewieling, 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.15 | bluejaypop | igcewieling, the easy way was just setting the variable AGISIGHUP=no |
06:36.20 | bluejaypop | thank 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.37 | dongs | default (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.10 | dongs | its using 1-2% CPU to idle |
13:43.16 | *** join/#asterisk smkelly (~smkelly@mykonos.smkelly.org) |
13:43.46 | sibiria | is the installation wide open to the internet? |
13:44.15 | dongs | its on a lan, with global ipv6 and private ipv4. it has literally just been installed tho and nothing has been configured |
13:45.16 | dongs | 3 ast threads are using nearly 1W of CPU power |
13:47.20 | dongs | 329 modules loaded |
13:47.21 | dongs | nice. |
13:47.25 | dongs | i wonder if I need all those. |
13:47.29 | seanbright | you don't |
13:47.37 | seanbright | and yes, it's normal |
13:47.46 | seanbright | modules have background threads that do work |
13:47.54 | seanbright | they wake up and check things |
13:47.56 | sibiria | but you likely need a lot more modules than you think. memory usage is still slim. relax. |
13:48.24 | sibiria | your raspberry pi will be fine |
13:50.43 | dongs | my install from 2009 only has 75 |
13:51.05 | seanbright | hmm, let me do some quick math |
13:51.17 | seanbright | if i had 2020 dongs... and i took away 2009 dongs... |
13:51.23 | seanbright | 11 dongs |
13:51.35 | sibiria | that's a whole lot in human years |
13:51.38 | sibiria | and even more in dog years |
13:52.01 | dongs | by that math there should have been 825 modules |
13:52.15 | igcewieling | 221 modules loaded, and that is with most of the modules removed that I know I will never need |
13:52.29 | dongs | what is pjsip? |
13:52.38 | seanbright | i'm out |
13:52.44 | igcewieling | yup, I'm out too. |
13:52.47 | dongs | whaat. |
13:52.55 | dongs | i mean its a module name |
13:52.59 | dongs | and there's a bunch of htem |
13:53.08 | dongs | is it trash? |
13:53.27 | sibiria | dongs: 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.32 | igcewieling | You did the car version of asking what these things called wheels are. It demonstrates a fundamental lack of understanding. |
13:54.07 | igcewieling | pjsip is Asterisk's primary SIP stack. |
13:54.19 | dongs | sibiria: 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.39 | dongs | something is definitely weird with pwoer consumption. |
13:54.57 | sibiria | i would blame ubuntu first |
13:55.07 | dongs | absoultely, but slackware doens't boot from nvme. |
13:55.08 | sibiria | even if you're running a head-less server version |
13:55.15 | dongs | that was my first install choice. |
13:56.09 | sibiria | don'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.15 | dongs | > 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.19 | dongs | sounds like I don't need pjsip |
14:00.22 | dongs | whatever it is. |
14:00.30 | seanbright | where did you read that? |
14:00.43 | igcewieling | wow, that is really stupid. |
14:00.48 | seanbright | you were told what it is |
14:00.54 | dongs | some blog which was top link when doing "pjsip vs sip" |
14:01.11 | dongs | from 2016 |
14:01.14 | sibiria | perhaps on voip-info.org, the Internet's primary up-to-date source on anything Asterisk and VoIP |
14:01.16 | seanbright | ok, rather than you pasting a link which you already have, let me go looking |
14:01.30 | igcewieling | dongs: in 2016 I might have agreed with that, but not in 2020 |
14:01.30 | dongs | im not sure what the policy is for spam links, so I didnt want to directly paste it |
14:02.01 | sibiria | disregard the blog post. what you want to use is pjsip, not chan_sip (the older now deprecated SIP framework) |
14:02.26 | dongs | this 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.47 | dongs | so im sorry if i pissed someone off by asking stupid shit. |
14:03.03 | sibiria | it's less contested these days when chan_sip is deprecated |
14:03.17 | seanbright | it is not hot or contested |
14:03.29 | igcewieling | dongs: 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.20 | dongs | does it "just work"? |
14:04.27 | file | people can do as they wish, but you accept the consequences of doing so |
14:04.27 | seanbright | does chan_sip? |
14:04.31 | dongs | yes |
14:04.39 | seanbright | it does? chan_sip "just works?" |
14:04.52 | dongs | i mean, configs look similar, and it worked for me in 2009, that's as far as I know |
14:04.59 | seanbright | use chan_sip |
14:05.01 | seanbright | anything else? |
14:05.06 | dongs | i remember i had to patch some shit to e nable session timers |
14:07.35 | sibiria | pjsip 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.53 | sibiria | you'll be happier down the road |
14:08.10 | dongs | yeah im reading through sample config. will have to look it over. seems not too complex. |
14:08.33 | dongs | luckily i dont have nat or any other weird shit and with this upgrade I hope to move everything to ipv6 |
14:08.49 | file | you know PJSIP has made it when even igcewieling advocates for it |
14:09.38 | sibiria | you know, he used to be in the Chan_sip Users Anonymous... |
14:09.44 | sibiria | it was a rough few years shedding it |
14:14.43 | igcewieling | file: indeed. Hell, I used a PAGER until 2015. |
14:16.34 | igcewieling | I 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.18 | igcewieling | *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.29 | igcewieling | Samot: The Dude runs only on windows? |
21:31.12 | igcewieling | I guess it is better then the Adtran MSP which uses Flash in a browser. |
21:32.30 | Samot | No. |
21:32.37 | Samot | The Dude client runs in windows. |
21:33.59 | igcewieling | I only have 1 server still running Windows and I hope we can get rid of it soon. |
21:34.25 | igcewieling | As long as it is stable, I can get a Windows license and run it in a VM. |
21:34.25 | Samot | The Dude runs on RouterOS |
21:34.52 | igcewieling | Can I use The Dude without a Windows client? |
21:34.59 | Samot | No, you would install the Cloud Hosted Router. |
21:35.09 | Samot | The version of RouterOS for VMs. |
21:35.14 | igcewieling | cloud hosted router? |
21:35.16 | Samot | You pay the $45 license fee for that. |
21:35.18 | Samot | Yes. |
21:35.36 | Samot | You enable The Dude Server once it's setup. |
21:35.51 | igcewieling | Ah, we I pay $45 for a license so I don't need to use Windows to use The Dude? |
21:36.07 | Samot | The Dude Server runs on RouterOS |
21:36.28 | igcewieling | That isn't Windows so I don't really care. |
21:36.31 | Samot | You either install it on a hardware based system or you use the CHR build to install it as a VM. |
21:36.48 | Samot | The Dude Server is a part of RouterOS. |
21:37.03 | igcewieling | so it should be part of the hEX I received in the mail today? |
21:37.05 | Samot | So you install CHR, license it, enable The Dude. |
21:37.15 | Samot | You can install it on the hex |
21:37.19 | igcewieling | That runs RouterOS right? |
21:37.23 | Samot | They all do. |
21:37.50 | Samot | RouterOS is RouterOS. |
21:37.55 | Samot | The Dude is a package of that. |
21:38.13 | Samot | The lower end hardware models don't have it installed by default because, they are low end. |
21:38.38 | Samot | It takes up resources, so the hardware based stuff needs to have some meat on the bones. |
21:38.43 | igcewieling | Anyway, 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.45 | Samot | CHR is virtual so... |
21:39.01 | Samot | The Winbox and The Dude Client are windows based. |
21:39.12 | Samot | But that just means you need Windows like normal. |
21:39.23 | Samot | No server based windows, just windows. |
21:40.17 | Samot | So really you'll need a windows machine for the client/monitoring boards, etc. |
21:40.25 | igcewieling | I have a Windows 7 VM I boot for stuff which requires Windows. |
21:41.54 | *** join/#asterisk yokel (~yokel@unaffiliated/contempt) |
21:42.25 | igcewieling | I use our Adtran MSP to store snapshots of configs and to easily upgrade the router/switch firmware. |
21:43.48 | igcewieling | If 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) |