IRC log for #asterisk on 20191116

00:05.08*** join/#asterisk lankanmon_ (~LKNnet@CPEb4fbe4e331bd-CM64777d632380.cpe.net.cable.rogers.com)
00:09.38*** join/#asterisk Janos (~Janos@201.204.94.76)
01:23.22*** join/#asterisk spatel (~spatel@pool-96-237-230-64.bstnma.fios.verizon.net)
02:02.32rue_mohrhow does one get messages about failing sip login attempts?
02:04.43SamotOne parses log files.
02:04.53*** join/#asterisk MICROburst1 (~Thunderbi@x4d0b1641.dyn.telefonica.de)
02:15.40rue_mohrso, it wont come up in asterisk -r with debug and verbose set to 9?
02:17.21SamotSure it would.
02:17.49SamotBut if you're trying to debug login attempts you should be looking at the actual SIP messages
02:18.24rue_mohrok how do I get to those?
02:18.38rue_mohrI'm outdated, I knew 1.6
02:18.59rue_mohrI'm confused as there only seems to be pgsip in the console
02:19.01igcewielingtcpdump, wireshark, sngrep
02:19.06rue_mohrI dont know if ... oh
02:19.33rue_mohrso, I should find out about bad login attempts at the packet level...
02:20.00igcewielingyou could fight with "pjsip set logging" settings, but the other tools might be useful too.
02:20.10rue_mohrI just want to see the fails for the account I told a device to use that I' havn't made yet
02:20.45igcewielingyou can set logging for a specific IP with pjsip
02:20.57rue_mohrphony3*CLI> pjsip
02:20.57rue_mohrNo such command 'pjsip' (type 'core show help pjsip' for other possible commands)
02:21.06rue_mohrhmm
02:21.10igcewielingyou must be using chan_sip then.
02:21.21igcewielingthere are a zillion pages on debugging with chan_sip
02:21.37rue_mohrthen chan_sip  should say something, right?
02:21.42rue_mohrI get the same error
02:21.50rue_mohrmaybe I blew the compile
02:22.01igcewieling"module show" to see what modules are loaded
02:22.17[TK]D-Fenderhow do you not even know what you configured?
02:22.24igcewielingassuming you are running a modern version of Astrisk
02:22.28rue_mohrres_pjsip
02:22.29[TK]D-FenderIf you have to ask about PJSIP  then you aren't even there
02:22.33rue_mohrits hot off git
02:22.46[TK]D-Fendersip.conf <----------
02:22.54[TK]D-Fenderyou're on regular chan_sip if you have to ask at all
02:23.02[TK]D-Fenderand regular SIP debug is still there
02:23.08rue_mohrno chan_sip
02:23.26[TK]D-Fenderpjsip <tab>
02:23.26[TK]D-Fender^
02:23.30[TK]D-Fendergo prove it's loaded
02:23.31*** join/#asterisk Typhon (~Typhon@dslb-084-056-169-220.084.056.pools.vodafone-ip.de)
02:23.34[TK]D-Fenderpjsip show endpoints
02:23.42[TK]D-Fenderand you've configured them at all
02:23.43rue_mohrres_pjsip
02:23.50[TK]D-Fendershow it
02:23.52rue_mohrpjsip isn't an available command
02:24.09rue_mohroh it...
02:24.21rue_mohr:) tab tab
02:24.25[TK]D-FenderTAB <-----------
02:24.29[TK]D-Fenderhit the damn key
02:24.52[TK]D-Fenderpjsip show endpoints
02:24.53rue_mohrI did its there
02:24.53[TK]D-Fender^
02:24.59[TK]D-FenderI gave you a FULL command too....
02:24.59rue_mohrI'm playing
02:25.03[TK]D-Fenderpjsip set logger on
02:25.04[TK]D-Fender^
02:25.07[TK]D-Fenderto look for traffic
02:25.21rue_mohrpjsip show endpoints
02:25.21rue_mohrNo objects found.
02:25.32rue_mohrthat means there aren't any accounts created?
02:25.32[TK]D-FenderSo nothing configured
02:25.40[TK]D-FenderDid you MAKE them?
02:25.55rue_mohrok, so I have a device trying to log in, I should be able to see the errors, right?
02:26.01rue_mohrI wanted to see the errors first
02:26.06[TK]D-FenderI gave you the command for that TWICE....
02:26.14[TK]D-FenderAssuming it's even hitting the right port
02:26.18[TK]D-FenderOr anything is listening at all
02:26.28rue_mohrexactly what I wanted to start with
02:26.28[TK]D-FenderYou haven' confirmed that you configured ANYTHING'
02:26.47[TK]D-FenderAnd this game of "secret squirrel" is getting tiring.
02:26.48rue_mohrI didn't I want to see it telling my device its login in denied
02:26.55[TK]D-FenderWhat did you actually MAKE?
02:27.11rue_mohrits got the example config
02:27.17[TK]D-FenderI don't know that it is being denied
02:27.36[TK]D-FenderI don't know if packets are making it to your server at all
02:27.43[TK]D-Fenderor if it's going to the right port
02:27.48rue_mohrme either, but I _have_ just leaned that there is chan_sip and pjsip
02:27.56rue_mohrand that chan_sip is considered better
02:28.00[TK]D-Fenderit isn't
02:28.10[TK]D-Fenderchan_sip = OLD.
02:28.12[TK]D-FenderAnd going away
02:28.15rue_mohrah
02:28.18[TK]D-Fender(slowly)
02:28.21rue_mohrwho was pj?
02:28.35[TK]D-Fenderthe name of a 3rd party back-end * adopted
02:28.46rue_mohrnods
02:28.48[TK]D-Fenderpjsip is a SEPARATE stack engine
02:28.57rue_mohrthoguht it would be a guy like kb
02:29.01[TK]D-Fenderno
02:29.07rue_mohrit makes sense, sip isn't audio
02:29.12[TK]D-Fenderno
02:29.22[TK]D-Fenderthat doesn't even mean anything
02:29.26[TK]D-Fenderseparate or by contrast
02:30.11rue_mohrI have to read up on pjsip.conf for a while, thanks
02:30.39[TK]D-FenderWere you hoping to see it LAND ... and THEn go lear to actually configure it working backwards from the point of getting an ERROR?
02:30.57rue_mohryup
02:31.05[TK]D-Fenderdumb
02:31.17rue_mohrwould you like to configure this for me?
02:31.18rue_mohr;)
02:31.25[TK]D-Fenderstep 1: break things.  Step 2: try to add 1 little piece and see if it crumbles
02:31.35[TK]D-FenderThere's friggen guides for this
02:31.47[TK]D-Fenderand you're assuming anything is even listening when you don't know how it works
02:31.53rue_mohrlook, the breaking either happens in the beggining or the end
02:31.55[TK]D-FenderTotal waste of everyone's time
02:32.12rue_mohrif you start broken, it all gonna get better
02:32.18[TK]D-FenderYou can't interpret the failure when you don't know what "good" is supposed to look like
02:32.25[TK]D-FenderAnd you're not going to dfind that going backwards
02:32.38[TK]D-FenderThere are samples and guides for this
02:32.42[TK]D-Fenderfollow them
02:32.51rue_mohrI'v leanred to use pjsip, and that it seems to be completely turned off by default
02:33.16[TK]D-Fender....
02:33.19[TK]D-Fendermeaningless.
02:33.26[TK]D-Fenderas well as the term "default"
02:33.41[TK]D-FenderDefault is nonsense.  It's your job to configure ALL of Asterisk
02:33.46[TK]D-FenderAnyhting not configured is your fault
02:33.58[TK]D-Fenderthere is no "default"
02:34.04[TK]D-Fenderor spoon(feeding)
02:34.14rue_mohrI'm reffering to the example config as a default
02:34.19[TK]D-Fenderit isn't
02:34.31[TK]D-Fenderit's a basic set of examples being only that
02:34.33rue_mohrits what was shipped
02:34.38[TK]D-Fenderand they do function when used correctly
02:34.49[TK]D-FenderFor what little they can "practically" do
02:36.17rue_mohrin the last 14 years, have you become any less "I'm not grumpy" ?
02:37.47[TK]D-FenderAnd all this time you still play the "secret squirrel" game having us chare around after your BS
02:38.12[TK]D-FenderLearn * like everybody else
02:38.16rue_mohrI'm working on replacing the 1.6 machine
02:38.44rue_mohrI'm not everyone else, I'm nobody, there is like literally NOBODY outthere I can relate to
02:38.55[TK]D-FenderTHANK GOD
02:39.05[TK]D-FenderI'd hate to imagine there being alother....
02:39.14rue_mohrI'm looking tho
02:39.56rue_mohrso far I have 600 twitter followers..... havn't found any among them yet... some GREAT people tho!
02:46.04rue_mohrhmm, endpoint and auth types, I'm used to this all being togethor and they seem to not be...
02:47.51rue_mohr"You have Installed Asterisk including the res_pjsip and chan_pjsip modules and their dependencies." wait I have no chan_pjsip....
02:48.44rue_mohroh I'm insane I do :)))
02:58.37rue_mohrheh, this manual just says "RTFM"
03:07.06rue_mohrtype=endpoint
03:07.15rue_mohrvs type=auth
03:07.24rue_mohrvs type=aor
03:07.29rue_mohrhttps://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Configuration_res_pjsip
03:07.39rue_mohrsays type must be endpoint
03:07.42rue_mohrwtf?!?!!
03:08.35rue_mohrAsterisk GIT-master-a47cb71bb1
03:08.38rue_mohris this 12?
03:09.39rue_mohrmaybe its 17
03:10.21rue_mohr<PROTECTED>
03:10.35rue_mohrtype clearly does NOT have to be 'endpoint'
03:11.44[TK]D-FenderWhat doesn't?
03:12.41[TK]D-Fendertaht page isn't abou the basic concepts
03:12.43rue_mohrin the example configs, [6001]
03:12.48rue_mohrtype=endpoint
03:12.50[TK]D-Fenderthat's a bare syntax breakdown
03:12.52[TK]D-Fendernot WHY
03:12.56[TK]D-Fenderor what it MEANS
03:13.06[TK]D-FenderYou're still trying to reverse engineer understanding.
03:13.19rue_mohrI'm trying to understand 'type'
03:13.22[TK]D-FenderREAD THE BEGINNERS GUIDE
03:13.29rue_mohrthe documentation says it must be set to endpoint
03:13.37rue_mohrand its not in the other two lines
03:13.44[TK]D-Fendernot the "technical reference" and think that you're going to put them together where all the pieces work
03:13.51[TK]D-Fenderbecause you don't understand the relationships yet
03:13.59[TK]D-Fender"it"?
03:14.05[TK]D-FenderWHAT "IT"
03:14.15[TK]D-Fenderther are MULTIPLE pieces needed for 1 stupid phone to work <-
03:14.18rue_mohrlets pastebin this
03:14.29[TK]D-FenderMULTIEPL entires with multiple TYPE's
03:14.53[TK]D-FenderThis isn't sip.conf with 1 stupid section holding everything
03:15.00rue_mohrhmm cant copy from this terminal that sucks
03:15.03[TK]D-Fenderthat idea goes out the window
03:15.32[TK]D-FenderThere is no singular [fred] in 1 section to completely define a phone.
03:15.37[TK]D-Fenderit's all broken up now
03:15.41[TK]D-FenderGO READ
03:15.57[TK]D-FenderBecause you don't understand the types or their relationships
03:16.04[TK]D-Fenderand that page is NOT the place
03:17.57rue_mohrlook in jpsip.conf there is param called type= and its set to endpoint, auth, and aor in the different examples, but the document https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+Configuration_res_pjsip#Asterisk17Configuration_res_pjsip-endpoint_auth  only says that it must be set to "endpoint"
03:19.19rue_mohrbut it includes aors, which is an option for type
03:19.26[TK]D-Fender"it"
03:19.28[TK]D-Fenderwhat IT
03:19.31[TK]D-Fenderthere is no "it"
03:19.35[TK]D-Fenderit is not SINGULAR
03:19.47[TK]D-Fender]you have to set up EACH of these things'
03:19.49rue_mohrI cant say anything without using the word it dude
03:19.53[TK]D-Fenderstop talking as though there is ONE piece
03:19.54[TK]D-Fender"IT"
03:20.03[TK]D-FenderWorthless
03:20.55[TK]D-Fender<rue_mohr> look in jpsip.conf there is param called type= and its set to endpoint, auth, and aor in the different examples, but the document https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+Configuration_res_pjsip#Asterisk17Configuration_res_pjsip-endpoint_auth  only says that it must be set to "endpoint"
03:21.02rue_mohrlook in jpsip.conf there is param called type= and the param "type=" set to endpoint, auth, and aor in the different examples, but the document https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+Configuration_res_pjsip#Asterisk17Configuration_res_pjsip-endpoint_auth  only says that the paramiter "type=" must be set to "endpoint"
03:21.22[TK]D-FenderWow.. so the section of the page talking about making and endpoint .... tells you to set "type=endpoint".
03:21.27[TK]D-FenderWHERE';S THE MYSTERY
03:21.39[TK]D-Fenderto make that KIND of section... you SET IT
03:21.44[TK]D-FenderWhat's the damn myester?
03:22.01[TK]D-FenderTo make a section an AOR..... you set type=aor
03:22.04[TK]D-Fendermystery*
03:23.42[TK]D-FenderThat page is not where you should be to leaern this
03:23.50[TK]D-FenderStop wasting everyone's time
03:25.02Reinhildebig issue
03:25.05Reinhildethere is no jpsip.conf
03:25.10Reinhildeonly a pjsip.conf
03:25.27rue_mohr:)
03:25.35rue_mohr[TK]D-Fender, I checked, he's right
03:25.54Reinhilde[TK]D-Fender: Looks like that Ontario Court of Justice judge was right when they said that the Internet is a bipolar electronic Leviathan.
03:27.49rue_mohrI'm also like to question why the asterisk documentation is not where you should learn about asterisk
03:28.26[TK]D-FenderTHAT fucking page isn't the answer
03:28.27[TK]D-Fenderhttps://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships
03:28.28[TK]D-Fender^
03:28.42Reinhildetypical quebecois rage
03:28.43[TK]D-Fender"What do you mean the answer to EVERYTHING isn't on page 28?!??!"
03:28.48Reinhildewhat do they put in the water there
03:29.31ReinhildeI can't tell the difference between this world and the alternate reality where they put dexamethasone in the water in Quebec. Every single French Canadian I know of is clinically insane.
03:29.47ReinhildeNot that that is germane to any of this
03:29.56[TK]D-Fendercorrect
03:30.10[TK]D-FenderAnd the sample size for what you "know" is highly dubious
03:30.32[TK]D-Fenderas is my acceptance of what you even accept as "reality"
03:31.07Reinhildeas is that the laboratories have not picked up on the practically universal cushings syndrome there
03:31.28ReinhildeIn any case, [TK]D-Fender, you're a troll and I have to put you on ignore
03:31.35[TK]D-FenderLOL
03:31.42[TK]D-Fender*I'm* a troll....
03:31.45ReinhildeI recommend rue_mohr does the same, and that they additionally put me on ignore because I'm not about to help them
03:31.46[TK]D-Fenderthat's rich....
03:32.07ReinhildePJSip in Asterisk has been a complete failure and that the development team are full court press still with it indicates they've not learned
03:32.21drmessanoROFL
03:32.22rue_mohrdispite the unclear docs, I think I'm working it out
03:32.37[TK]D-FenderI just linked a very clear doc on this
03:32.51[TK]D-FenderYou always insist on grabbing a page and declaing it ahs the answers
03:33.15rue_mohrI have it up, it illuded to part of the misunderstanding
03:33.37rue_mohr[---] does not, un to itself, define a section
03:33.48[TK]D-Fenderit does
03:33.53[TK]D-Fenderit doesn't define the TYPE
03:33.58[TK]D-Fenderbecause that is a parameter you set
03:34.03rue_mohrthe type= that follows it finishes defining it
03:34.12[TK]D-Fender[fred]
03:34.19[TK]D-Fenderthat defines FRED
03:34.31[TK]D-Fenderwhat kind of thing named "fred" is a PROPERTY
03:34.54[TK]D-FenderEVERY property is part of it
03:34.58rue_mohreach "identity?" needs a endpoint, auth and aor section
03:35.48rue_mohrso [FREDWRITER] must occur 3 times
03:35.52[TK]D-Fenderno
03:35.59[TK]D-Fenderthey can have separate NAMES <-
03:36.08[TK]D-Fenderit  doesn't have to be the SAME name
03:36.23rue_mohrmaybe thats part of what makes the example confusing
03:36.39rue_mohr[6001]...
03:36.40[TK]D-FenderThey should you full examples
03:36.44rue_mohrauth=6001
03:36.46[TK]D-FenderFDOLLOW THE DAMN NAMES
03:36.48rue_mohraors=6001
03:37.05[TK]D-Fenderdo those each imply [6001] section for each
03:37.12rue_mohrif the names had been diffrent, this would be clearer
03:37.18[TK]D-Fenderit is not REQUIRED that they have the same name
03:37.25rue_mohrI understand
03:38.02[TK]D-Fenderendpoints reference these other sections
03:38.42[TK]D-Fenderso does "registration", etc
03:39.51rue_mohrso the next puzzle is, who's ip address is 'contact'
03:40.04[TK]D-FenderWhich>
03:40.19[TK]D-Fenderyou make it sound like it exists in only 1 place ... or even needs to be defined
03:40.32[TK]D-Fenderall of these things depnd on how they are used
03:40.35[TK]D-Fenderand why
03:40.45rue_mohrin the example, the aor section for 6001 has a contact=
03:41.02rue_mohrwith an ip address that is either the * server or the phone set
03:41.18[TK]D-FenderYou can FIX an AOR to 1 place
03:41.30[TK]D-Fenderthe same way you set host=1.2.3.4 in a sip.conf entry
03:41.31[TK]D-Fender^
03:41.33[TK]D-FenderSAME thing
03:41.53[TK]D-FenderAnd the address is for that AOR
03:42.52rue_mohrhahah! the login errors!!!
03:42.57rue_mohrSWEEET
03:43.45rue_mohrTHATS worth a tea and chocolate bar break!
03:47.06rue_mohractaully, those errors are my milestone, so maybe I'll go back to working on my DAC library....
03:48.01[TK]D-FenderHeaven forfid you should ever finish a job so it doesn't stretch on for months....
03:48.37rue_mohrhobbyist dude
03:49.53rue_mohrI'm really hoping that the state machine for the T1 was fixed since 1.6
03:49.59rue_mohrI know the voicemail will be
03:50.12rue_mohr"you have fourty-one, fourty-one messages"
03:50.18rue_mohrAAAAAAAAAAHHHHHH
03:50.20rue_mohr:)
03:53.28*** join/#asterisk teleprompter (uid385826@gateway/web/irccloud.com/x-lbankhrirkmylyrd)
05:11.53*** join/#asterisk lankanmon (~LKNnet@CPEb4fbe4e331bd-CM64777d632380.cpe.net.cable.rogers.com)
05:59.46*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
06:39.06*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
06:39.59*** join/#asterisk miralin (~Thunderbi@178.34.151.251)
07:37.57*** join/#asterisk miralin1 (~Thunderbi@host-46-45-217-207.stavropol.ru)
07:47.26*** join/#asterisk jkroon (~jkroon@165.16.204.110)
07:48.18*** join/#asterisk miralin (~Thunderbi@178.34.151.251)
08:04.48*** join/#asterisk koss (koss@koss.downlink.org)
10:22.14*** join/#asterisk Helenah (~s98259@unaffiliated/iveeee)
11:48.03*** join/#asterisk ghostlines (~ghostline@c-73-89-208-123.hsd1.ma.comcast.net)
11:55.58*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
13:07.40*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
13:56.37*** join/#asterisk JohnWigley (uid264251@gateway/web/irccloud.com/x-ttwwkcsxksstpbdz)
14:00.12*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
14:05.55*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
15:45.56*** join/#asterisk javi404 (~quassel@unaffiliated/javi404)
15:50.15*** join/#asterisk javi404 (~quassel@unaffiliated/javi404)
16:42.38*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
17:46.27*** join/#asterisk miralin1 (~Thunderbi@178.34.151.251)
19:01.22*** join/#asterisk miralin1 (~Thunderbi@host-46-45-217-207.stavropol.ru)
19:03.10*** join/#asterisk ghostlines (~ghostline@c-73-89-208-123.hsd1.ma.comcast.net)
19:08.09*** join/#asterisk dacod (~dacod@2804:7f5:f380:901d::1)
20:47.45*** join/#asterisk ghostlines (~ghostline@c-73-89-208-123.hsd1.ma.comcast.net)
21:07.16*** join/#asterisk javi404 (~quassel@unaffiliated/javi404)
21:19.05*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:29.22*** join/#asterisk broccolistem (~anon@2607:f2c0:937e:5500:69c6:9248:944:22b)
21:33.40*** join/#asterisk broccolistem (~anon@2607:f2c0:937e:5500:69c6:9248:944:22b)
22:01.32*** join/#asterisk Helenah (~s98259@unaffiliated/iveeee)
22:22.06*** join/#asterisk miralin1 (~Thunderbi@host-46-45-217-207.stavropol.ru)
22:49.28*** join/#asterisk tehgooch (tehgooch@unaffiliated/tehgooch)
23:50.07*** join/#asterisk zerosignum (~zerosignu@CPE64777d67e853-CM64777d67e850.cpe.net.cable.rogers.com)

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