IRC log for #asterisk on 20200517

00:08.39*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:13.36*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:18.40*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:18.52*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
00:23.44*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:27.27ZombieI've slept.
00:31.16*** join/#asterisk aoeui (~aoeui@unaffiliated/aoeui)
00:35.45*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:40.49*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
00:56.43*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
01:40.47*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
01:40.47*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.33.0 (2020/04/30) 16.10.0 (2020/04/30) Standard: 17.4.0 (2020/04/20); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
01:42.47*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
01:51.24drmessanoSlade: You understand that was a shitpost, right?
01:52.10Sladeheh
01:52.51*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
01:53.18drmessano?
01:56.45*** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net)
02:00.13*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:12.08*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:17.13*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:22.16*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:31.31Samothahaha
02:31.40SamotI mean you didn't take it seriously, right?
02:32.20*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:34.08Samot"Meet me on the Joe Rogan Experience"
02:34.15SamotThis kid has some great lines.
02:37.27*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:42.30*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:52.34*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
02:57.39*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:02.42*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:07.56*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:12.59*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:19.08*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:29.27*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:40.37*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:50.40*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:55.45*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:57.37*** join/#asterisk DannyA (~DannyA@cpe-74-64-125-9.nyc.res.rr.com)
03:58.33DannyAhey all.  so i've got my "line stealing" setup working perfectly.  User B can dial an extension, that extension maps to the "line" he wants to "steal" and I do a Bridge command.  perfect.  part 2: is there any way to play some kind of tone/acknowledgement to User A giving him an audible confirmation that the call is gone?
04:15.15*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:40.47*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
04:52.57*** join/#asterisk sh_smith (~sh_smith@cpe-172-88-21-24.socal.res.rr.com)
04:55.50*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
05:10.54*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
05:31.14*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
05:42.17*** join/#asterisk FH_thecat (~FH_thecat@75.11.25.212.ftth.as8758.net)
05:42.23*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
05:46.22*** join/#asterisk votality (~votality@118.211.31.252)
05:48.17*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
06:04.51*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
06:11.24*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:28.10*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:30.10*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
06:34.58*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:49.04*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:54.49*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:58.02*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
06:59.56ZombieAnyone still around?
07:12.19*** join/#asterisk Iamnach0 (~Iamnacho@ip68-110-234-244.ks.ks.cox.net)
07:16.51*** join/#asterisk sysgrammer_moe (~sysgramme@d50-117-130-220.yt.northwestel.net)
07:23.12*** join/#asterisk pbx5000 (~pbx@2607:fb90:4a25:5740:7818:19b4:b94d:50ba)
07:23.24*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:114a:e4fb:ad75:dcd8:1709:7be5)
08:06.22muksdoes chan_mobile support sending/receiving SMS messages also from an android phone?
08:10.50muks(perhaps a better question is if the base android OS platform supports SMS over bluetooth)
08:11.28muksthere are some blog articles about using chan_mobile with SMS, but they are old articles and list nokia phones running symbian
08:13.12muksi want to move my sim card phone sevice from smartphone to asterisk. i used to have a working setup with chan_dongle and a huawei USB mobile dongle.. but that uses 2G GPRS which is slowly getting phased out here
08:14.34muksit doesn't appear chan_dongle supports currently available 4G/LTE dongles.. so what options do i have? possibly chan_mobile over bluetooth speaking to a regular phone..
08:16.53mukssome phone operators in this country are switching to VoLTE only, and my operator is also discouraging use of 2G. every few days before the covid situation started, a message was played out to turn on VoLTE.
08:17.28*** join/#asterisk mbecroft (mb@ak2.becroft.co.nz)
08:26.35*** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
08:54.06*** join/#asterisk aness (~aness@2a02:fe1:3103:2100:6dad:e535:435:4d3b)
09:52.28*** join/#asterisk matteo| (~matteo@redhat/matteo)
11:14.49ZombieSo, Optimism... I think I have Voicemail working.
11:15.04ZombieI just don't know where it's stored.
11:57.43*** join/#asterisk mmx870 (~mmx@ptr1.cyberia.es)
12:15.23*** join/#asterisk mmx870 (~mmx@ptr1.cyberia.es)
12:23.51*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:114a:e4fb:6c9b:f7b5:daaf:e217)
12:37.58*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
12:58.29Samotlolol
13:02.06*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
13:03.59SladeSamot, no i didnt take it seriously, there wasnt a camera crew waiting in some poor families house the moment they went broke :P
13:06.32SamotAnd the fact the entire dialog was made up?
13:07.38Sladewell one thing leads to another. ;)
13:13.51ZombieSamot, I have managed to find out that, yes, my Voicemail is working, it is being stored in readable Wave Files in /var/spool/asterisk
13:16.30ZombieI can't actually call the voice mail system and listen to my test voicemail recordings.
13:16.55ZombieIt says *98 but I don't think that's right.
13:18.06SamotWell have you set that up?
13:20.53ZombieNo, I'm not sure what extension to tie VoiceMailMain too.
13:20.56ZombieI tried this:
13:21.44Zombieexten => 1237,1,VoiceMailMain(${CALLERID(num)}@default)
13:22.05SamotAnd?
13:22.08ZombieWhat I thought this would do is cann Voicemail main
13:22.20Zombiebut it just gives me a number unreachable error.
13:22.35SamotOK but what is actually wrong?
13:22.57ZombieI just want to be able to recall Voicemails.
13:25.22SamotBut what is actually wrong?
13:25.37SamotAll  you've said is it doesn't work and give an error
13:25.41SamotHow about, what error?
13:25.47SamotDid you look at the logs?
13:26.08ZombieI'll turn up the logs, and throw you the error.
13:29.45Zombiehttps://pastebin.pl/view/a6722829
13:30.05ZombieI'm currently using app_voicemail_plain.so
13:30.44SamotOK
13:30.54SamotI have no clue what your issue is.
13:31.20SamotYou have been told, repeatedly, we do not need so see core debug output
13:31.31Zombieokay.
13:31.37SamotThere's no call here
13:31.44SamotOn top of all that
13:31.44ZombieYou need the pjsip debugger
13:31.45SamotNot even a single piece of it.
13:31.49Zombieright?
13:31.51*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
13:32.02Samotcore set verbose 10
13:32.07SamotWe need to see what the dialplan is doing.
13:37.19ZombieFound the problem,/
13:40.13SamotUh huh
13:42.05ZombieIt was in the wrong context.
13:42.24ZombieIt needed to be moved to the Internal context.
13:42.34ZombieI have another debugging question.
13:42.40SamotI'm sure you do.
13:43.06Zombieif I wanted to go ahead with IMAP storage, would you know how to debug that?
13:43.24SamotNothing, I don't use it because it's a PITA.
13:43.29SamotAnd pointless for the most part.
13:43.32SamotNo one case.
13:43.35ZombieI realize asking you that makes you break in Gives.
13:43.41ZombieHives.
13:43.50SamotNo, it doesn't.
13:43.59SamotYou can barely make simple voicemail work.
13:46.04*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
13:52.36ZombieI think I figured it out, at least as far as setting Pins go.
13:52.49ZombieI am to the point where this system can replace the main one.
14:01.57SamotSo why do you need IMAP voicemail?
14:03.52*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
14:05.04ZombieOne reason is ease of listening to them, but also Replication.
14:05.19Zombiebut more to the point, its refusing my Pins.
14:05.28ZombieI'll post you the error.
14:05.58SamotEase of listening to them?
14:06.03SamotHow does it make it easier?
14:06.24ZombieI don't always have my device near  me at all times.
14:06.38joepublicthey check you, instead of vice-versa?
14:06.52SamotSo if you have no devices, how does IMAP make it easier?
14:07.26ZombieI can just open them from within Thunderbird that way.
14:07.36SamotLOL
14:07.43SamotSo you can't just email yourself the voicemail?
14:07.54SamotThe voicemail app emails and attaches the voicemail.
14:07.56ZombieNo SMTP. Remember?
14:08.09SamotHow can you have no SMTP?
14:08.26Zombiemy ISP will block it.
14:08.34joepublicGet a throwaway shared web hosting account, use its SMTP server?
14:08.34SamotSo you can't send emails from your ISP?
14:08.42SamotOr you know, SMTP relay
14:09.11SamotStrangely, he can send email from a client but can't from his PBX
14:09.19ZombieWell right now, I'm still using app_voicemail plain and trying to find out why it wouldn't accet my PIN.
14:10.06ZombieAsterisk actually gave me a warning saying it couldn't read it.
14:10.13ZombieLet me Pastebin.
14:11.36cybrNautZombie: does your ISP block Tor?  it's possible to setup Postfix to relay to .onion port 25
14:12.06Zombiehttps://pastebin.pl/view/399b9bd7
14:12.29ZombieI'm not sure,
14:12.54cybrNauthmm.. i suppose relaying is what you're avoiding so outsiders don't get the v/m.  Actually, why not do it all locally.. run a mail server internally
14:13.32*** join/#asterisk aoeui_ (~aoeui@unaffiliated/aoeui)
14:14.39Samot9:31:21 AM <Samot> You have been told, repeatedly, we do not need so see core debug output
14:14.41SamotFFS dude.
14:14.43SamotLISTEN
14:14.49ZombieHang on.
14:14.50SamotYou claim you LISTEN then DO IT
14:15.03Zombielet me change the debug mode again.
14:16.09SamotYour failure to listen, follow instructions or retain what you have been taught/shown is really starting to irritate me.
14:16.45ZombieHold on hod on.
14:17.12ZombieIt just replayed a password on the verbose output.
14:17.32Zombieshowing me what I entered, and it did not match what I typed.
14:18.09SamotWTF
14:18.31SamotHow did we go from "Hold on, gonna fix that pastebin" to giving me an editorial comment?
14:18.45ZombieI'm going to fix that pastebin yes.
14:18.57ZombieI was getting you new output in the different mode
14:27.40Zombiehttps://pastebin.pl/view/970bade5
14:27.53ZombieEven when I enter a correct PIN
14:28.07ZombieIt gives me login incorrect.
14:32.41SamotOK I thought you said the context was internal?
14:32.44SamotCorrect?
14:33.20Zombiehttps://pastebin.pl/view/441de67a
14:33.35ZombieThe Voicemail context is Default.
14:33.50ZombieThe Extension context is internal.
14:33.59ZombieIs that wrong?
14:34.22SamotEarlier you said voicemail wasn't moving because it was in the wrong context. I'm just checking.
14:34.34SamotSo now, how about you do what I asked quite a while ago.
14:34.48SamotGive me that pastebin with core set verbose 10
14:34.55ZombieOkay.
14:38.11Zombiehttps://pastebin.pl/view/5d0f655e
14:42.30SamotSet the password to the same as the mailbox, so 6002
14:42.52SamotThat way it walks you through the setup wizard, which will prompt you to change your password and recording greetings.
14:43.01SamotSee if changing your password that way works
14:48.43Zombiehttps://pastebin.pl/view/3e3d19ba
14:48.45ZombieNope.
14:49.55Zombiehttps://pastebin.pl/view/4e20d352
14:50.07*** join/#asterisk wonderworld (~wonderwor@unaffiliated/wonderworld)
14:50.51SamotDid you reload things?
14:52.29ZombieI did a service asterisk restart
14:53.31SamotAnd did you get the wizard?
14:53.42SamotDid it prompt you to set up your mailbox?
14:56.33ZombieNo.
15:08.33Zombie<PROTECTED>
15:08.42ZombieI did get this error.
15:12.17Zombiecould it be failing to read indiviual tones?
15:12.52*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
15:19.27drmessanowow
15:20.10drmessanoDo you have VM_Authenticate() in your dialplan>
15:20.13drmessanoDo you have VM_Authenticate() in your dialplan?
15:23.03drmessanoZombie: ^
15:24.36ZombieI do not believe so.
15:25.33drmessanocat extensions.conf | grep -i vm
15:27.02Zombiehttps://pastebin.pl/view/3fc32254
15:28.17drmessanoOk, pastebin your voicemail.conf
15:28.21*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
15:31.15Zombiehttps://pastebin.pl/view/ed9cb1d5
15:31.21ZombieIgnore the imap stuff.
15:31.31ZombieI am using the plain module.
15:34.50drmessanotry voicemail again, show the entire call in Pastebin
15:37.31Zombiehttps://pastebin.pl/view/8dd341d5
15:40.29drmessanoasterisk -rx "voicemail reload" and try again
15:42.46ZombiePretty much the same result.
15:43.06ZombieIs it possible to setup a passwordless voicemail box?
15:43.18ZombieJust for testing.
15:48.18drmessanoWell, I thought maybe you had something else trying to auth before vm mail, and that's not it.  I don't know why it's not authing
15:48.26drmessanoAsterisk doesn't like something
15:51.04ZombieI used the s option.
15:51.16ZombieI can now do it without the PIN./
15:51.34ZombieI can hear the test messages I recorded.
15:53.11ZombieI can confirm Voicemail works.
15:53.32SamotLong shot
15:53.48drmessanoAre you calling voicemail from 6002?
15:53.54ZombieYes.
15:53.56SamotMake it => in the voicemail.conf
15:54.20Zombiehm?
15:54.42drmessano6002 => 6002,blah
15:54.55drmessanoDont put "blah".  Just change the formatting
15:55.16SamotAlso...im not sure what voicemail_plain does
15:55.37drmessanoOh
15:55.54ZombieThats the standard not IMAP or ODBC Module.
15:55.58ZombieI have three modules.
15:56.10ZombiePlain, ODBC, and IMAP
15:57.04ZombieI'm almost ready to migrate everything over.
15:59.34drmessanoI'm not so sure about that
15:59.48ZombieWhy is that?
15:59.56ZombieThis is already more functional.
16:04.20drmessanoThis app_voicemail_plain thing
16:05.05ZombieI can switch it to app_voicemail_Imap
16:05.35drmessanoI see some ancient references to app_voicemail_plain, but this looks like some naming convention for RPMs
16:05.53drmessanobecause it's app_voicemail.so not app_voicemail_plain.so
16:06.18ZombieI'll have to check the Spec File.
16:06.32ZombieThe Spec File probably renamed it.
16:07.03*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
16:07.51Zombie+ mv apps/app_voicemail.so apps/app_voicemail_plain.so
16:07.51Zombie+ mv apps/app_directory.so apps/app_directory_plain.so
16:08.06Zombieokay, the RPM renamed it to prevent a collision.
16:08.08drmessanoHeh
16:08.29drmessanoA collision created by using RPMs
16:09.19drmessanotags Samot back in
16:09.32drmessanoI'm back to using my 10-foot pole
16:10.41ZombieTo split the rpm, into different modules.
16:10.51ZombieI'm pouring over the build log.
16:14.03*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
16:16.02ZombieIts as I suspected.
16:16.17ZombieThey were renamed to prevent collisions.
16:16.37Zombiethey both would have popped out as app_voicemail.so
16:16.46ZombieAll three would have.
16:17.24drmessanoWhich is not at all how Asterisk build them
16:17.52SamotHow do other people make RPMs of Asterisk without this issue?
16:18.04Zombierealizes a place where he screwed up.
16:18.14SamotYes, by making your own RPM.
16:18.16ZombieThe imap modules are all the plain module.
16:18.23drmessanoJFC
16:18.53drmessanohah
16:18.57Samotdrmessano: Look at the bright side, Cisco Call Manager won't allow this.
16:40.52*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
16:40.52*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.33.0 (2020/04/30) 16.10.0 (2020/04/30) Standard: 17.4.0 (2020/04/20); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
16:40.54Samot12:36:59 PM <Zombie> how can I view the exact properties of a given module. < -- What properties?
16:40.55*** part/#asterisk igcewieling (~ewieling@199.27.202.69)
16:40.57drmessanoAwww come on
16:41.00drmessanolol
16:41.26Samotdrmessano: This isn't a 2000-ish problem, he's not interested.
16:42.03ZombieBuild time, compile options.
16:42.37SamotFor what reason?
16:42.51SamotYou built and compiled them with Asterisk.
16:43.54drmessanoZombie: I am going to say this ONE more time
16:44.07drmessanoUse the configure script... then make menuselect
16:44.30drmessanoThere's a really nice menu that has all of the modules, compile options, etc
16:44.37drmessanoand lots of little tips on what does what
16:44.56drmessanoYou would know that if you actually ran it, instead of this RPM build shit
16:45.26drmessanoBeen saying this for a week
16:46.00ZombieI'm going to rest.
16:46.08ZombieI have to be up in six hours.
16:46.16ZombieThis was progress either way.
16:46.56drmessanoSame reaction as the last time I told you run the scripts
16:47.01SamotLook dude..
16:47.03drmessanoBut ok
16:47.08SamotYou're going to be on your own with this crap
16:47.12*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:1159:6824:3ccc:117d:5a31:be49)
16:47.23SamotBecause again 99% of the issues have been due to your poor RPM build.
16:47.33ZombieI'm starting to see that.
16:47.40drmessanoand sliding modules in and out by installing/removing
16:47.55drmessanoRather than using the fucking build environment that basically tells you what each module does
16:48.03ZombieIf I have too, I'll chroot this and build within the chroot to avoid breaking the RPM system.
16:48.08SamotWe spend hours trying to trouble shoot something like this voicemail issue
16:48.10Zombiewithout RPM
16:48.20SamotTurns out, voicemail was compiled wrong.
16:48.28SamotNo.
16:48.29SamotJFC.
16:48.35SamotDO NOT INSTALL SOURCE OVER THE RPM
16:48.40drmessanolol
16:48.41SamotOR VICE VERSA
16:48.51SamotF'ing start fresh.
16:48.52ZombieI'm not  going too.
16:49.09ZombieThats what the chroot is for
16:49.14Zombieto start fresh.
16:49.26Zombieaway from the bare metal.
16:49.27drmessanoHow about this
16:49.33SamotSo a new server?
16:49.41drmessanoRemove the whole damn thing except the configs
16:49.47drmessanoall the RPMs
16:49.54drmessanoand just build from source
16:50.02drmessanoDone
16:50.58drmessanoBut I am guessing that's not clever enough, so there will be resistance, more "But I just did x, I don't see why it..."
16:51.03drmessanoOk, done
16:51.30ZombieSamot, A chroot is one step removed from a VM.
16:52.01ZombieI don't want to introduce corruption into the RPM Database.
16:52.47SamotHow about this.
16:52.51SamotDon't use YOUR RPMs.
16:53.05SamotBut then again, you're running some hobbyist OS.
16:53.16SamotSo who knows what they have available.
16:58.36*** join/#asterisk chandoo (~chandoo@pool-100-1-166-161.nwrknj.fios.verizon.net)
17:00.32ZombieThey have 13.7.2
17:21.29*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
17:21.29*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.33.0 (2020/04/30) 16.10.0 (2020/04/30) Standard: 17.4.0 (2020/04/20); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
17:26.20*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
17:29.51*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
18:06.33*** join/#asterisk aoeui (~aoeui@unaffiliated/aoeui)
18:46.45*** join/#asterisk JunK-Y (~junky@138.197.151.147)
18:49.27*** join/#asterisk DannyA (~DannyA@cpe-74-64-125-9.nyc.res.rr.com)
18:50.02DannyAhey all.  i think i installed asterisk incorrectly on an amazon linux box.  i installed it from sources, and the current issue is that the only way i can get to the console is via sudo asterisk, and when i login to the console im getting messages that the database is locked
18:50.20DannyAhow can i get it to run under any user on the machine and fix the database lock issue?
18:50.33DannyAis it a matter of giving the right permissions on a folder/folders?
18:53.13SamotWhich database is locked?
18:54.37DannyAdb.c:304 db_execute_sql: Error executing SQL (COMMIT): database is locked
18:54.48*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
18:55.38SamotAhh, the AstDB.
18:55.43SamotOK so check that.
18:55.55SamotCheck to make sure it has the right permissions.
18:56.12DannyAhow
18:56.23DannyAthis is where i think things got messed up during installation
18:56.33DannyAby default, when u run an EC2 instance, you SSH in as the ubuntu user, not root
18:56.34SamotIt is in /var/lib/asterisk
18:56.39DannyAso everything has to be done without root permissions
18:56.44DannyAso you end up sudo'ing things
18:56.47DannyAand things get messed up :(
18:56.51Samotls -l /var/lib/asterisk/astdb.sqlite3
18:56.58SamotNo.
18:57.08SamotYou can SSH in as the ubuntu user and then sudo to root
18:57.08DannyA-rw-r--r-- 1 root root 12288 May 17 18:41 /var/lib/asterisk/astdb.sqlite3
18:57.14SamotAsterisk is running as root.
18:57.27DannyAright, so when i login as ubuntu user, im not able to do things by default
18:57.37SamotOK so first, don't run Asterisk as root
18:57.42DannyAok, how do i change that
18:57.50SamotSecond, if you SSH to an EC2 machine you have to sudo to root
18:58.11SamotThird, if you use SSH Keys instead of user/pass then you can log in directly as root.
18:58.34SamotYou change it in the Asterisk start script, if you are using one.
18:58.40DannyAhow do i know if i am
18:58.49SamotWell, did you make one?
18:59.01DannyAi ran whatever the installation instructions told me to do
18:59.03DannyAi can find it
18:59.14SamotOK so then it's in the startup scripts.
18:59.30DannyAhttps://computingforgeeks.com/how-to-install-asterisk-16-lts-on-ubuntu-debian-linux/
19:00.50*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:1159:6824:6:373a:7afc:7cc)
19:00.57SamotWhy didn't you just follow the Asterisk guide?
19:02.06DannyAi dont know.  i found this and it seemed good
19:02.15DannyAif this installation is fubr i can kill this instance and start over again
19:02.21DannyAthis is our tertiary backup server
19:02.34SamotOK well..
19:02.58DannyAwhere is the official guide?
19:02.59SamotAt the bottom of that guide, it shows you how to setup Asterisk start up to run as the Asterisk user
19:03.08SamotIn fact, it tells you to create the asterisk user and group
19:03.14SamotThen change a bunch of permissions to it.
19:03.19SamotAnd ownership.
19:03.23SamotDid you do all that?
19:03.31SamotProbably not because you thought you couldn't do anything as root.
19:04.24Samot3:02:59 PM <DannyA> where is the official guide? <-- The fact this is a question at this point worries me.
19:08.42DannyAok, solved
19:08.47DannyAi guess i had missed that last part
19:08.55DannyAnow im doing what i do on the two linux boxes in our data centers
19:08.58DannyAsu asterisk
19:09.00DannyAthen going into the console
19:15.03DannyAthanks, !
19:15.06DannyA@Samot
20:01.12*** join/#asterisk zapata (~zapata@2a02:1748:fad4:7260:845c:d928:6539:434b)
20:05.57*** join/#asterisk irrgit (~ch33se@192.241.175.183)
20:48.59*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
21:02.39*** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net)
21:50.35*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:1159:6824:6:373a:7afc:7cc)
22:01.08*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
22:46.32*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:1159:6824:6:373a:7afc:7cc)
23:07.35*** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net)
23:42.23*** join/#asterisk matrix1233 (~matrix123@2a04:cec0:1159:6824:6:373a:7afc:7cc)
23:57.45*** join/#asterisk nickvsnetworking (~nickvsnet@203.176.184.10)
23:59.39*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)

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