IRC log for #asterisk on 20171110

00:11.08*** part/#asterisk kharwell (kharwell@nat/digium/x-iursycjgxjkrbkjt)
00:50.21*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
01:00.18*** join/#asterisk freebs (~freebs@unaffiliated/freebs)
01:45.41*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
02:31.31*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
02:31.52*** join/#asterisk woose (~root@unaffiliated/woose)
02:53.05*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
02:54.25*** join/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
02:57.40*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
15:55.24*** join/#asterisk infobot (~infobot@rikers.org)
15:55.24*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.18.1 (2017/11/08), Standard: 15.1.1 (2017/11/08); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
15:55.58*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
15:55.59*** mode/#asterisk [+o cresl1n] by ChanServ
16:00.40*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
16:04.50*** join/#asterisk protonchris (~chris@darkstar.protonlab.net)
16:23.12*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
16:23.13*** mode/#asterisk [+o cresl1n] by ChanServ
16:38.11*** join/#asterisk k-man (~jason@unaffiliated/k-man)
16:43.35*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
16:43.35*** mode/#asterisk [+o cresl1n] by ChanServ
16:52.02*** join/#asterisk sekil (~sekil@cable-89-216-194-141.dynamic.sbb.rs)
16:54.20*** join/#asterisk sekil (~sekil@cable-89-216-194-141.dynamic.sbb.rs)
16:59.31*** join/#asterisk Qwell (~north@asterisk/developer/Qwell)
16:59.31*** mode/#asterisk [+o Qwell] by ChanServ
17:15.33*** join/#asterisk jkroon (~jkroon@165.16.204.173)
17:37.05*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-ukdlrfduzxccowtz)
17:38.12*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
18:00.59*** join/#asterisk rangotail (~rangotail@unaffiliated/rangotail)
18:03.05*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
18:28.33*** join/#asterisk joshelson (~joshelson@64.55.128.243)
18:29.55*** join/#asterisk rangotail (~rangotail@unaffiliated/rangotail)
18:42.50*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
18:44.31*** join/#asterisk evilman_work (~evilman@87.244.6.228)
18:48.38*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
18:53.13*** join/#asterisk Echo6 (~Echo6@64.136.247.50)
19:14.07rrittgarnwhen doing 'sip show peer' the field:  LastMsgsSent has to do with number of read/unread voicemails right?
19:14.26rrittgarnso if i see 4/0 as the value, 4 new / 0 old, right?
19:19.51*** join/#asterisk opmrcl (~Thunderbi@78.133.34.141)
19:30.52*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
19:43.57thiagochi all, i'm trying to use pjsip with the default pjsip.conf from asterisk source, when I try to register the 1107 endpoint I get "SIP/2.0 401 Unauthorized" on tcpdump
19:44.03thiagocasterisk cli shows nothing
19:44.07thiagocany hint?
19:44.19thiagocI'm using linphone
19:44.40thiagocmy sip identity: sip:1107@xx.xx.xx.xx
19:45.00thiagocsip proxy address: sip:xx.xx.xx.xx
19:45.42thiagoci'm stuck
19:47.23Samotthiagoc: You need to show some things. Your configs to confirm the are right. The tcpdump would help and the output from the pjsip set logger on in the console.
19:47.25Samot~pb
19:47.26infobotsomebody said pastebin was a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
19:48.49lvlinuxthiagoc: Also, running the cli with some verbosity (asterisk -rvvv) will show you more things than the default.
19:49.28thiagoclvlinux, verbose is at 3
19:49.49thiagocSamot, it's the default pjsip.conf from asterisk source
19:49.56SamotNo.
19:50.01SamotThat would be impossible.
19:50.13SamotIt wouldn't have any of the settings for your setup.
19:50.24lvlinuxIt wouldn't be impossible, but it wouldn't do anything at all either.
19:50.39SamotYou just can't copy and paste the sample configs and be working.
19:51.03SamotWhere is the endpoint setup for 1107?
19:51.05thiagochttps://pastebin.com/raw/y0CLexM6
19:51.28thiagocit's a working example, isn't?
19:52.02thiagoc1107 is there
19:52.13lvlinuxthis is not the sample config :)
19:52.25SamotAt all
19:52.33SamotThis is a config made by using the sample config.
19:52.39SamotCompletely different things.
19:52.54SamotAnd the tcpdump?
19:53.08thiagocit's on configs/samples dir, so... :)
19:53.23SamotBecause 401 Unauthorized is a proper response.
19:53.32SamotIt's how your AUTH is challenged.
19:53.51SamotSo now lets see if linphone is sending back the right response/message.
19:54.11SamotAnd if you got an 401 error, it's making it to Asterisk.
19:55.44thiagochttps://pastebin.com/raw/iYPqVAnt
19:56.19SamotAre you running Chan_SIP?
19:56.28thiagocno
19:58.19Samotfile: Does PJSIP automatically bind to 5060?
19:58.32SamotUnless you specific a port in the bind= setting?
19:58.51thiagocI'm not in the same location, the server is behind a NAT, just FYI
19:59.08SamotServer: Asterisk PBX certified/13.13-cert7 <-- Asterisk is most definitely responding.
19:59.17SamotHow are you trying to watch this in the CLI?
19:59.21*** join/#asterisk Yiota (~textual@199.33.115.187)
19:59.27SamotAnd where is the linphones response to that 401
19:59.33SamotThere should have been more to that tcpdump
19:59.46SamotThe 401 is *supposed* to happen.
19:59.59thiagocI will send you the pjsip logger
20:00.00Samot2:53:23 PM <Samot> Because 401 Unauthorized is a proper response.
20:00.00Samot2:53:33 PM <Samot> It's how your AUTH is challenged.
20:00.13SamotWhere is the linphone's response to that 401?
20:00.17SamotIs there one?
20:00.25SamotYou should see a second REGISTER come through
20:00.35thiagochmm
20:00.42SamotThat's how it works
20:00.45thiagocI have another sip account here
20:00.51thiagoccould be this
20:00.58SamotREGISTER --> 401 Unauthorized -> REGISTER
20:01.18SamotUntil you show the linphone responding to the 401
20:01.19thiagocmy router maybe doesn't handle this
20:01.30SamotWas there more in the tcpdump?
20:01.51*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
20:01.54*** join/#asterisk fblackburn (~fblackbur@modemcable094.94-70-69.static.videotron.ca)
20:01.59SamotPlease show the whole tcpdump and the pjsip logger output
20:02.40thiagocSamot, tcpdump on server or client?
20:02.50SamotOn Asterisk.
20:03.08SamotShow me what happened on Asterisk.
20:03.19SamotThe console output, whatever.
20:03.34thiagocasterisk send the unauthorized and it's not reaching linphone
20:03.40thiagocI think that's the problem
20:03.44SamotYes.
20:03.47SamotThat's a problem.
20:04.07SamotBut you "cleaned up" the output
20:04.26SamotSo I can't tell if those messages are formatted right or if the information in them is correct.
20:07.09*** join/#asterisk w9sh (~dad@c-73-43-86-234.hsd1.ga.comcast.net)
20:08.55*** part/#asterisk w9sh (~dad@c-73-43-86-234.hsd1.ga.comcast.net)
20:09.46thiagocI just change the IP addresses
20:09.59SamotRight
20:10.10SamotBut I can't tell if the linphone is sending PRIVATE IP details in the message.
20:10.15SamotIs this over a LAN?
20:10.19SamotIs it over WAN?
20:10.32SamotI can't tell anything about the type of traffic this is.
20:10.43SamotI can't tell if the IP details are correct for the type of message it is.
20:10.51SamotI can't tell if the routes have the right details.
20:11.02SamotI can't tell jack about it.
20:21.36rrittgarnwhen doing 'sip show peer' the field:  LastMsgsSent has to do with number of read/unread voicemails right?
20:21.41rrittgarnso if i see 4/0 as the value, 4 new / 0 old, right?
20:22.04rrittgarnreason I ask is because i have a peer that is showing 4/0 right now, but there are no messages in the user's inbox
20:22.12rrittgarnso the MWI is still flashing because * is sending it the notifications
20:22.19rrittgarnis that cached somewhere like sorcery?
20:23.40SamotPeers have nothing to do with voicemail
20:23.45SamotVoicemail does not require a peer.
20:23.53SamotA peer does not require a voicemail accoun
20:23.55SamotA peer does not require a voicemail account
20:25.28SamotBut in this case, you are correct.
20:25.47SamotThe peer will show an associated voicemail and it's new/old count.
20:26.21SamotSo 4/0 is as you stated, 4 new and  0 old
20:26.34rrittgarnwhile I understand that it is not required, obviously the system is still using that information (or at least displaying it to me) AND sending sip notify messages to the phone with an MWI count of 4/0
20:26.41rrittgarnPB of the sip show peer: https://pastebin.com/PMvF38rS
20:26.47SamotYes.
20:27.11SamotI said you are correct in this case.
20:27.27SamotThe output will show the associated voicemail account's new/old count
20:27.28rrittgarnin that it is cached in sorcery?
20:27.36rrittgarnreason being the mailbox is actually empty
20:27.44rrittgarnbut the phone is getting MWI messages from * saying its not
20:27.58rrittgarnuser is getting annoyed with the blinking light
20:28.09SamotWell then Asterisk is generating notify's for this
20:28.15SamotWhich has nothing to do with the actual peer.
20:28.26SamotSince anyone subscribed to the voicemail hint would also get this.
20:29.09Samotvoicemail show users
20:30.17SamotWhat does the NewMsg count show for 4480?
20:30.45SamotAnd when you say it's empty you mean all the files?
20:30.52SamotINBOX is 100% empty?
20:30.54rrittgarnhttps://pastebin.com/Lpa7N846
20:30.57rrittgarnand yes inbox is 100% empty
20:30.59rrittgarnno files
20:31.01SamotThe .txt files don't exist?
20:31.21rrittgarnrealtime - and that query comes back with a zero count
20:31.34SamotOh you're using this in realtime?
20:31.48rrittgarn(and the OS level is clear as well - ls -lah /var/spool/asterisk/voicemail/Context/4480/INBOX yields nothing)
20:31.52rrittgarnand yes, its real time
20:32.01SamotBut you're storing in the directory
20:32.08rrittgarnno, it stores it with a directory column
20:32.27rrittgarnand does all the queries against that column, so when i run the same count query that * does, i get zero
20:32.32SamotBut the physical file is in that directory
20:32.35rrittgarn(trapped the query via mysql logging)
20:32.42rrittgarnno, using the db for storage
20:32.47SamotOK
20:32.53SamotThis is all important stuff to know
20:32.57*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:33.14SamotBecause 1) I don't do RealTime 2) I've never used DB storage for Voicemail.
20:33.16rrittgarnsorry - i tend to get better answers from this channel when I don't say realtime... most people throw up their hands
20:33.21SamotThis is beyond my ability to help.
20:33.28*** topic/#asterisk by bford -> #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.18.2 (2017/11/10), Standard: 15.1.2 (2017/11/10); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
20:33.28SamotBecause it matters.
20:33.35SamotAnd people that don't use it can't help
20:33.42*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:33.53SamotRealTime does things a bit differently.
20:33.56rrittgarnI agree to a certain extent, the core processes that * goes through are the same programatically, so any extra information on where it caches things is useful
20:34.14rrittgarns/programatically/logically/
20:34.17SamotRight but now I never would have said...
20:34.22Samot"Look in the DB"
20:34.33SamotOr though "Well stuff could be in the voicemail DB"
20:34.59SamotMy entire line of troubleshooting is flawed if that is the case.
20:35.15SamotI've never used DB voicemail.
20:35.17*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:35.22SamotI have no clue how it functions for things.
20:35.29SamotOr what data is stored in it
20:35.31rrittgarnok, pretend it was a file issue. What would you recommend checking next?
20:35.51rrittgarn*voicemail stored in flat file
20:36.07*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:36.52*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:37.41SamotWell I would check the output of voicemail show users
20:37.42*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:37.56SamotI would leave myself a voicemail and see what the NOTIFY triggers.
20:38.14SamotI'd delete voicemail via the voicemail app instead of directly on the server.
20:38.32*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:38.48SamotI'd make sure there wasn't a lockfile or some other . file in the directory
20:38.57SamotI'd reload sip to see if that cleared it out
20:39.17*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:39.42rrittgarnok a couple things i didn't try in that list, so I appreciate the help. I did prune the peer and it still came back with 4/0
20:39.57rrittgarnso in theory it's getting that info from app_voicemail, correct?
20:40.05*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:40.14SamotIn a sense.
20:40.29Samotapp_voicemail is doing stuff to get that data and act on it.
20:41.00*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:41.04rrittgarncorrect, in this particular case its running a query every X seocnds, where X is=pollfreq in voicemail.conf
20:41.45*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:42.35*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:43.20*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:44.15*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:45.00*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:45.46*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:45.54*** join/#asterisk Yiota (~textual@199.33.115.187)
20:46.36*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:47.30*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:48.10*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:49.00*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:54.14*** join/#asterisk Yiota (~textual@199.33.115.187)
20:58.32*** join/#asterisk overyander (~jeff@12.49.160.131)
21:03.13*** join/#asterisk jeffspeff (~jeff@12.49.160.131)
21:09.34*** join/#asterisk qakhan (~qakhan@50-204-254-11-static.hfc.comcastbusiness.net)
21:10.31qakhanhi all, calls are dropping when agent answer the call. call does not drop on greeting message. here is i found in sip debug https://pastebin.com/Fg8tZPMk
21:57.48Yiotawhat's the best way to install asterisk on ubuntu?
21:58.14Yiotaactually, i managed to install it via apt, but are there any guides for configuration?
21:58.29SamotThe wiki
21:58.41SamotThe sample configs
21:59.08SamotThere's an entire option for loading the sample configs that explain all the options.
21:59.16*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
22:20.39*** join/#asterisk Yiota (~textual@199.33.115.187)
23:01.51*** part/#asterisk kharwell (kharwell@nat/digium/x-yncvepudulqsoimg)
23:05.27*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
23:30.13*** join/#asterisk opmrcl (~Thunderbi@78.133.34.141)
23:48.09*** join/#asterisk RovingWrityer (~RovingWri@unaffiliated/rovingwriter)
23:50.01*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
23:51.14*** join/#asterisk r0ckp3arl_1 (~rock@203-206-251-69.dyn.iinet.net.au)

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