IRC log for #asterisk on 20191113

00:10.56*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
00:19.23*** join/#asterisk m4rcu5 (nobody@84-106-248-133.cable.dynamic.v4.ziggo.nl)
00:26.52*** join/#asterisk yuljk (~yuljk@unaffiliated/yuljk)
01:11.51*** join/#asterisk stux16777216Away (stux@endurance.xzibition.com)
01:19.27*** join/#asterisk miralin (~Thunderbi@178.34.150.145)
02:31.47*** join/#asterisk ganbold (~ganbold@66.85.186.234)
03:57.19*** join/#asterisk netman (~netman@185.94.249.222)
06:03.56*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
06:03.56*** topic/#asterisk is AstriCon 2019 in Atlanta! http://www.astricon.net/ -- #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.29.1 (2019/10/16) 16.6.1 (2019/10/16) Standard: 17.0.0 (2019/10/28); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
06:12.58*** join/#asterisk rue_mohr (~rue_mohr@d50-92-152-244.bchsia.telus.net)
06:13.10rue_mohrconsole, how do I list sip users?
06:14.29rue_mohrshould level 5 verbose shop a sip user trying to log in and failing cause the account its trying to use does't exist?
06:15.25rue_mohris sip called pjsip?
06:20.56*** join/#asterisk miralin (~Thunderbi@178.34.150.145)
06:29.18*** join/#asterisk Iamnacho (~Iamnacho@ip68-110-234-244.ks.ks.cox.net)
07:08.01[TK]D-Fendersip is sip
07:08.08[TK]D-Fenderpjsip is also sip
07:08.11[TK]D-Fenderbut also pjsip
07:08.29[TK]D-FenderIf you don't know which you're using, you've got bigger problems...
07:08.38*** join/#asterisk tsal (~tsal@i59F4A5CF.versanet.de)
07:16.03*** join/#asterisk jkroon (~jkroon@165.16.204.110)
08:34.15*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
08:58.56wdoekessurely everyone uses pjsip by now
08:59.00wdoekesruns away
09:11.29*** join/#asterisk m4rcu5 (nobody@84-106-248-133.cable.dynamic.v4.ziggo.nl)
09:24.22*** join/#asterisk koss (dramahere@koss.downlink.org)
09:25.01*** join/#asterisk HenrikJott (HenrikJott@h-158-174-124-82.NA.cust.bahnhof.se)
09:29.12HenrikJottHi! I´m running asterisk on a telemarketing company (one of my customers) and recently our ISP wanted us to use a new trunk which requires to register. We reconfigured and it worked fine, but suddenly a lot of harmful request was sent to our asterisk from different IP´s (not from the new trunk). When i delete the peer and the register string, the attack stops immediatly. Is it possible
09:29.12HenrikJottfor attackers to "relay" via the new trunk? In my case we did not register to the previous trunk and we have never had a problem there. Our firewall is pretty strict and shouldn´t allow the requests i was getting. Can anybody point me in the right direction?
10:12.50*** join/#asterisk luckman212 (luckman212@unaffiliated/luckman212)
12:02.19*** join/#asterisk dacod (~dacod@201.47.74.146)
12:06.25*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
12:07.35Someone_Elseis it possible to wait for a specific event (a user registers) before dialing that user?
12:10.07SamotNot easily, if at all.
12:11.02*** join/#asterisk emsjessec (~emsjessec@96.56.225.51)
12:13.25*** join/#asterisk ganbold (~ganbold@66.85.186.234)
12:25.44*** join/#asterisk HenrikJott (~HenrikJot@h-158-174-124-82.NA.cust.bahnhof.se)
13:31.39*** join/#asterisk iq (~iq@2600:100e:be1c:166:2a63:9ec7:8ebf:2fc4)
13:38.08*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:48.45*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
14:16.48*** join/#asterisk engine20191 (~engine201@190.145.222.242)
14:21.54*** join/#asterisk engine20191 (~engine201@190.145.222.242)
14:36.04*** join/#asterisk Corydon76 (~quassel@96.69.98.139)
14:36.04*** mode/#asterisk [+o Corydon76] by ChanServ
14:36.39*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
15:06.22*** join/#asterisk sekil (~sekil@nat-73.net011.net)
15:09.49*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-efpnwufwylrdbtxy)
15:09.49*** mode/#asterisk [+o kharwell] by ChanServ
15:18.34*** join/#asterisk Typhon (~Typhon@ipservice-092-218-214-206.092.218.pools.vodafone-ip.de)
15:25.58*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-axomzbmyhwwmbxic)
15:25.58*** mode/#asterisk [+o bford] by ChanServ
15:28.44*** join/#asterisk engine20191 (~engine201@190.145.222.242)
15:29.53*** join/#asterisk derPlexus (~plexus@81.173.204.226)
15:56.57*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
16:08.14*** join/#asterisk Janos (~Janos@201.204.94.76)
16:27.51*** join/#asterisk dacod (~dacod@201.47.74.146)
16:42.57*** join/#asterisk jkroon (~jkroon@165.16.204.110)
16:50.00*** join/#asterisk miralin (~Thunderbi@94.255.82.229)
17:02.29*** join/#asterisk dacod (~dacod@201.47.74.147)
17:10.41*** join/#asterisk _0x5eb_ (~seb@seb-hpws2.elen.ucl.ac.be)
17:13.44*** join/#asterisk monsterco (4c476d27@toroon474aw-lp140-01-76-71-109-39.dsl.bell.ca)
17:14.41monstercoI have a Mitel 6867i connected to astersik. From time to time user tells me they can't dial out and we have to factory reset it to work. What feature of this phone you think might be responsible? The dialing doesn't get out of the set so it's not an Asterisk issue at all but a phone set one
17:16.53[TK]D-FenderWe have no idea.  You haven't shown us a failure to look at
17:17.04[TK]D-Fender"My car doesn't work.  Why?"
17:24.17*** join/#asterisk Joel (~joel@unaffiliated/joel)
17:24.37*** part/#asterisk Joel (~joel@unaffiliated/joel)
17:27.10TandyUK"Because its wednesday" of course lol
17:31.24*** join/#asterisk engine20191 (~engine201@190.145.222.242)
17:33.27monstercowhen she dials screen shows Call Failed
17:33.41monstercoand nothing is reached by Asterisk so the stupid set has something wrong
17:33.48monstercobut it can dial using a Speed Line
17:33.55igcewielingis NAT involved?
17:34.08monstercoyes
17:34.17monstercohmmm
17:34.27igcewielingsounds like the router is closing port 5060 when it is idle for too long.
17:34.30monstercoyou think phone is not registered when it tries to dial?
17:34.42monstercoI see
17:35.00igcewielingmonsterco: phones don't have to be registered to make calls.   They only have to be registered when receiving a call.
17:35.21igcewielingTo make a call, the phone just needs the correct auth info.
17:35.43monstercoIt can dial using Speed Dial when I input a number. I will have to test this one more time though.
17:35.51*** join/#asterisk dacod (~dacod@201.47.74.147)
17:36.00igcewielingtry setting qualify=10000 and qualifyfreq=20 assuming you are using chan_sip.
17:36.27igcewielingthat will ensure activity on port 5060 and prevent the NAT router from closing the connection.
17:43.09SamotThis has nothing to do with NAT.
17:43.33SamotIf the phone doesn't send digits when they are pressed on the key pad but can send digits when programmed to be sent at once...
17:43.37SamotIt's a phone issue.
17:44.02SamotThey can't dial 1234 but they can hit a button that present 1234 at once.
17:52.50monstercothey can dial internal extensions but 10 digits doesn't dial apparently
17:53.52*** join/#asterisk miralin (~Thunderbi@94.255.82.229)
18:05.22[TK]D-Fenderlocal phone dialplan <-
18:08.38monsterconever knew mitel (old aastra) have a dialplan
18:08.51monstercoor at least have a prob with 10 digit dialing after factory reset
18:11.46[TK]D-FenderIf you are ever assuming a "default" then that's a failure as a system admin.
18:37.44*** join/#asterisk mbecroft (mb@ak2.becroft.co.nz)
18:44.20monstercogenerally, how do you setup Mitel phones? simply putting the registery info in Global SIP or Line 1, Line 2...?
18:44.41monstercoI have setup in global setting with old Aastra phones and they worked fine - never bothered with each line
18:52.38monstercowhat is a local dialplan for mitel that allows calling north america?
18:56.27SamotYou're going to have to look at Mitel's documents.
18:57.09SamotBecause each brand has their own pattern matching and  timeout schemes.
19:10.05monstercothis is the default and supposed to cover all north am: X+#|XX+*
19:10.15monstercohttps://www.manualslib.com/manual/1040000/Mitel-6867i.html?page=332#manual
19:17.15*** join/#asterisk Janos (~Janos@201.204.94.76)
19:37.16*** join/#asterisk yoink (~yoink@unaffiliated/yoink)
19:42.54*** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
20:18.39*** join/#asterisk Ai9zO5AP (~BQcdf9eiZ@41.248.193.197)
20:28.32*** join/#asterisk FuriousGeorge (477d5f7d@pool-71-125-95-125.nwrknj.east.verizon.net)
20:33.38*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
20:41.36*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
21:00.01*** join/#asterisk bkervaski (18c50696@24-197-6-150.static.leds.al.charter.com)
21:01.21bkervaskiHey guys .. finally migrating all of our stuff to PJSIP .. in learning mode right now .. I'm having an issue with PJSIP_DIAL_CONTACTS on asterisk 13.latest .. If an endpoint is unavailable (i.e., no contacts registered), PJSIP_DIAL_CONTACTS creates a dial string with a prepending '&' and the subsequent Dial() fails.  Any advice?
21:02.58seanbrightsounds like a big
21:03.00seanbrightbug*
21:04.53seanbrightbut looking at the code i am not sure how that is possible
21:05.11seanbrightcan you pastebin the console output showing a failed call?
21:05.12seanbright~pb
21:05.12infobotpastebin is probably 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.
21:05.48bkervaskiYep, one sec ...
21:05.54bkervaski(thanks for looking)
21:08.30bkervaskiDial("PJSIP/heavy.801-000000d7", "&PJSIP/heavy.803/sip:heavy.803@192.168.1.1:5060,15,irxk")
21:08.52seanbrighti don't see how that is possible
21:08.58seanbrightcan you show your dialplan?
21:09.10[TK]D-FenderShouldn't be a & in front
21:09.14bkervaskiSo the endpoing PJSIP/heavy.802 was included but offline.  I just noticed it will also put an '&' at the end of the dial string depending on whether the last has registered contacts or not.
21:09.17bkervaskiRight.
21:09.20bkervaskiTK! Wow, years.
21:09.29seanbright[TK]D-Fender: that is the point of the question
21:09.51seanbrightbkervaski: pastebin your dialplan
21:10.21seanbrightat least the part calling Dial()
21:11.01bkervaskiexten => 101,n,Dial(${PJSIP_DIAL_CONTACTS(heavy.802)}&${PJSIP_DIAL_CONTACTS(heavy.803)},15,irxk)
21:11.10seanbrightyes
21:11.14seanbrightyou have a & in there
21:11.56bkervaskiAhh.. so I mistakenly divided my separate conact lists up okay got it, feeling kind of dumb but thankful :)
21:12.16seanbright${PJSIP_DIAL_CONTACTS(heavy.802)} evaluates (correctly) to empty
21:12.23seanbrightwhich is why you get the leading &
21:12.30seanbrightso you'll have to do some juggling to get what you want
21:12.38seanbrightbut PJSIP_DIAL_CONTACTS appears to be working as intended
21:12.50bkervaskiRoger.  Thanks for the (in)sanity check!
21:27.04*** join/#asterisk jay-- (~anonymous@107.242.116.147)
21:40.44*** join/#asterisk techquila (~techquila@122.56.22.137)
22:16.13*** join/#asterisk rwb (~Thunderbi@65.183.138.202)
22:19.33*** join/#asterisk techquila (~techquila@2407:7000:9125:e400:a453:6053:e9c0:bace)
23:08.16*** join/#asterisk jasonwert (~w3rt@198.167.245.16)
23:17.04*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
23:52.14*** join/#asterisk jay-- (~anonymous@107.242.116.138)
23:58.59*** join/#asterisk jasonwert (~w3rt@198.167.245.16)

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