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.27 | Zombie | I'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.24 | drmessano | Slade: You understand that was a shitpost, right? |
01:52.10 | Slade | heh |
01:52.51 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
01:53.18 | drmessano | ? |
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.31 | Samot | hahaha |
02:31.40 | Samot | I mean you didn't take it seriously, right? |
02:32.20 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
02:34.08 | Samot | "Meet me on the Joe Rogan Experience" |
02:34.15 | Samot | This 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.33 | DannyA | hey 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.56 | Zombie | Anyone 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.22 | muks | does chan_mobile support sending/receiving SMS messages also from an android phone? |
08:10.50 | muks | (perhaps a better question is if the base android OS platform supports SMS over bluetooth) |
08:11.28 | muks | there are some blog articles about using chan_mobile with SMS, but they are old articles and list nokia phones running symbian |
08:13.12 | muks | i 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.34 | muks | it 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.53 | muks | some 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.49 | Zombie | So, Optimism... I think I have Voicemail working. |
11:15.04 | Zombie | I 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.29 | Samot | lolol |
13:02.06 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
13:03.59 | Slade | Samot, 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.32 | Samot | And the fact the entire dialog was made up? |
13:07.38 | Slade | well one thing leads to another. ;) |
13:13.51 | Zombie | Samot, 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.30 | Zombie | I can't actually call the voice mail system and listen to my test voicemail recordings. |
13:16.55 | Zombie | It says *98 but I don't think that's right. |
13:18.06 | Samot | Well have you set that up? |
13:20.53 | Zombie | No, I'm not sure what extension to tie VoiceMailMain too. |
13:20.56 | Zombie | I tried this: |
13:21.44 | Zombie | exten => 1237,1,VoiceMailMain(${CALLERID(num)}@default) |
13:22.05 | Samot | And? |
13:22.08 | Zombie | What I thought this would do is cann Voicemail main |
13:22.20 | Zombie | but it just gives me a number unreachable error. |
13:22.35 | Samot | OK but what is actually wrong? |
13:22.57 | Zombie | I just want to be able to recall Voicemails. |
13:25.22 | Samot | But what is actually wrong? |
13:25.37 | Samot | All you've said is it doesn't work and give an error |
13:25.41 | Samot | How about, what error? |
13:25.47 | Samot | Did you look at the logs? |
13:26.08 | Zombie | I'll turn up the logs, and throw you the error. |
13:29.45 | Zombie | https://pastebin.pl/view/a6722829 |
13:30.05 | Zombie | I'm currently using app_voicemail_plain.so |
13:30.44 | Samot | OK |
13:30.54 | Samot | I have no clue what your issue is. |
13:31.20 | Samot | You have been told, repeatedly, we do not need so see core debug output |
13:31.31 | Zombie | okay. |
13:31.37 | Samot | There's no call here |
13:31.44 | Samot | On top of all that |
13:31.44 | Zombie | You need the pjsip debugger |
13:31.45 | Samot | Not even a single piece of it. |
13:31.49 | Zombie | right? |
13:31.51 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
13:32.02 | Samot | core set verbose 10 |
13:32.07 | Samot | We need to see what the dialplan is doing. |
13:37.19 | Zombie | Found the problem,/ |
13:40.13 | Samot | Uh huh |
13:42.05 | Zombie | It was in the wrong context. |
13:42.24 | Zombie | It needed to be moved to the Internal context. |
13:42.34 | Zombie | I have another debugging question. |
13:42.40 | Samot | I'm sure you do. |
13:43.06 | Zombie | if I wanted to go ahead with IMAP storage, would you know how to debug that? |
13:43.24 | Samot | Nothing, I don't use it because it's a PITA. |
13:43.29 | Samot | And pointless for the most part. |
13:43.32 | Samot | No one case. |
13:43.35 | Zombie | I realize asking you that makes you break in Gives. |
13:43.41 | Zombie | Hives. |
13:43.50 | Samot | No, it doesn't. |
13:43.59 | Samot | You can barely make simple voicemail work. |
13:46.04 | *** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net) |
13:52.36 | Zombie | I think I figured it out, at least as far as setting Pins go. |
13:52.49 | Zombie | I am to the point where this system can replace the main one. |
14:01.57 | Samot | So why do you need IMAP voicemail? |
14:03.52 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
14:05.04 | Zombie | One reason is ease of listening to them, but also Replication. |
14:05.19 | Zombie | but more to the point, its refusing my Pins. |
14:05.28 | Zombie | I'll post you the error. |
14:05.58 | Samot | Ease of listening to them? |
14:06.03 | Samot | How does it make it easier? |
14:06.24 | Zombie | I don't always have my device near me at all times. |
14:06.38 | joepublic | they check you, instead of vice-versa? |
14:06.52 | Samot | So if you have no devices, how does IMAP make it easier? |
14:07.26 | Zombie | I can just open them from within Thunderbird that way. |
14:07.36 | Samot | LOL |
14:07.43 | Samot | So you can't just email yourself the voicemail? |
14:07.54 | Samot | The voicemail app emails and attaches the voicemail. |
14:07.56 | Zombie | No SMTP. Remember? |
14:08.09 | Samot | How can you have no SMTP? |
14:08.26 | Zombie | my ISP will block it. |
14:08.34 | joepublic | Get a throwaway shared web hosting account, use its SMTP server? |
14:08.34 | Samot | So you can't send emails from your ISP? |
14:08.42 | Samot | Or you know, SMTP relay |
14:09.11 | Samot | Strangely, he can send email from a client but can't from his PBX |
14:09.19 | Zombie | Well right now, I'm still using app_voicemail plain and trying to find out why it wouldn't accet my PIN. |
14:10.06 | Zombie | Asterisk actually gave me a warning saying it couldn't read it. |
14:10.13 | Zombie | Let me Pastebin. |
14:11.36 | cybrNaut | Zombie: does your ISP block Tor? it's possible to setup Postfix to relay to .onion port 25 |
14:12.06 | Zombie | https://pastebin.pl/view/399b9bd7 |
14:12.29 | Zombie | I'm not sure, |
14:12.54 | cybrNaut | hmm.. 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.39 | Samot | 9:31:21 AM <Samot> You have been told, repeatedly, we do not need so see core debug output |
14:14.41 | Samot | FFS dude. |
14:14.43 | Samot | LISTEN |
14:14.49 | Zombie | Hang on. |
14:14.50 | Samot | You claim you LISTEN then DO IT |
14:15.03 | Zombie | let me change the debug mode again. |
14:16.09 | Samot | Your failure to listen, follow instructions or retain what you have been taught/shown is really starting to irritate me. |
14:16.45 | Zombie | Hold on hod on. |
14:17.12 | Zombie | It just replayed a password on the verbose output. |
14:17.32 | Zombie | showing me what I entered, and it did not match what I typed. |
14:18.09 | Samot | WTF |
14:18.31 | Samot | How did we go from "Hold on, gonna fix that pastebin" to giving me an editorial comment? |
14:18.45 | Zombie | I'm going to fix that pastebin yes. |
14:18.57 | Zombie | I was getting you new output in the different mode |
14:27.40 | Zombie | https://pastebin.pl/view/970bade5 |
14:27.53 | Zombie | Even when I enter a correct PIN |
14:28.07 | Zombie | It gives me login incorrect. |
14:32.41 | Samot | OK I thought you said the context was internal? |
14:32.44 | Samot | Correct? |
14:33.20 | Zombie | https://pastebin.pl/view/441de67a |
14:33.35 | Zombie | The Voicemail context is Default. |
14:33.50 | Zombie | The Extension context is internal. |
14:33.59 | Zombie | Is that wrong? |
14:34.22 | Samot | Earlier you said voicemail wasn't moving because it was in the wrong context. I'm just checking. |
14:34.34 | Samot | So now, how about you do what I asked quite a while ago. |
14:34.48 | Samot | Give me that pastebin with core set verbose 10 |
14:34.55 | Zombie | Okay. |
14:38.11 | Zombie | https://pastebin.pl/view/5d0f655e |
14:42.30 | Samot | Set the password to the same as the mailbox, so 6002 |
14:42.52 | Samot | That way it walks you through the setup wizard, which will prompt you to change your password and recording greetings. |
14:43.01 | Samot | See if changing your password that way works |
14:48.43 | Zombie | https://pastebin.pl/view/3e3d19ba |
14:48.45 | Zombie | Nope. |
14:49.55 | Zombie | https://pastebin.pl/view/4e20d352 |
14:50.07 | *** join/#asterisk wonderworld (~wonderwor@unaffiliated/wonderworld) |
14:50.51 | Samot | Did you reload things? |
14:52.29 | Zombie | I did a service asterisk restart |
14:53.31 | Samot | And did you get the wizard? |
14:53.42 | Samot | Did it prompt you to set up your mailbox? |
14:56.33 | Zombie | No. |
15:08.33 | Zombie | <PROTECTED> |
15:08.42 | Zombie | I did get this error. |
15:12.17 | Zombie | could it be failing to read indiviual tones? |
15:12.52 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
15:19.27 | drmessano | wow |
15:20.10 | drmessano | Do you have VM_Authenticate() in your dialplan> |
15:20.13 | drmessano | Do you have VM_Authenticate() in your dialplan? |
15:23.03 | drmessano | Zombie: ^ |
15:24.36 | Zombie | I do not believe so. |
15:25.33 | drmessano | cat extensions.conf | grep -i vm |
15:27.02 | Zombie | https://pastebin.pl/view/3fc32254 |
15:28.17 | drmessano | Ok, pastebin your voicemail.conf |
15:28.21 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
15:31.15 | Zombie | https://pastebin.pl/view/ed9cb1d5 |
15:31.21 | Zombie | Ignore the imap stuff. |
15:31.31 | Zombie | I am using the plain module. |
15:34.50 | drmessano | try voicemail again, show the entire call in Pastebin |
15:37.31 | Zombie | https://pastebin.pl/view/8dd341d5 |
15:40.29 | drmessano | asterisk -rx "voicemail reload" and try again |
15:42.46 | Zombie | Pretty much the same result. |
15:43.06 | Zombie | Is it possible to setup a passwordless voicemail box? |
15:43.18 | Zombie | Just for testing. |
15:48.18 | drmessano | Well, 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.26 | drmessano | Asterisk doesn't like something |
15:51.04 | Zombie | I used the s option. |
15:51.16 | Zombie | I can now do it without the PIN./ |
15:51.34 | Zombie | I can hear the test messages I recorded. |
15:53.11 | Zombie | I can confirm Voicemail works. |
15:53.32 | Samot | Long shot |
15:53.48 | drmessano | Are you calling voicemail from 6002? |
15:53.54 | Zombie | Yes. |
15:53.56 | Samot | Make it => in the voicemail.conf |
15:54.20 | Zombie | hm? |
15:54.42 | drmessano | 6002 => 6002,blah |
15:54.55 | drmessano | Dont put "blah". Just change the formatting |
15:55.16 | Samot | Also...im not sure what voicemail_plain does |
15:55.37 | drmessano | Oh |
15:55.54 | Zombie | Thats the standard not IMAP or ODBC Module. |
15:55.58 | Zombie | I have three modules. |
15:56.10 | Zombie | Plain, ODBC, and IMAP |
15:57.04 | Zombie | I'm almost ready to migrate everything over. |
15:59.34 | drmessano | I'm not so sure about that |
15:59.48 | Zombie | Why is that? |
15:59.56 | Zombie | This is already more functional. |
16:04.20 | drmessano | This app_voicemail_plain thing |
16:05.05 | Zombie | I can switch it to app_voicemail_Imap |
16:05.35 | drmessano | I see some ancient references to app_voicemail_plain, but this looks like some naming convention for RPMs |
16:05.53 | drmessano | because it's app_voicemail.so not app_voicemail_plain.so |
16:06.18 | Zombie | I'll have to check the Spec File. |
16:06.32 | Zombie | The Spec File probably renamed it. |
16:07.03 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
16:07.51 | Zombie | + mv apps/app_voicemail.so apps/app_voicemail_plain.so |
16:07.51 | Zombie | + mv apps/app_directory.so apps/app_directory_plain.so |
16:08.06 | Zombie | okay, the RPM renamed it to prevent a collision. |
16:08.08 | drmessano | Heh |
16:08.29 | drmessano | A collision created by using RPMs |
16:09.19 | drmessano | tags Samot back in |
16:09.32 | drmessano | I'm back to using my 10-foot pole |
16:10.41 | Zombie | To split the rpm, into different modules. |
16:10.51 | Zombie | I'm pouring over the build log. |
16:14.03 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
16:16.02 | Zombie | Its as I suspected. |
16:16.17 | Zombie | They were renamed to prevent collisions. |
16:16.37 | Zombie | they both would have popped out as app_voicemail.so |
16:16.46 | Zombie | All three would have. |
16:17.24 | drmessano | Which is not at all how Asterisk build them |
16:17.52 | Samot | How do other people make RPMs of Asterisk without this issue? |
16:18.04 | Zombie | realizes a place where he screwed up. |
16:18.14 | Samot | Yes, by making your own RPM. |
16:18.16 | Zombie | The imap modules are all the plain module. |
16:18.23 | drmessano | JFC |
16:18.53 | drmessano | hah |
16:18.57 | Samot | drmessano: 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.54 | Samot | 12: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.57 | drmessano | Awww come on |
16:41.00 | drmessano | lol |
16:41.26 | Samot | drmessano: This isn't a 2000-ish problem, he's not interested. |
16:42.03 | Zombie | Build time, compile options. |
16:42.37 | Samot | For what reason? |
16:42.51 | Samot | You built and compiled them with Asterisk. |
16:43.54 | drmessano | Zombie: I am going to say this ONE more time |
16:44.07 | drmessano | Use the configure script... then make menuselect |
16:44.30 | drmessano | There's a really nice menu that has all of the modules, compile options, etc |
16:44.37 | drmessano | and lots of little tips on what does what |
16:44.56 | drmessano | You would know that if you actually ran it, instead of this RPM build shit |
16:45.26 | drmessano | Been saying this for a week |
16:46.00 | Zombie | I'm going to rest. |
16:46.08 | Zombie | I have to be up in six hours. |
16:46.16 | Zombie | This was progress either way. |
16:46.56 | drmessano | Same reaction as the last time I told you run the scripts |
16:47.01 | Samot | Look dude.. |
16:47.03 | drmessano | But ok |
16:47.08 | Samot | You'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.23 | Samot | Because again 99% of the issues have been due to your poor RPM build. |
16:47.33 | Zombie | I'm starting to see that. |
16:47.40 | drmessano | and sliding modules in and out by installing/removing |
16:47.55 | drmessano | Rather than using the fucking build environment that basically tells you what each module does |
16:48.03 | Zombie | If I have too, I'll chroot this and build within the chroot to avoid breaking the RPM system. |
16:48.08 | Samot | We spend hours trying to trouble shoot something like this voicemail issue |
16:48.10 | Zombie | without RPM |
16:48.20 | Samot | Turns out, voicemail was compiled wrong. |
16:48.28 | Samot | No. |
16:48.29 | Samot | JFC. |
16:48.35 | Samot | DO NOT INSTALL SOURCE OVER THE RPM |
16:48.40 | drmessano | lol |
16:48.41 | Samot | OR VICE VERSA |
16:48.51 | Samot | F'ing start fresh. |
16:48.52 | Zombie | I'm not going too. |
16:49.09 | Zombie | Thats what the chroot is for |
16:49.14 | Zombie | to start fresh. |
16:49.26 | Zombie | away from the bare metal. |
16:49.27 | drmessano | How about this |
16:49.33 | Samot | So a new server? |
16:49.41 | drmessano | Remove the whole damn thing except the configs |
16:49.47 | drmessano | all the RPMs |
16:49.54 | drmessano | and just build from source |
16:50.02 | drmessano | Done |
16:50.58 | drmessano | But 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.03 | drmessano | Ok, done |
16:51.30 | Zombie | Samot, A chroot is one step removed from a VM. |
16:52.01 | Zombie | I don't want to introduce corruption into the RPM Database. |
16:52.47 | Samot | How about this. |
16:52.51 | Samot | Don't use YOUR RPMs. |
16:53.05 | Samot | But then again, you're running some hobbyist OS. |
16:53.16 | Samot | So who knows what they have available. |
16:58.36 | *** join/#asterisk chandoo (~chandoo@pool-100-1-166-161.nwrknj.fios.verizon.net) |
17:00.32 | Zombie | They 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.02 | DannyA | hey 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.20 | DannyA | how can i get it to run under any user on the machine and fix the database lock issue? |
18:50.33 | DannyA | is it a matter of giving the right permissions on a folder/folders? |
18:53.13 | Samot | Which database is locked? |
18:54.37 | DannyA | db.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.38 | Samot | Ahh, the AstDB. |
18:55.43 | Samot | OK so check that. |
18:55.55 | Samot | Check to make sure it has the right permissions. |
18:56.12 | DannyA | how |
18:56.23 | DannyA | this is where i think things got messed up during installation |
18:56.33 | DannyA | by default, when u run an EC2 instance, you SSH in as the ubuntu user, not root |
18:56.34 | Samot | It is in /var/lib/asterisk |
18:56.39 | DannyA | so everything has to be done without root permissions |
18:56.44 | DannyA | so you end up sudo'ing things |
18:56.47 | DannyA | and things get messed up :( |
18:56.51 | Samot | ls -l /var/lib/asterisk/astdb.sqlite3 |
18:56.58 | Samot | No. |
18:57.08 | Samot | You can SSH in as the ubuntu user and then sudo to root |
18:57.08 | DannyA | -rw-r--r-- 1 root root 12288 May 17 18:41 /var/lib/asterisk/astdb.sqlite3 |
18:57.14 | Samot | Asterisk is running as root. |
18:57.27 | DannyA | right, so when i login as ubuntu user, im not able to do things by default |
18:57.37 | Samot | OK so first, don't run Asterisk as root |
18:57.42 | DannyA | ok, how do i change that |
18:57.50 | Samot | Second, if you SSH to an EC2 machine you have to sudo to root |
18:58.11 | Samot | Third, if you use SSH Keys instead of user/pass then you can log in directly as root. |
18:58.34 | Samot | You change it in the Asterisk start script, if you are using one. |
18:58.40 | DannyA | how do i know if i am |
18:58.49 | Samot | Well, did you make one? |
18:59.01 | DannyA | i ran whatever the installation instructions told me to do |
18:59.03 | DannyA | i can find it |
18:59.14 | Samot | OK so then it's in the startup scripts. |
18:59.30 | DannyA | https://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.57 | Samot | Why didn't you just follow the Asterisk guide? |
19:02.06 | DannyA | i dont know. i found this and it seemed good |
19:02.15 | DannyA | if this installation is fubr i can kill this instance and start over again |
19:02.21 | DannyA | this is our tertiary backup server |
19:02.34 | Samot | OK well.. |
19:02.58 | DannyA | where is the official guide? |
19:02.59 | Samot | At the bottom of that guide, it shows you how to setup Asterisk start up to run as the Asterisk user |
19:03.08 | Samot | In fact, it tells you to create the asterisk user and group |
19:03.14 | Samot | Then change a bunch of permissions to it. |
19:03.19 | Samot | And ownership. |
19:03.23 | Samot | Did you do all that? |
19:03.31 | Samot | Probably not because you thought you couldn't do anything as root. |
19:04.24 | Samot | 3:02:59 PM <DannyA> where is the official guide? <-- The fact this is a question at this point worries me. |
19:08.42 | DannyA | ok, solved |
19:08.47 | DannyA | i guess i had missed that last part |
19:08.55 | DannyA | now im doing what i do on the two linux boxes in our data centers |
19:08.58 | DannyA | su asterisk |
19:09.00 | DannyA | then going into the console |
19:15.03 | DannyA | thanks, ! |
19:15.06 | DannyA | @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) |