IRC log for #asterisk on 20180118

00:06.02*** part/#asterisk kharwell (kharwell@nat/digium/x-lthenbaclmtxujrs)
00:23.08*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
00:31.04*** join/#asterisk jeffspeff (~me@209.141.208.197)
01:20.09*** join/#asterisk infobot (ibot@rikers.org)
01:20.09*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.19.0 (2018/01/11), Standard: 15.2.0 (2018/01/11); 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:58.18*** join/#asterisk tafa2 (~tafa2@t.ldn.dsrtnet.com)
01:58.18*** join/#asterisk dobson (~dobson@68.ip-149-56-14.net)
01:58.19*** join/#asterisk moy (sid47040@gateway/web/irccloud.com/x-wfokxtzpncdxzhcv)
01:58.28*** join/#asterisk mbecroft (~user@ak2.becroft.co.nz)
02:04.38*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
02:17.26*** join/#asterisk ddickenson (sid179041@gateway/web/irccloud.com/x-iyuowjvxrlbmazhn)
02:40.04*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
02:57.59*** join/#asterisk snadge (~snadge@unaffiliated/snadge)
02:58.35snadgedoes nat=yes in sip.conf general section require a restart or is reload enough?
02:59.03[TK]D-Fenderreload should do
03:01.05snadgeOK, I'm trying to figure out why asterisk is sending rtp to the address in the sdp
03:01.34snadgeEven though nat=yes for both the general case and the registered extension
03:02.15snadgeie its honouring it, even though its unroutable
03:02.46snadgeso it should be sending to the source address instead
03:11.13*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
03:15.13snadgeI know why now :)
03:15.29snadgethe documentation lies
03:15.58snadgeNat=yes does not mean it won't honour the sdp
03:16.42snadgeit means it does until it receives an rtp packet, then it will correct IRS behaviour.. So I've learned about the nat on each side rtp deadlock behaviour
03:17.05snadgeIRS, its.. Stupid phone
03:18.10snadgethis is what happens when you try to do retarded stuff like set your externip to an internal ip
03:18.37snadgeI suspect we need to define local networks to fix the nat behaviour
03:23.31snadgeI am sorry to bother you with trivial crap like this TKD.. You've been around for ages :)
03:38.12*** join/#asterisk infobot (ibot@rikers.org)
03:38.12*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.19.0 (2018/01/11), Standard: 15.2.0 (2018/01/11); 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
03:42.20SamotYour SDP should not contain an RFC1819 address when going over NAT.
03:57.36SamotAlso nat=yes has been deprecated since Asterisk 10
04:15.26*** join/#asterisk mbecroft (~user@ak2.becroft.co.nz)
04:19.38*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
04:41.51snadge<PROTECTED>
04:42.45snadgeIt gets worse, I'm using proprietary shite.. Pbxware from bicom
04:43.35snadgeI started a new job, unfortunately more VoIP related than the last
04:44.19snadgeI think I'd rather chop my dick off than have anything to do with pbxs or voice
04:50.56*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
05:04.13SamotDeprecated means it might now work properly down the road.
05:04.55SamotIf you are using v13/v15 you shouldn't use v10 configurations
05:05.10drmessanoTo be fair
05:05.13SamotSure they will probably work for the most part but things change.
05:05.16drmessanoIt's really a 1.0 config
05:06.04SamotBut RTP goes to the IP:Port presented in the SDP body.
05:10.34drmessano23:41:52 <snadge>  Haha, because deprecated means nobody uses it anymore.. If only ;)
05:10.41drmessano^ It literally doesn't
05:11.11drmessanoDeprecation can come in many forms. In this case, as in many cases with Asterisk, settings have changed and been improved
05:11.22SamotRight.
05:11.29drmessanoFeel free to Google for the non-15 year old options for nat=
05:11.31SamotAsterisk rarely removes old setings.
05:11.35SamotAsterisk rarely removes old settings.
05:12.02SamotJust marks them deprecated with a note that says "Use X instead"
05:12.07drmessanoor just keep upgrading and come back and complain when it doesnt work in 16 or so
05:12.19Samotcanreinvite still works
05:12.21drmessanoBut also
05:12.27drmessanoIf you ever looked at a log
05:12.31drmessanoIts printed there
05:12.32SamotBut directmedia has replaced it.
05:12.46SamotNone of the current sample configs have a reference to it
05:12.56SamotJust like nat=yes is no longer in the sample config.
05:13.17drmessanoI believe both of those settings print log warnings on startup/reload
05:13.24drmessanoDescriptive ones
05:13.36drmessano<Insert Kermit Meme>
05:13.58SamotWell, there was a guy in here the other week...
05:14.18SamotTrying to use the sample configs to troubleshoot settings in Asterisk 1.8
05:14.26drmessanoha
05:14.51SamotI forgot that in that version you couldn't set multiple settings separated by a comma
05:15.09snadgeI got that particular problem sussed, asterisk allows multiple values for localnet
05:15.10SamotI can't remember the exact setting but it still required a line for each.
05:15.17SamotYes, it does
05:15.27snadgeso you can define as many networks as you need to, to exclude from the nat setting
05:15.33SamotYes.
05:15.45Samotlocalnet is important when dealing with NAT
05:15.50snadgeI think that will fix the problem but have to wait until after hours to teat
05:16.19drmessanoAlso, now is a good time to use the current options for the nat= setting
05:16.22snadgeerr test.. Theres a fortigate in the mix which complicates things
05:16.32snadgeits asterisk 1.8
05:16.46snadgeso no need for current settings ;)
05:17.10snadgeI'm aware of comedia and rport
05:18.03drmessanoBut not the localnet setting?
05:18.08drmessanoThats Bizarre
05:18.41snadgethe complication was the software I'm using only allows one entry for localnet
05:18.50drmessanoWhich software?
05:19.01snadgebut a google death revealed there's an extra sip settings option
05:19.06SamotYou understand that neither of those change the IP where Asterisk sends RTP, right?
05:19.10drmessanoWait
05:19.14snadgedeath, search.. Using a phone
05:19.15drmessano"Extra SIP Settings"
05:19.18drmessanoYou mean FreePBX?
05:19.25snadgeIts pbxware, bicom
05:19.29drmessanoOkay
05:19.44drmessanoI guess they use the same term
05:19.48SamotSo in other words, "The GUI didn't have a spot for it"
05:19.56drmessanoWhich = everything
05:20.05snadgeIn extra sip settings you can simply add localnet=blah
05:20.10SamotRight
05:20.11snadgeyeah
05:20.21SamotBecause its letting you add sip settings to the sip.conf
05:20.23SamotLike anyone would.
05:20.32drmessanoBizarre
05:20.44snadgeI wish it would allow you to rip off the config files from the gui
05:21.00SamotYou can't SSH into it?
05:21.03snadgeits a 3rd party PBX and we want to host it ourselves :P
05:21.08snadgeUnfortunately not
05:21.24snadgeThey won't give us the configs but we have web access
05:21.59drmessanoAre the SIP ports exposed to the public internet?
05:22.25snadgeI believe so
05:22.32drmessanoWith 1.8 on it?
05:22.37drmessanoDo me a favor
05:22.44drmessanoSend me the info for your HR person
05:22.53snadgeTheir might be an SBC in front of it
05:22.59snadgeErr there
05:23.00drmessanoI wanna apply for the position of the InfoSec guy that needs to be fired for allowing that
05:23.30snadgeIf we can get root access via 1.8 that would be useful ;)
05:23.43drmessano1.8 shouldn't even be used
05:24.35drmessano1.8 went security-fix in 2014 and EOL in 2015
05:24.39drmessanoIt's beyond dead
05:27.09snadgeThis ones unfortunately a third party.. I'm only just starting to learn about pbxware
05:27.19snadgeIt uses gentoo.. lol
05:27.39drmessanoSure but isn't your company using it?
05:32.01snadgeRight, it's my job to try and fix this stuff, its day #3
05:32.29snadgeMigrating away from this PBX is  challenge
05:32.57snadgeobviously easiest option is to use the same software except on our own server, I feel thats step one
05:33.23snadgebut with only GUI access to the configs, thats bound to end badly
05:33.51SamotI don't understand.
05:33.54SamotIt's Asterisk.
05:34.07SamotAt this point go get FreePBX, make a VM, installed FreePBX.
05:34.16SamotYou know your extensions
05:34.22SamotYou know your IVRs and call flow
05:34.29snadgeOK sure but apparently theres crap everywhere
05:34.39SamotWhat does that mean?
05:34.42snadgebound to miss stuff and get it wrong
05:34.57SamotYou can't export from that system to another system.
05:34.58snadgeHeaps of options to drill down into
05:35.07drmessanowait
05:35.10drmessano00:34:43 <snadge> bound to miss stuff and get it wrong
05:35.13drmessano^ Uhm
05:35.23drmessanoIsnt that part of doing ones job?
05:35.38drmessanoFiguring it out..
05:35.52SamotYou can't take an PBXWare system, export the configs and then upload that into a FreePBX system.
05:35.54drmessanoLooking at the "Stuff everywhere" and documenting it
05:35.59SamotIt's just not going to work.
05:35.59snadgesure :) this PBX is one part of it
05:36.01drmessanoSo you DONT get it all wrong
05:36.17drmessanoSo how is that a viable excuse for anything
05:36.29snadgeFreepbx can approximate their current setup sure
05:36.33drmessano"Well, its going to be hard and we may get stuff wrong, so lets not do it"
05:36.41snadgeThe transition is going to be bumpy
05:36.45SamotNo kidding.
05:36.47snadgeexactly
05:36.49drmessanoNo kidding
05:36.49SamotThat's the breaks.
05:36.57drmessanoPart of being a tech
05:37.01SamotThat's what you are there for.
05:37.02drmessanoDoing actual work
05:37.08snadgeYeah I wanted to try and two part it
05:37.14SamotTo realize it is going to be bumpy and how to make it as smooth as possible.
05:37.28snadgeIe some how rip off the exact setup but be in control of it 100%
05:37.37SamotYou CAN'T
05:37.40snadgethen we have a solid reference to work with
05:37.42SamotFor so many reasons.
05:37.48drmessanoIf you migrate it to another of the same box, you wont replace it
05:37.52Samot1) It's Asterisk 1.8
05:38.00drmessanoI can already tell from this convo
05:38.03Samot2) It's a closed system using Asterisk...
05:38.09drmessanoBecause once you solve one problem you'll drop it
05:38.11SamotSo it's not going to be setup the same way any place else.
05:38.22drmessanoGrow a pair and get a new PBX in place
05:38.29drmessanoDocument, plan, migrate
05:38.30drmessanoJFC
05:38.38SamotYou're going to actually have to do this the hard way.
05:38.52snadgeI'm allergic to effort
05:38.55SamotBecause whoever was before you there decided to do it the lazy way.
05:38.58SamotDear god.
05:39.05drmessanosnadge: It's pretty obvious
05:39.18SamotWhy did I even bother to try and help?
05:39.21snadgeand I hate VoIP systems.. I just want to phone it in ;)
05:39.29SamotThen quit.
05:39.34drmessanogoes off to do real work
05:39.40Samotfollows
05:39.43snadgebecause I need the money
05:44.48snadgethanks for the advice anyway
05:53.46*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
06:05.42*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
06:33.06*** join/#asterisk emk (~emk@unaffiliated/emk)
07:06.48*** join/#asterisk bmg505 (~leon@196-210-48-46.dynamic.isadsl.co.za)
07:44.06*** join/#asterisk kai[El] (~voipmonk@138.68.2.1)
07:45.06*** join/#asterisk mubbashar84 (~mubbashar@202.165.242.127)
07:47.32mubbashar84i need to detect Voicemails through asterisk. AMD is creating delays while detecting so due to delays bad customers experience is observed i am in search of better option other than AMD or BackgroundDetect.
08:00.28*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
08:06.00*** join/#asterisk miralin (~Thunderbi@91.237.94.67)
08:06.46*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:08.34*** join/#asterisk mahlon (~mahlon@martini.nu)
08:11.55*** join/#asterisk pchero_work (~pchero@109.70.54.56)
08:16.32*** join/#asterisk jamesaxl (~jamesaxl@109.70.186.216)
08:24.20*** join/#asterisk miralin1 (~Thunderbi@91.237.94.67)
08:28.34*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
08:30.04*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:30.33*** join/#asterisk mou (~donwillia@37.97.50.103)
08:56.58jamesaxlDo I have something wrong here https://bpaste.net/show/f2eabd1a118c? cause I received  res_odbc.c:448 ast_odbc_print_errors: SQL Execute returned an error: HY000: ERROR:  more than one row returned by a subquery used as an expression;
09:06.13*** join/#asterisk DanB (~DanB@clt-195.192.203.142.ip-anschluss.net)
09:07.07*** join/#asterisk Iamnach0 (~Iamnacho@ip72-213-56-35.om.om.cox.net)
09:16.16*** join/#asterisk ttaylor (~ttaylor@vpn.duh.net)
09:34.29*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
11:28.45*** join/#asterisk sekil (~sekil@nat-73.net011.net)
11:46.25jamesaxlDo I have something wrong here https://bpaste.net/show/f2eabd1a118c? cause I received  res_odbc.c:448 ast_odbc_print_errors: SQL Execute returned an error: HY000: ERROR:  more than one row returned by a subquery used as an expression;
12:23.40*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
12:46.06*** join/#asterisk freebs (freebs@gateway/vpn/privateinternetaccess/freebs)
13:02.46*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
13:11.06*** join/#asterisk MrMojit0 (~MrMojit0@194.171.91.248)
13:11.12*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
13:13.58*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
13:41.12Maliuta_what is in the SQL?
13:41.27Maliuta_you need to look there
13:42.38SamotWhere is the DB query in that dialplan?
13:43.58*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
13:44.46SamotAnd HY000 means some sort of general error or an error with no related error code happened.
13:53.06*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
14:27.18jamesaxlSamot, I have only same => n,Set(NAME=${ODBC_FULLNAME(${EXTEN})}) , this table is seppeers name is A unique COLUMN.
14:27.39jamesaxlunique FIELD*
14:30.02SamotOK that didn't exist in the dialplan you shared.
14:33.12SamotI don't use the ODBC stuff a lot for things in dialplan but I don't recall a function called ODBC_FULLNAME()
14:34.20GuggeODBC_XXX is user defined functions
14:35.01SamotYes.
14:35.10SamotAgain, I said I don't recall a FULLNAME
14:35.12SamotThere is FETCH
14:35.22SamotRollback, Commit
14:35.28SamotI get there are ODBC_XXX commands.
14:35.34SamotI was referring to a specific one.
14:36.34SamotThe fact there is a general HY000 error being return could go along with sending an unknown command via ODBC
14:56.03jamesaxlSamot, thank you for this information.
15:17.09*** join/#asterisk jjg (~lappin.ha@75-147-197-114-Atlanta.hfc.comcastbusiness.net)
15:26.43*** join/#asterisk kharwell (kharwell@nat/digium/x-kgitlalgvzdihuzl)
15:26.43*** mode/#asterisk [+o kharwell] by ChanServ
15:33.23*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
15:33.24*** mode/#asterisk [+o bford] by ChanServ
15:38.22*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
15:38.22*** mode/#asterisk [+o cresl1n] by ChanServ
15:50.58*** join/#asterisk rmudgett (rmudgett@nat/digium/x-jrpdzqgpiznniiir)
15:50.58*** mode/#asterisk [+o rmudgett] by ChanServ
16:05.07*** join/#asterisk scgm11_ (~scgm11@r186-52-171-49.dialup.adsl.anteldata.net.uy)
16:07.05*** join/#asterisk GeneralSpongebob (~Spongebob@cpc127156-mapp14-2-0-cust83.12-4.cable.virginm.net)
16:07.37*** join/#asterisk scgm11_ (~scgm11@r186-52-171-49.dialup.adsl.anteldata.net.uy)
16:07.42GeneralSpongebobHi, when I do "sip show peers" I can see an extension "4038/door" but I don't know where "door" is coming from. Where is that name in sip.conf?
16:08.01scgm11_is there anywhere were I can find astricon 2017 videos? or they wont be published?
16:10.37*** join/#asterisk [sr] (~kvirc@pal-213-228-163-73.netvisao.pt)
16:10.39[sr]howdy
16:10.57[sr]for the permit= option for sip extensions
16:11.00[sr]what is best to use
16:11.10[sr]192.168.1.44/32 or 192.168.1.44/255.255.255.0
16:11.12[sr]?
16:15.50GeneralSpongebobThe first allows only that IP while the second allows the whole range. It depends on what you want
16:23.28[TK]D-Fenderyou don't even need to specify /32 for that case
16:28.35*** join/#asterisk scgm11_ (~scgm11@r186-52-171-49.dialup.adsl.anteldata.net.uy)
16:49.25*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
16:49.35*** join/#asterisk scgm11_ (~scgm11@r186-52-170-122.dialup.adsl.anteldata.net.uy)
17:17.00*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
17:38.13[sr]GeneralSpongebob: ok you're right, the example should be 192.168.1.44/32 or 192.168.50.44/255.255.255.0
17:38.28[sr][TK]D-Fender: ok great, for single IP no need for netmask
17:38.29[sr]thanks
17:48.11*** join/#asterisk zaf1 (uid235733@gateway/web/irccloud.com/x-pigtfcrfkzhccmxd)
17:49.45avbjamesaxl: your error is sdql related and has nothing todo with asterisk. seems you are using subquery in your main queury which you need to limit to a 1 row result
17:50.17avbsql*
17:51.13jamesaxlavb: that is what I did I limit to 1, But i have sippeers.name unique
17:51.27jamesaxlno problem, I do not have now Any error
17:57.33*** join/#asterisk zaf1 (uid235733@gateway/web/irccloud.com/x-iotbnukpdvewarzj)
18:08.44*** join/#asterisk miralin1 (~Thunderbi@91.237.94.67)
18:27.39*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
18:29.05*** join/#asterisk kai[El] (~voipmonk@2604:a880:2:d0::191:8001)
18:29.20*** join/#asterisk nehemiah (~nehemiah@137.26.129.150)
18:48.41*** join/#asterisk miralin (~Thunderbi@91.237.94.67)
18:58.24GeneralSpongebobHas anyone here ever got a Paxton Mk1 door entry panel working with Asterisk?
19:00.16GeneralSpongebobServer and panel are on the same subnet. The panel registers with Asterisk but goes to unreachable straight away and I can't dial it and it can't dial me. Same thing with qualify=yes and no
19:02.19[TK]D-Fenderset a defaultip and stop qualify-ing on it
19:03.33*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
19:05.51GeneralSpongebobThe panel always tries to register and shows an error if not.
19:07.08[TK]D-FenderIf you want an opinion we should be looking at debug
19:07.10[TK]D-Fenderand configs
19:10.11GeneralSpongebobthe panel log is only that it tried to connect and whether it worked or not. As far as Asterisk goes, " -- Registered SIP '4038' at 10.0.17.61:5060" and that's it at verbosity 5. If I have qualify on it then tells me it's unreachable after it's registered
19:12.13GeneralSpongebobtcpdump shows REGISTER from the panel and the server replying 401 then 200 but that's it
19:18.00*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
19:33.27*** join/#asterisk Bhakimi (~textual@rrcs-76-81-63-218.west.biz.rr.com)
19:38.49*** join/#asterisk SupaYoshi (~SupaYoshi@104.129.10.95)
19:40.39SupaYoshiLooking for (paid) support, setting up a custom_extensions.conf for e164 formatting. for callerid forwarding, anyone here up to call/help/teamviewer/discord/skype/voice?
19:41.24*** join/#asterisk cfx_ (~textual@unaffiliated/cfx-/x-0311648)
20:44.31*** join/#asterisk tuxd00d (~tuxd00d@ip70-180-17-122.ph.ph.cox.net)
20:54.56*** join/#asterisk jkroon (~jkroon@dustpuppy.is.co.za)
20:59.17znoteer_[TK]D-Fender: yesterday you asked me to show packets moving through my firewall towards my * server and back during a call attempt (incoming calls from my voip provider no longer reach asterisk)  I sent a paste.  I was wondering if you've had time to look at it yet
21:02.05znoteer_it would seem to show that udp traffic on port 4569 is getting properly forwarded through the firewall to my * server.  But, incoming calls do not get to me.  (iax2 show registry reports the perceived address as my provider, which is wrong)
21:03.46znoteer_here's the paste again: https://paste.debian.net/hidden/dc3f85e0/  192.168.ccc.5 is the local ip of my *  box
21:56.15*** join/#asterisk Qwell (~north@asterisk/developer/Qwell)
21:56.15*** mode/#asterisk [+o Qwell] by ChanServ
22:14.14*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
22:55.08*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
23:11.15*** join/#asterisk tzafrir (~tzafrir@62-90-199-247.barak.net.il)
23:13.12*** join/#asterisk jeffspeff (~me@209.141.208.197)

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