IRC log for #asterisk on 20170723

00:01.59a_p3rson|DHey y'all, just trying out FreePBX and Asterisk as a pet project. Asterisk doesn't seem to be starting, though - running `asterisk -vvvvvc`, I get an error about Bucket API initialization failed - https://hastebin.com/oqoladuwuv.txt.
00:03.14a_p3rson|DI don't have very much experience with Asterisk/FreePBX, and I know I'm doing things the "hard" way (i.e. testing on a box with existing Apache sites), but I'm trying to figure out what might be going on here. FreePBX loads up just fine, and navigating to the site seems to be alright, but I can't seem to actually get Asterisk to start properly.
00:13.11[TK]D-Fenderhttps://issues.asterisk.org/jira/browse/ASTERISK-25424
00:13.14[TK]D-Fenderperhaps related
00:30.19*** join/#asterisk joako (~joako@opensuse/member/joak0)
00:42.50*** join/#asterisk zapata (~zapata@2a02:b18:581:10:4847:d9d:c676:70c4)
00:48.09*** join/#asterisk jkroon (~jkroon@165.16.204.173)
01:09.35a_p3rson|DOkay, asterisk is now launching - that (!) was the issue. For some reason, it wasn't there.
01:09.52a_p3rson|DI believe I may have removed it, per faulty instructions elsewhere, thanks [TK]D-Fender
01:10.30a_p3rson|DThough, doing an `fwconsole reload`, I still can't get a connection to AMI, `retrieve_conf` isn't connecting to AMI for some reason.
01:11.00a_p3rson|DDoing `retrieve_conf --debug` doesn't give anything better than the standard "Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting"
01:22.31*** join/#asterisk darkunderlord_ (~darkunder@1353625-v103.1271-static.wsfdindl.metronetinc.net)
01:31.03darkunderlord_get crazy in the asterisk channel on a saturday night!
01:34.51a_p3rson|DIf it matters, it looks like a ton of JSs for FreePBX are missing, too - I'm getting 404s for a lot of the JS/CSS assets
01:37.02darkunderlord_a_p3rson|D, I must have missed what was mentioned earlier :)
03:17.16*** join/#asterisk a_p3rson|D (~a_p3rson@unaffiliated/a-p3rson/x-9102783)
03:17.46a_p3rson|Ddarkunderlord darkunderlord_: nothing super interesting, trying to get a FreePBX/Asterisk server running and hitting nothing but trouble
03:18.19*** join/#asterisk joako (~joako@opensuse/member/joak0)
03:19.29Samota_p3rson|D: Why are you not asking these questions in #freepbx?
03:19.58Samot8:03:17 PM A<a_p3rson|D> I don't have very much experience with Asterisk/FreePBX, and I know I'm doing things the "hard" way (i.e. testing on a box with existing Apache sites), <-- NEEEWWWPPP
03:20.08SamotFreePBX wants to OWN the box.
03:20.15SamotApache needs to run as a specific user.
03:31.47*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
03:34.40a_p3rson|DSamot: so, FreePBX can't be confined to a particular user, then?
03:34.43a_p3rson|Di.e. asterisk?
03:35.22a_p3rson|DI mean, I'm able to serve up the FreePBX content correctly, and Apache seems okay with using mod_privileges to set the owner/group perms on that vhost
03:36.03SamotFreePBX needs the ability to add/remove vhost details
03:36.11Samotstart and restart Apache
03:36.24SamotI'm telling you how FreePBX works.
03:36.34SamotIt expects to have control over certain parts of the server.
03:36.49SamotOwnership of a wide array of directories
03:37.04SamotYou are installing it wrong.
03:37.29SamotFirst, you shouldn't be installing it manually if this is your first time using it.
03:37.49SamotThose are minimal installs and do not have everything required to run all the features of FreePBX
03:38.05SamotAnd depending on the OS, you can't even install the system admin stuff.
03:38.21a_p3rson|DIt's debian-based, actually it's raspbian
03:38.47a_p3rson|DI know there's a raspbx distro that I could grab, but I'd rather not hose my whole rPi for FreePBX.
03:39.04SamotThat's the point I'm trying to make
03:39.15SamotYou *should* be dedicating a server to this.
03:39.42a_p3rson|DOkay then, point made.
03:42.00lorsungcuyou're doing this on an rpi
03:42.05lorsungcuin addition to all the other crap?
03:42.17SamotThat's what it sounds like to me.
03:42.27a_p3rson|DIf by other crap, you mean the two vhosts that are already disabled, then yes.
03:42.44a_p3rson|DThere's nothing actively running on it, other than asterisk and the vhost for FreePBX
03:43.21a_p3rson|Dnothing of my own, anyways. It's in headless mode, so no graphical stuff's running, either.
03:43.38lorsungcurpi 👏 is 👏 a 👏 prototyping 👏 platform. stop 👏 using 👏 it 👏 for 👏 production 👏 stuff.
03:43.50lorsungcuthe claps make it more official
03:45.12a_p3rson|DThat is literally what I'm using it for, prototyping and testing.
03:45.40a_p3rson|DIt's running one phone, on my desk. Primarily to see how it functions with FreePBX's GV functionality.
03:45.50a_p3rson|DThere's nothing production about it.
03:45.50lorsungcugv is dead.
03:46.04lorsungcuthe rpi build does not represent how freepbx operates
03:46.47SamotNot only that
03:46.57lorsungcuthe rpi is meant to prototype soc ARM stuff.
03:47.09SamotAs far as I know there are no official "manual" install steps for Rasdebian
03:47.24SamotHence there being a "distro" for it
03:48.17lorsungcuso unless the end-goal is some ARM platform, this entire test is like practice-kissing your hand
03:48.36a_p3rson|DHa, alright, good analogy.
03:48.53a_p3rson|DI'll just do a VM on my desktop, was trying to avoid that route.
03:49.00lorsungcuvultr.com offers $2.5 VMs.
03:49.20lorsungcuit'd work just fine for what you're looking for, and can be expanded later if you decide to keep it
03:50.52lorsungcuif you want to host this permanently and locally, go on craigslist and find an old thinkpad or something
03:50.59lorsungcucomes with a free battery backup, too.
04:13.05*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:05.55*** join/#asterisk ganbold (~ganbold@173.244.215.173)
05:33.53*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
05:41.19*** join/#asterisk Dovid (~dovid@IGLD-83-130-85-176.inter.net.il)
06:59.59*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
07:25.18*** join/#asterisk DanB_ (~DanB@clt-195.192.207.178.ip-anschluss.net)
07:25.34*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:30.32*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
07:45.19*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
08:13.31*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
08:53.55*** join/#asterisk phix (~threat@57.109.220.203.dial.dynamic.acc01-mark-wlg.comindico.com.au)
09:01.12*** join/#asterisk phix (~threat@C-61-69-243-177.for.connect.net.au)
09:30.41*** join/#asterisk averythomas (~averythom@169.244.30.65)
09:59.20*** join/#asterisk phix (~threat@220.240.94.33)
11:00.59*** join/#asterisk Dovid (~dovid@IGLD-83-130-85-176.inter.net.il)
11:51.39*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
12:11.12*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
13:09.27*** join/#asterisk mou (~donwillia@188.228.46.39)
14:54.09*** join/#asterisk justdave (~dave@unaffiliated/justdave)
15:12.57*** join/#asterisk scgm11_ (~scgm11@r186-49-50-251.dialup.adsl.anteldata.net.uy)
15:28.11*** join/#asterisk pchero (~pchero@109.70.54.56)
15:41.01*** join/#asterisk juvenal (~juvenal@152.249.230.5)
15:42.30darkunderlord_file, if you're around... I think the generic endpoint with my subnet is working after changing the line you sent with identify= to match=.
15:42.39darkunderlord_it's complaining about the following though. Endpoint 'winski_lan' has no configured AORs
15:43.07darkunderlord_should I just ignore since an actual phone won't use that endpoint, and it's just for subscription?
15:52.57ttaylortry reading the documentation, then if you don't understand, come back and ask.
15:58.30darkunderlord_ouch, I just got a RTFM
15:59.26darkunderlord_I understand what AORs are for, but this is a different situation
16:00.15filethe only reason that message would be output is if something was registering
16:01.00darkunderlord_I was afraid of that. That means I can't really use that because I'll have registering phones on the same IP subnets as the ones that needed the identify.
16:01.17darkunderlord_for subs purposes.
16:01.33filethen you can only do anonymous.
16:05.00*** join/#asterisk juvenal (~juvenal@152.249.230.5)
16:07.05*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
16:07.43darkunderlord_thanks. I think I'll just try to get subs working between my two 13 boxes the right way, and will have to ignore the 11 boxes for subs until I get it upgraded to 13
16:18.49*** join/#asterisk Dovid (~dovid@IGLD-83-130-85-176.inter.net.il)
16:20.05*** join/#asterisk juvenal (~juvenal@152.249.230.5)
16:27.34*** join/#asterisk Asterisco (~catan@host236-100-dynamic.52-79-r.retail.telecomitalia.it)
16:27.40Asteriscohi
16:29.17AsteriscoWARNING[14946]: chan_sip.c:4071 retrans_pkt: Retransmission timeout reached on transmission eS61ONGQb0PxUmZkch96Ei-97o-B48IA for seqno 22070 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmission
16:29.29Asteriscowhat is the problem?
16:29.37SamotThat means absolutely nothing.
16:30.36[TK]D-Fenderit does
16:30.46[TK]D-Fenderit means * send out a packet and got no answer
16:30.53[TK]D-Fenderjust like it says.
16:31.03SamotNot to mention that link tells you why it happens.
16:31.04Asteriscoi've set port 5060 for sip and 10000-20000
16:31.05[TK]D-Fendergo look at where it's sending it to and what it is sending
16:32.38Asteriscohow can i do it?
16:33.13[TK]D-Fender"sip set debug on" <----
16:34.16AsteriscoVia: SIP/2.0/UDP 10.0.0.1:5060;rport=5060;
16:35.53[TK]D-FenderPASTEBINI THE WHOLE DAMN THING
16:35.56[TK]D-Fendernot just 1 stupid line
16:35.58Asteriscook
16:36.00Asteriscoone moment
16:38.58Asteriscohttps://pastebin.com/AmY4GA9r
16:39.32Asteriscowhen i call from a client
16:39.45Asteriscothe call hangup after few seconds
16:39.49Asteriscoabout 5 seconds
16:40.28[TK]D-Fender<--- Reliably Transmitting (no NAT) to 79.52.100.236:5060 --->
16:40.32[TK]D-FenderContact: <sip:095123456@10.0.0.1:5060>
16:40.43[TK]D-FenderYo have NOT configured your server to work from behind NAT properly
16:41.02[TK]D-Fenderyou are advertising your PRIVATE IP as the contact which is somehtng that means nothing to someone over the internet
16:41.06*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.178)
16:41.09[TK]D-Fenderfix your SIP configs
16:41.13Asterisco?!?!?!?
16:41.54[TK]D-Fenderyou're giving them the WRONG ADDRESS
16:41.59[TK]D-FenderWhat part are you having trouble with
16:42.06[TK]D-Fenderyou need * to send the IP on you ROUTER.
16:42.10[TK]D-Fendernot it's INTERNAL one
16:42.14Asteriscoi do it!
16:42.20[TK]D-FenderYOU  DID IT WRONG
16:42.26Asterisco<PROTECTED>
16:42.26AsteriscoAttiva
16:42.26Asterisco
16:42.26AsteriscoModifica
16:42.26AsteriscoAsterisk SIP 10.0.0.1 ALL 5060 5060
16:42.27AsteriscoAttiva
16:42.28[TK]D-Fender<[TK]D-Fender> Contact: <sip:095123456@10.0.0.1:5060> <-----
16:42.29Asterisco
16:42.31AsteriscoModifica
16:42.33AsteriscoAsterisk RTP 10.0.0.1 ALL 10000-20000 10000-20000
16:42.50[TK]D-FenderAsterisco>   Asterisk IAX2  10.0.0.1  UDP  4569  4569   <---- not your PUBLIC IP
16:42.50Asteriscou see?
16:43.04[TK]D-FenderTHAT IS A ***PRIVATE IP ***
16:43.32Asteriscothis is my router configuration
16:43.34[TK]D-Fenderthat is a LAN IP, not an INTERNET PUBLIC IP
16:43.43[TK]D-Fender* is sending a PRIVATE IP
16:43.46[TK]D-Fenderthat is NOT your public one
16:44.01[TK]D-Fender10.x.x.x = PRIVATE
16:44.05Asteriscomy public ip is my router that assign
16:44.07Asteriscono?
16:44.39[TK]D-Fenderhttps://www.google.ca/#q=what+is+my+ip
16:44.41[TK]D-Fender^^^^^^
16:44.50Asteriscoin log i've changed my ip in 123.123.123.123
16:45.06SamotFFS.
16:45.11SamotDo not modify crap.
16:45.12[TK]D-FenderContact: <sip:095123456@10.0.0.1:5060> <--- FUCKING PRIVATE IP
16:45.15[TK]D-Fender^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:45.23[TK]D-Fenderdo NOT fuck with the evidence
16:45.31[TK]D-Fenderthat says PRIVATE to me.
16:45.37AsteriscoTk fender...
16:45.43Asteriscoi've a Patton gateway
16:45.49[TK]D-FenderI don't care
16:45.53Asteriscothe ip of my patton gateway is 10.0.0.1
16:45.56Asteriscoops
16:45.56Asteriscono
16:45.58Asterisco:)
16:46.09[TK]D-Fender<[TK]D-Fender> <--- Reliably Transmitting (no NAT) to 79.52.100.236:5060 --->
16:46.09[TK]D-Fender<[TK]D-Fender> Contact: <sip:095123456@10.0.0.1:5060>
16:46.15[TK]D-FenderTHIS fucker is on the INTERNET
16:46.22[TK]D-FenderI don't give a shit WHAT it is
16:46.25Asterisco10.0.0.1 is the ip of my asterisk server
16:46.27[TK]D-FenderYou are talking to it WRONG
16:46.46Asteriscook
16:46.55Asteriscoso i need modify sip.conf?
16:47.02[TK]D-Fender[TK]D-Fender> you're giving them the WRONG ADDRESS
16:47.10[TK]D-Fender<[TK]D-Fender> fix your SIP configs
16:47.12[TK]D-Fender^^^^^^
16:47.33Asteriscorealm=123.123.123.123
16:47.36Asteriscoright?
16:47.36[TK]D-FenderMEANINGLESS
16:47.38[TK]D-FenderNO
16:47.52[TK]D-Fenderlocalnet <- SET IT PROPERLY
16:48.10[TK]D-Fenderexternaddr= <_ THIS IS YOUR PUBLIC IP
16:48.20[TK]D-Fendernat=yes <-- because you ARE
16:48.40[TK]D-Fenderdirectmedia=no <- because if you allow reinvites, you're probably not going to get audio
16:48.47Asteriscolocalnet=10.0.0.0/255.255.255.0
16:49.02[TK]D-FenderFix all of this and then show us the new config
16:50.30AsteriscoFender.... excuseme
16:50.45Asteriscoso canreinvite=no don't work from Aterisk 1.6?
16:51.05Asteriscoi need put  directmedia=yes
16:51.15Asteriscoand not canreinvite=no
16:51.17Asteriscoright?
16:52.15[TK]D-Fender* 1.6 is NOT supported
16:52.18[TK]D-Fenderyou should not be using it
16:52.30[TK]D-Fenderand no, directmedia was the parameter even then
16:53.24Asterisconow works fine
16:53.43Asteriscobut when i try to close the call from softphone...
16:53.58Asteriscoi could't stop it
16:54.42Asterisconoooo
16:54.46Asteriscodon't work
16:54.48Asterisco:(
16:56.35Asteriscohttps://pastebin.com/VQ3Q7kfp
16:58.57[TK]D-FenderI see I'm wasting my time here...
16:59.23Asteriscono
16:59.26Asteriscoexcuse me
17:02.45Asteriscohttps://pastebin.com/QQZSvRhQ
17:02.51Asteriscosip debug on
17:02.54Asterisco:)
17:04.13[TK]D-FenderRetransmitting #2 (no NAT) to 79.52.100.236:5060:
17:04.20[TK]D-FenderContact: <sip:asterisk@10.0.0.1:5060>
17:04.22[TK]D-FenderNOT FIXED
17:04.35[TK]D-FenderAnd you're not following instructions.
17:04.44[TK]D-FenderI'm getting seriously tired of repeating myself
17:05.15Asteriscoexcuseme...
17:05.23Asteriscoin sip.conf i've put:
17:05.36Asteriscolocalnet=10.0.0.0/255.255.255.0
17:05.43[TK]D-FenderPASTEBIN IT FUCKER
17:05.44Asteriscoin internal [15]
17:05.47[TK]D-FenderNO
17:05.56Asteriscodirectmedia=yes
17:06.13[TK]D-Fenderthese are all for [general] <-- NOT your PEERS
17:07.46[TK]D-Fender<[TK]D-Fender> Fix all of this and then show us the new config
17:07.57[TK]D-FenderFOLLOW INSTRUCTIONS OR YOU'RE ON YOUR OWN
17:08.19Asteriscohttps://pastebin.com/YNgpADzh
17:08.31Asteriscoah ok :\
17:08.38[TK]D-Fender<[TK]D-Fender> these are all for [general] <-- NOT your PEERS
17:09.15Asterisco[generale] ... localnet=10.0.0.0/255.255.255.0
17:09.15Asteriscodirectmedia=yes
17:09.18Asteriscoright?
17:09.41[TK]D-Fender[TK]D-Fender> FOLLOW INSTRUCTIONS OR YOU'RE ON YOUR OWN
17:09.50[TK]D-FenderI gave you the settings you need to have
17:09.54[TK]D-Fenderyou did NOT do them all
17:10.45Asterisco?!?!?!?!?
17:10.54Asteriscois wrong my config file?? now?
17:11.35Asteriscowhere is the error?
17:11.44[TK]D-Fender<[TK]D-Fender> you did NOT do them all <--------------------------------
17:12.09SamotAsterisco: Have you read any of the basics on Asterisk?
17:12.11Asteriscowhat i forgot?
17:12.24[TK]D-FenderGo back and READ what I told you to add
17:12.29Samot^^^^
17:12.30[TK]D-Fenderand LOK in your own stupid config
17:12.34[TK]D-Fenderdo you see all of those?
17:12.46Asterisco<[TK]D-Fender> localnet <- SET IT PROPERLY
17:12.46Asterisco<[TK]D-Fender> externaddr= <_ THIS IS YOUR PUBLIC IP
17:12.46Asterisco<[TK]D-Fender> nat=yes <-- because you ARE
17:12.46[TK]D-FenderA TEXT SEARCH PROVES YOU DIDN'T
17:12.50Asteriscoi'v not read it!
17:12.53Asteriscoexcuse me
17:12.54Asterisco:)
17:13.25[TK]D-Fender<[TK]D-Fender> [TK]D-Fender> FOLLOW INSTRUCTIONS OR YOU'RE ON YOUR OWN
17:13.31[TK]D-FenderI'm done with this...
17:13.38[TK]D-Fendermoves on to more productive matters
17:13.49AsteriscoFender i'm sorry
17:17.04Asteriscook!!
17:17.09AsteriscoWORK FINE! :)
17:17.14AsteriscoTnx Fender!!!!
17:19.49*** join/#asterisk scgm11_ (~scgm11@r186-50-146-146.dialup.adsl.anteldata.net.uy)
17:27.36*** join/#asterisk karelk (~karel@31.10.154.117)
17:41.00*** join/#asterisk scgm11_ (~scgm11@r186-50-146-146.dialup.adsl.anteldata.net.uy)
17:52.44*** join/#asterisk juvenal (~juvenal@152.249.230.5)
18:25.06*** join/#asterisk juvenal (~juvenal@152.249.230.5)
18:29.12*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net)
18:42.39*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
18:47.03*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
19:29.33*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:33.05darkunderlord_so if I follow https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP , will that share BLF/hints between 2 * 13 servers?
19:33.28darkunderlord_so is device state the same as hints for blf?
19:54.39*** join/#asterisk Encrypt (~Encrypt@AMontsouris-655-1-33-59.w90-44.abo.wanadoo.fr)
20:07.15igcewielingsorry, I don't use pjsop
20:07.23igcewielingor even pjsip
20:16.10*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
20:18.14*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
20:39.01*** join/#asterisk juvenal (~juvenal@177.197.88.89)
21:18.23*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:33.56*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
21:55.57*** join/#asterisk juvenal (~juvenal@177.197.88.89)
22:11.47darkunderlord_lol
22:12.00darkunderlord_this shit has been driving me crazy for about a week now, everyday
22:12.38darkunderlord_first thought corosync might work. Nope. I just want my dumb users to see when someone is on the phone from a diff server I have :D
22:14.08[TK]D-Fenderthat page means what it says AND lists alternate methods
22:49.50*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
22:53.21*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
23:54.02darkunderlord_[TK]D-Fender, Maybe you need a vacation. Seems like a bad day for you.
23:55.50[TK]D-FenderWel you said :I jsut want" and it shows you 1 way and describes the others
23:56.44[TK]D-FenderAnd you diodn't show anyhting or ask a question so I guess it was just  "reporting in" vs actually looking to get help improving the situation
23:56.51[TK]D-Fenderso .. best of luck
23:56.55darkunderlord_sorry, I've tried the corosync, don't like the Jabber way (seems old and clunky), and have been trying the PJSIP way
23:57.46darkunderlord_did I miss one? I've read these wiki pages a bunch of times
23:58.03[TK]D-Fenderthe WIKI page itself listed others
23:58.12[TK]D-Fenderincluding XMPP
23:58.30[TK]D-Fendernow the fact you don't like the concept of it doesn't devalidate it as an option
23:58.46[TK]D-FenderBut that's looking away from the approach you seemed to say you were working on

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