IRC log for #asterisk on 20180102

00:04.10*** join/#asterisk paulgrmn__ (~paulgrmn@184.75.214.86)
01:05.53*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
01:19.49*** join/#asterisk infobot (ibot@rikers.org)
01:19.49*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.18.5 (2017/12/22), Standard: 15.1.5 (2017/12/22); 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
01:41.16*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
01:48.55*** join/#asterisk dobson (~dobson@68.ip-149-56-14.net)
02:46.12*** join/#asterisk paulgrmn__ (~paulgrmn@184.75.214.86)
02:47.50lvlinuxTuraiel: yes
02:48.36TuraielOh. Hi.
02:49.18lvlinuxhttps://www.google.com/search?q=obi110+asterisk&oq=obi110+asterisk
02:49.38TuraielI'm having a specific problem, actually.
02:49.42TuraielMaybe you'll have some kind of idea about this: http://www.obitalk.com/forum/index.php?topic=13046
02:49.51lvlinuxI have one in use for a long time, both for FXO and FXS.
02:50.05TuraielI'm trying to make it work with my apartment's intercom
02:50.14TuraielIt's been less than thrilling
02:50.36lvlinuxhmm
02:51.13TuraielI can get the PBX to connect briefly but then it goes silent. No audio goes either way after that.
02:51.24lvlinuxwhat sort of intercom?
02:51.31TuraielBut it stays "connected" on both ends until I disconnect it
02:52.24TuraielIt's a Mircom system. Keypad and speaker on the outside, phone jack on the inside.
02:52.47TuraielIt rings my phone and I can talk after I pick up, and unlock the door by pressing 9.
02:52.55lvlinuxSo it's made to work with a normal analog phone on the inside?
02:52.58TuraielYep
02:53.36TuraielI initially thought it was just DTMF that wasn't getting through, but when I was playing continuous audio on an auto-answer IP phone, I noticed the sound stopped pretty much immediately
02:54.47lvlinuxbut it does have sound right at the beginning?
02:54.50TuraielYeah
02:55.56lvlinuxsounds like it may be the intercom is out of spec, or using a different signaling method than the Obi is expecting maybe.
02:56.14TuraielMaybe. Unfortunately I don't know enough about phones to figure that out.
02:56.31TuraielThe log output I posted is confusing
02:56.41lvlinuxdoes it work properly when you plug an analog phone into the intercom jack?
02:56.46TuraielYeah
02:58.27lvlinuxdoes the analog phone work as expected when plugged into the Obi? (registering to your * box)
02:58.36TuraielYep
02:58.59TuraielIt's only getting the inbound calls from the intercom when I have problems
02:59.29TuraielUnfortunately Asterisk doesn't log anything useful even though all logging levels are turned on.
03:01.03lvlinuxTurn sip debug on in the console. Also you can try RTP debug and see what happens (actually I'd try that first before SIP in this case).
03:01.26lvlinuxIt may give you some clues.
03:02.23TuraielI'll need to figure out where to do that
03:03.21lvlinuxasterisk -rvvv
03:03.40TuraielI don't really have control over Asterisk directly. I'm running through Incredible PBX.
03:03.47lvlinuxThat will give you the asterisk console.
03:03.58lvlinuxIncredible PBX doesn't block access to the console.
03:04.06TuraielOh, I see
03:04.47lvlinuxOpen the console with that command and then check out what scrolls across when you make the call first.
03:05.48lvlinuxMight be kindof cluttered because of FreePBX compared to vanilla Asterisk, but you might see an error that will give you an idea.
03:07.52Turaielhttps://pastebin.com/pa1Fg7QG
03:08.00TuraielGood to know
03:08.30TuraielI kind of wish it had timestamps though
03:15.12*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-apeesitvzurwqxuh)
03:17.22TuraielLooking through the log, it seems nothing interesting happened between the time the phone answered the call and the time I hung up.
03:18.03TuraielThe call log shows a 13 second call but has no audio recording, despite being configured to make one.
03:19.40*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
03:38.00*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
04:22.02*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
04:30.03*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
04:59.31lvlinuxwow, that's a lot of junk that FreePBX puts that call through. I don't do FreePBX so someone else might be able to better look over that.
05:40.01*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:55.40*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-yymduxsvolgcoyhe)
07:19.21*** join/#asterisk jjrh (~weechat12@2607:f0b0:7:8031::177)
07:54.14*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:37.25*** join/#asterisk chl_ (~chl@unaffiliated/chl/x-9330839)
08:39.26*** join/#asterisk pchero_work (~pchero@109.70.54.56)
09:11.24chl_hi, having some problems with peer registration. Getting 401 Unauthorized when transmitting over (no NAT), but the number is registrated on the server as a peer, and I am able to make calls to the peer in question - any ideas?
09:15.55chl_however with transmitting (NAT) its fine, 200 OK
09:17.54pchero_workSIP or PJSIP?
09:18.58chl_SIP
09:19.00pchero_workIf PJSIP, check the max_contacts option for AOR setting.
09:20.08pchero_workHm, then, set the debug on
09:20.13pchero_work> sip set debug on
09:20.20pchero_workthen try it again
09:20.24chl_seems abit wierd to me why both NAT and NO NAT is sent, could that be triggered by a wrong option?
09:21.03pchero_workNot sure, need to diagnose in a detail it first.
09:21.23chl_ah, cant reach the peer now, great.. :)
09:21.59pchero_workGood for you, happy new year. ;)
09:22.53chl_and to you too
09:24.45chl_pchero_work: perhaps you can clarify something for me.. "Via: SIP/2.0/UDP ...;rport" - does this mean I need to set nat=force_rport?
09:28.07pchero_workIf you don't use the NAT, I don't think you need that.
09:32.26chl_Apparently the peer is using BASIC.1 as authorization, but in the authorization header, "algorithm=MD5" is sent?
09:37.02*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
09:44.28pchero_workHm. I don't know much about that. Need help. :'( Please say anyone if know something about this.
09:59.16*** join/#asterisk DanB_ (~DanB@clt-195.192.207.24.ip-anschluss.net)
10:12.45*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:13.28*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:14.16*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:15.06*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:15.53*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:16.36*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
10:48.45*** join/#asterisk sotoz (~sotoz@095-097-255-066.static.chello.nl)
10:50.10sotozhello, anyone knows how can I set a channel variable from a sip header in the dialplan during an INVITE?
10:50.25sotozby during an INVITE I mean when a calls comes ijn
10:50.29sotozin*
10:52.03sotoznvm I found it: exten => 1,1,Set(somevar=${PJSIP_HEADER(read,From)})
11:17.04*** join/#asterisk Alblasco1702 (~Alblasco1@ip5456b46b.speed.planet.nl)
11:52.55*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
12:15.58*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
13:35.00*** join/#asterisk retentiveboy (~retentive@73.82.30.193)
13:37.36*** join/#asterisk Worldexe (~Worldexe@95-107-33-134.dsl.orel.ru)
14:17.27*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
14:48.57*** join/#asterisk Demon_VoIP (~demon@109.60.222.253)
14:59.04chl_can anyone answer why a peer would first fail to register with a 401 Unauthorized, to perform the same request and succeed?
14:59.46filebecause the 401 is a challenge for authentication and the second REGISTER contains the details
15:00.34chl_alright, so it responses with 401 because there is no Content?
15:00.39chl_responds*
15:01.08fileit is how SIP authentication works
15:01.26filea challenge is sent which contains details that are used to craft a valid authentication response
15:01.56chl_alright I see, should probaly read the RFC.. again :)
15:04.39chl_thank you file
15:05.11filehttps://andrewjprokop.wordpress.com/2015/01/27/understanding-sip-authentication/
15:10.44Demon_VoIPfile, for info. In 15.2.0-rc there is bug (regression) with asymmetric_rtp_codec=yes. Incoming INVITE codecs alaw,g722. Answer SDP codecs alaw,g722. And app_playback chooses .g722 format :( As the result after: "one way audio". "asymmetric_rtp_codec=no" helps.
15:11.10filethat is what that option does ...
15:11.15fileit makes it asymmetric
15:11.30fileyou continue to receive whatever they send, and outgoing will choose any of the negotiated codecs
15:12.23fileif we're doing that then it is working as it is configured, but that doesn't mean the remote side will tolerate such a thing which is why it defaults to no
15:13.22Demon_VoIPok. i understand. thank you. I have to off it :(
15:14.01Demon_VoIPhope other bugs with this option was fixed.
15:14.12*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
15:20.29*** join/#asterisk kharwell (kharwell@nat/digium/x-cvomlcaxitvborav)
15:20.29*** mode/#asterisk [+o kharwell] by ChanServ
15:20.58Demon_VoIPi think asymmetric is different codecs on two legs. It turns out that two legs can have the same codecs and stream have a third codec. But it is logical.
15:35.20*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
15:35.20*** mode/#asterisk [+o bford] by ChanServ
16:00.20*** join/#asterisk rmudgett (rmudgett@nat/digium/x-zatwqeqtdpukzxob)
16:00.20*** mode/#asterisk [+o rmudgett] by ChanServ
16:16.16*** join/#asterisk znoteer__ (~quassel@157.52.8.172)
16:31.40*** join/#asterisk chandoo (~chandoo@pool-74-105-13-92.nwrknj.fios.verizon.net)
16:31.48chandoohi
16:32.23chandooi have GS HT701 voip adapter, how do i setup google voice to use the voip adapter with my corless phones?
16:34.01*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
16:41.55*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
16:54.49*** join/#asterisk gtrmtx (~gtrmtx@47-219-18-204.tyrccmtk01.res.dyn.suddenlink.net)
16:56.01gtrmtxjust got done installing asterisk 13 on ubuntu 14.04 and i cannot ping, ssh, or access web gui
16:56.06gtrmtxfail2ban jails are empty
16:56.16gtrmtxany suggestions?
17:02.53*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
17:10.42*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
17:14.28*** join/#asterisk awkwardpenguin (~awkwardpe@172-222-167-081.dhcp.chtrptr.net)
17:15.43[TK]D-Fendergtrmtx, * doesn't natively come with a GUI
17:15.58[TK]D-FenderOr Fail2ban
17:16.12[TK]D-FenderYou'd have had to install all those kinds fo things separately and configured them
17:16.40[TK]D-FenderAnd only F2B could have blocked your attempts to communicate
17:16.50[TK]D-FenderSo you'll have to look at your system mor directly
17:17.07[TK]D-FenderAssuming you're pointed in the right direction now and your networking isn't otherwise screwed up somehow
17:18.09gtrmtx[TK]D-Fender, incrediblepbx distro
17:18.15gtrmtxi figured it out though
17:18.28gtrmtxcompletely flushed f2b and rewrote my rules
17:21.22*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
17:21.23*** mode/#asterisk [+o bford] by ChanServ
18:10.07*** join/#asterisk corretico (~corretico@200.91.143.34)
18:11.53*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
18:35.26*** join/#asterisk salviadud (~ralfalfa@187-167-79-163.static.axtel.net)
18:35.47salviadudHi there, happy new year.
19:05.20*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
19:05.20*** mode/#asterisk [+o cresl1n] by ChanServ
19:09.41salviadudAnybody good with sangoma?
19:10.44salviadudI'm about to buy a new remora card, and I was wondering if I'm going to have to edit some stuff on extensions.conf, I don't know if my new card will make a different group.
19:20.38[TK]D-FenderWhat does your card have to do with extensions.conf?
19:21.06[TK]D-FenderYou haven't said what kind of modules you are buying, or why they are different in how they would process dialplan differently than any others you alreay have
19:21.21[TK]D-FenderSo ... how does this DAHDI upgrade impact your dialplan?
19:28.11*** join/#asterisk waldo323 (~waldo323@75-151-31-89-Michigan.hfc.comcastbusiness.net)
19:38.58waldo323we ran into an issue where switchvox thought our lines were up while the lines were not available.  what tools for calling out via sip would you recommend to check the outgoing lines are working?
19:40.10[TK]D-FenderSwitchvox is only directly supported by Digium themselves
19:40.55*** join/#asterisk Bhakimi (~textual@rrcs-76-81-63-218.west.biz.rr.com)
19:41.05waldo323I've been searching for command line tools to make sip calls and since my search was not as successful and leading me into tangents I thought it best to expand my search
19:42.00[TK]D-FenderNothing external will tell you why your server & its configuration aren't working
19:42.04[TK]D-Fenderthe service works
19:42.44[TK]D-FenderIf your server is misconfigured then if you get it properly configured and working with some other too then that still offers you absolutely nothing to guide you in fixing your actual server
19:43.13[TK]D-FenderThis idea does not actually help anything or consitute debugging
19:44.29waldo323as far as we can tell it was an issue with our provider but we weren't notified of the failure until a user mentioned they couldn't dial out
19:46.15waldo323so we are looking for something to check periodically so we can have notice when their is a failure
19:46.35[TK]D-FenderDoesn't work that way
19:46.52[TK]D-FenderIf they have internal issues in routing call requests you wont' know until you actually try sending a call
19:47.01[TK]D-FenderThere is no "how can I just know?"
19:47.12[TK]D-FenderFailure is a result, not a "status"
19:50.16[TK]D-FenderNot if they are no longer responding to register requests that is another thing, as well as not responding to qualify attempts
19:50.30[TK]D-Fenderyour peer status and registration status would show that
19:50.37[TK]D-Fenderbut that doesn't mean that calls will necessarily work
19:51.18waldo323true, the issue was that the pri was down but we didn't get any notification of the failure.
19:51.51[TK]D-FenderYou started this asking about SIP tools.  How is PRI now involved?
19:52.40waldo323Sorry, I want a sip tool so I can call through the asterisk/switchvox server to check on the line
19:54.49waldo323now that the lines are back up, I have checked that I can register and call now using ekiga and twinkle sip clients but having something which we could schedule to make calls automatically would help catch this type of failure sooner
19:54.59[TK]D-FenderYou're comparing apples & oranges
19:55.26[TK]D-FenderThere isn't a "sip tool" to monitor PRI failures, or other things normally on a server
19:56.34[TK]D-Fenderyou also need to get specific about exactly what kind of failure you are attempting to get information on, when you intend this to take place, and how you expect to signal it
20:08.30waldo323I wasn't expecting a who tool for doing the check - my initial thought was if a command line utility could make a call and either get through or not that would be helpful.  the specific failure is when we don't have other errors from switchvox but the lines are not available 'isdn 34 no circuit/channel available' then we could possibly be alerted on the error generated by switchvox at that time
20:09.00[TK]D-FenderAgain, that is a result, not a status
20:09.05[TK]D-FenderYou only get it upon failure.
20:09.23[TK]D-Fenderand some telcos use cause 34 to literally mean "the phone # you're calling is busy"
20:09.32[TK]D-FenderSo this isn't something you can just detect
20:09.35[TK]D-Fenderit's the RESULT of a call
20:09.53waldo323which is why I am looking for a command line sip tool to make a call
20:09.58[TK]D-Fenderwhich means if you want reporting of it you need to do that in the call processing logic... which is Switchvox which is a closed GUI
20:10.05[TK]D-FenderWhich makes this a dead end
20:10.19[TK]D-FenderYou keep thinking that SIP device is going to SEE trhat status
20:10.31[TK]D-Fenderit ISN"T.  That isdn code does not necessarily magically make it to it
20:10.39[TK]D-Fenderand by even trying you are placing actual calls.
20:10.46[TK]D-FenderWho are you going to robo-call for a test anyway?
20:10.56[TK]D-FenderNone of this is a solution for your needs
20:11.28waldo323most likely myself or another admin if they want
20:11.59[TK]D-FenderSIP is not a reporting too for this
20:12.14[TK]D-Fenderif you want real status results you need to do it in dialplan .
20:12.26[TK]D-Fenderand unless you can code your own it's game-over
20:13.20waldo323I was thinking of SIP more as a tool to generate an error before we get a notification from a user
20:14.07[TK]D-FenderAgain, you're not getting an ISDN code or any proof with this
20:14.12[TK]D-FenderSIP IS NOT THE TOOL FOR THIS
20:15.28[TK]D-Fender"I have a toothbrush, now how do I use this to build a boat?"
20:15.32[TK]D-FenderWrong tool for the job
20:16.40[TK]D-FenderEither get to running a script to actually process server logs at some meaningful interval (which is messy) or set up your own dialplan to do call tests and send off results by some other means
20:17.16[TK]D-Fenderheads out for a while.
20:19.23waldo323thank you for your time and I am sorry I wasn't on the same page, I will look into getting a dialplan to do call tests
20:19.49*** join/#asterisk startledmarmot (~startledm@172.56.42.117)
20:34.57*** join/#asterisk tuxd00d (~tuxd00d@ip70-180-17-122.ph.ph.cox.net)
20:59.45*** join/#asterisk jeffspeff (~Jeff@12.49.160.131)
22:08.11*** join/#asterisk talntid (~RovingWri@unaffiliated/talntid)
22:11.01*** join/#asterisk dadrc (~quassel@unaffiliated/dadrc)
22:47.05*** join/#asterisk tzafrir (~tzafrir@62-90-199-247.barak.net.il)
22:49.59*** join/#asterisk mahlon (~mahlon@martini.nu)
22:58.11*** join/#asterisk wonderworld (~ww@ip-88-152-174-32.hsi03.unitymediagroup.de)
23:04.29wonderworldi created ACLs for my peers in sip.conf deny=0.0.0.0/0.0.0.0 permit=192.168.0.0/255.255.255.0 (our LAN). i must have done something wrong, because a script from a russian IP address managed to register on one of the peers with a bad password. i thought with ACL i could prevent registrations from outside of the defined ip-range. why were they able to register?
23:11.42*** join/#asterisk paulgrmn__ (~paulgrmn@184.75.214.86)
23:22.53*** join/#asterisk nfsnobody (~nfsnobody@unaffiliated/nfsnobody)
23:51.08[TK]D-Fenderwe don't know because we can't see anything
23:51.18[TK]D-Fenderno actual configs, no confirmation of what they authed to

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