IRC log for #asterisk on 20161029

00:00.38*** join/#asterisk klow (~textual@96-81-150-137-static.hfc.comcastbusiness.net)
00:07.35*** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net)
00:49.31*** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-xginuuskhifkchxx)
00:54.03*** join/#asterisk infernix (nix@unaffiliated/infernix)
01:14.51*** join/#asterisk pchero (~pchero@109.70.54.56)
01:19.24Marionumber1Does anyone know why a phone would work for a little while with chan_mobile, then suddenly disconnect, no longer act as a Bluetooth handsfree device, and be listed as "Busy" in "mobile show devices"?
01:57.29*** join/#asterisk Chotaire (chotaire@oahu.chotaire.net)
02:01.26*** join/#asterisk drab (~administr@173-166-230-154-sacramento.hfc.comcastbusiness.net)
02:02.23drabhi, I have an asterisk 11 instance running just fine on ubuntu, super simple, just a bunch of sip clients and google voice outbound
02:02.51drabI installed asterisk 13 on a VM to test, copied the configs over and nothing works, the process comes up but does nothing, not a single line is printed to the logs even
02:03.06*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
02:03.17drabif I run safe_asterisk however everything works just fine, stuff shows up in the logs and if I get into the console and do sip show peers I see what I'd expect
02:03.46drabI read the migration guidelines but the conf is sosimple I didn't see any particular note on stuff I should be changing that would break 13
02:03.55drabany thoughts?
02:30.27*** join/#asterisk klow (~textual@mail.tdi.cloud)
02:34.56*** join/#asterisk infernix (nix@unaffiliated/infernix)
03:01.58*** join/#asterisk stac (~stac@april-fools/2013/runnerup/stac)
03:34.14*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
03:50.31*** join/#asterisk tzafrir (~tzafrir@bzq-84-109-18-138.red.bezeqint.net)
04:27.48*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
05:20.23*** join/#asterisk matrix1233 (~matrix123@41.230.26.59)
05:32.04*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
05:36.30*** join/#asterisk hehol (~Adium@ip-178-203-97-214.hsi10.unitymediagroup.de)
05:53.43*** join/#asterisk shootbird (~quassel@205.185.122.214)
05:55.28drmessanodrab: Permissions
07:17.51*** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at)
07:27.01*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
07:38.09*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
07:47.51*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
07:58.42*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
08:12.03*** join/#asterisk miralin (~Thunderbi@194.8.128.48)
08:20.38*** join/#asterisk tuxian (~tuxian@igilmour.plus.com)
08:21.38*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
09:23.33*** join/#asterisk pchero (~pchero@109.70.54.56)
09:41.28*** join/#asterisk ChannelZ (channelz@burner.com)
09:44.41*** join/#asterisk Tiffon (~name@unaffiliated/tiff0n)
09:57.44*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
09:59.14*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
10:16.45*** join/#asterisk matsk (~matsk@vpnbl.borderlight.net)
10:27.57*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
10:38.28*** join/#asterisk Gaster (b03b4514@gateway/web/cgi-irc/kiwiirc.com/ip.176.59.69.20)
10:39.05GasterHow do I `goto` to a pattern?
10:40.52GasterHm, nah, that is silly. How do I `goto` to extension, defined with callerid, without defining callerid? E.g. s/_1XX => .
10:43.09GasterI don't want to actually change callerid before jumping to s/_1XX.
10:43.16GasterIs there a way?
10:46.32*** join/#asterisk sekil (~sekil@nat-73.net011.net)
10:51.09*** join/#asterisk defsdoor (~andy@cpc35-sutt4-2-0-cust184.19-1.cable.virginm.net)
11:14.17*** join/#asterisk karelk (~karel@31.10.149.26)
11:15.46*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
11:33.38*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-72-185.w2-12.abo.wanadoo.fr)
11:59.51*** join/#asterisk drale2k (~drale2k@46.101.230.32)
12:07.03*** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net)
12:15.46*** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125)
12:19.28*** join/#asterisk miralin (~Thunderbi@194.8.128.48)
12:23.20*** join/#asterisk zapata (~zapata@2a02:b18:581:10:596c:42c3:24ee:5513)
12:52.15*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-72-185.w2-12.abo.wanadoo.fr)
13:04.56*** join/#asterisk Gaster (b03b4514@gateway/web/cgi-irc/kiwiirc.com/ip.176.59.69.20)
13:05.54GasterHow do you jump (`goto`) between extensions matched by CID? (e.g. s/_1XX and s/_2XX)
13:15.44*** join/#asterisk Ahmadi (02b00fd1@gateway/web/freenode/ip.2.176.15.209)
13:15.49AhmadiHi
13:16.32AhmadiHow can i record a room to a wav file? Some call parties are talking on the room and i want record the conversation
13:33.36SamotThe recordings are in raw
13:33.52SamotYou'll have to convert to wav I believe..
13:43.16Ahmadino problem
13:43.39Ahmadii just want record the room to a wave file ( format is not important )
14:32.44GasterI've made an addition to wiki page "Pattern Matching".
14:33.21GasterI added info on caveats when using match by CID.
14:39.39*** join/#asterisk tzafrir (~tzafrir@bzq-84-109-18-138.cablep.bezeqint.net)
14:46.42*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
15:07.14GasterWhat format of regular expressions does Asterisk use with ":" and "=~" operators? PCRE?
15:14.07*** join/#asterisk matrix1233 (~matrix123@197.2.34.113)
15:38.05*** join/#asterisk evilman_work (~evilman@87.244.6.228)
15:38.12*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
15:43.36*** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net)
15:46.12*** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net)
16:15.35*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
16:34.56*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
17:01.16*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
17:02.00*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
17:10.21*** join/#asterisk karelk (~karel@31.10.149.26)
17:14.50*** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za)
17:19.40*** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za)
17:21.59igcewielingum, _ doesn't do regex.
17:37.12*** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com)
17:43.12*** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com)
17:46.36igcewieling*grumble*  Looks like I need to find someone with a facebook account.
17:51.22*** join/#asterisk rpifan (~rpi@73.106.74.192)
18:24.25*** join/#asterisk Gaster (57750df9@gateway/web/cgi-irc/kiwiirc.com/ip.87.117.13.249)
18:26.27GasterWhich regex standard do Asterisk operators "=~" and ":" use? PCRE?
18:26.59igcewielingGaster: exctly where are you referring to?
18:27.11igcewielingfunc_regex?
18:27.35Gasterhttps://wiki.asterisk.org/wiki/display/AST/Operators
18:27.55GasterUsing operators inside $[] anywhere in dialplan.
18:29.29Gasterif ( "${EXTEN}" =~ "^8\d{10}$"  ) { NoOp(This is an AEL example, conf would be similar); }
18:33.18igcewielingum, those are not regular expressions
18:33.32igcewieling$[] is a conditional
18:33.52igcewielingwhere do you see those operators documented?
18:34.19igcewielingsorry, I supose I could read the scrollback
18:34.41Gasterhttp://www.voip-info.org/wiki/view/Asterisk+Expressions
18:34.49GasterThis is still relevant.
18:35.14GasterYou never used operators, did you?
18:35.16igcewielingI always used func_regexp
18:36.30igcewielingstuff like this: if (${REGEX("^(busy|vm|vm/.+|efax/[^@]+@.+|cause/.+|goto/.+|rna)$" ${TOLOWER(${dest})})}) {
18:36.45GasterDoes this function use PCRE? It's not documented either https://wiki.asterisk.org/wiki/display/AST/Function_REGEX
18:37.08igcewielingI strongly doubt it.   I suspect POSIX or POSIX extended
18:37.28GasterOh. So no funky lookarounds?
18:38.04igcewielingyou could check the code I guess.
18:38.15GasterThank you for information.
18:39.01igcewielingif I need complicated matching the task is usually better suited for an AGI
18:39.35GasterSure thing.
18:40.26igcewielingIf anyone is interested in non-usa/non-canada NANPA countries:  SM_INTL_REGEX=^011|^1684|^1264|^1268|^1242|^1246|^1441|^1284|^1345|^1767|^1809|^1829|^1849|^1473|^1671|^1876|^1664|^1670|^1869|^1758|^1784|^1721|^1868|^1649
18:58.25*** join/#asterisk Marionumber1 (~Marionumb@pool-96-241-198-252.washdc.fios.verizon.net)
18:58.41Marionumber1Re-asking my question from yesterday: Does anyone know why a phone would work for a little while with chan_mobile, then suddenly disconnect, no longer act as a Bluetooth handsfree device, and be listed as "Busy" in "mobile show devices"?
18:59.20drmessanoDid you get a new dongle?
19:00.05drmessanoMarionumber1: ?
19:00.37Marionumber1Yes, I got the Iogear Bluetooth 2.1 version. It could actually work with "mobile search" and make a couple calls with audio, but then this issue showed up.
19:01.00drmessanoWhy did you get another iogear?
19:01.52Marionumber1Because a source said that the 2.1 version worked, but the 4.0 version didn't
19:02.43drmessanohttp://www.ebay.com/itm/Mini-Bluetooth-4-0-USB-2-0-CSR4-0-Dongle-Adapter-For-Win-8-7-XP-Laptop-PC-/161660646854?hash=item25a3b9b5c6:g:7awAAOSwMmBVwsUb
19:02.50drmessanoThis is what you want
19:04.42drmessanoEvery single name brand dongle I tried didn't work.  I think I have that iogear 2.1 here
19:04.48Marionumber1Is this verified to work with chan_mobile?
19:05.53drmessano.....
19:05.55*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
19:06.30Marionumber1?
19:06.32drmessanoThis is a generic bluetooth dongle.  What you are buying is not
19:06.55drmessanochan_mobile works with the lowest common denominator
19:07.47drmessanoStop buying name brand BT dongles, get a generic chinese one, and try it
19:08.10Marionumber1Okay, but I want to know if anyone has personally had success with it
19:08.29drmessanoIts 5 dollars
19:08.43drmessanoJust buy it and try it
19:09.02Marionumber1It's not an unreasonable question if someone is there to answer it
19:09.07drmessanoor come in here every day for a couple weeks or so and see if anyone else chimes in
19:09.13drmessanoNot a lot of people on here have used it
19:09.40drmessanoIve been in here 11 years and talked to a handful that have played with chan_mobile.
19:09.52drmessanoSo spend the $5 or wait a couple years
19:10.26drmessanoI did experiment extensively with chan_mobile
19:10.31drmessanoI can tell you 2 things
19:10.38drmessanoName brand dongles are mostly a miss..
19:10.45drmessanoNever found one that works
19:10.58drmessanoand the chinese dongles are all pretty much the same
19:11.52drmessanoAs far as anyone using THAT specific one?  Who knows.. Look on ebay, there's lots of variants.. But that one seems to be the prevalent one in the lists.  Probably the best one to try
19:11.59Marionumber1Alright
19:12.04Marionumber1Thanks
19:29.21*** join/#asterisk pchero (~pchero@109.70.54.56)
19:44.18*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:56.35*** join/#asterisk Aboba (~Bob@node-1w7jr9sqc1awx4mj62ixqgrqv.ipv6.telus.net)
20:14.55*** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net)
20:20.35*** join/#asterisk MN1 (~Marionumb@pool-96-241-198-252.washdc.fios.verizon.net)
20:38.21drabdrmessano: all files in /etc are owned by asterisk so permissions should be ok
20:41.40draboh, dang it, files inside were owned by asterisk but /etc/asterisk itself was owned by root and no permissions for other
20:41.43drabthanks
20:56.11*** join/#asterisk miralin (~Thunderbi@194.8.128.48)
21:18.51drmessanoYep
21:18.52drmessanolol
21:47.43*** join/#asterisk miralin (~Thunderbi@194.8.128.48)
22:08.54dan_jHi. I read somewhere that fail2ban is no longer recommended for asterisk13. What is currently recommended to block brute force attacks?
22:18.16drmessanofail2ban has always sucked
22:18.44drmessanoiptables rate limiting is the way to go
22:19.53drmessanoFilter based on INVITEs and REGISTERs per IP
22:21.50dan_jInteresting. Ok thanks. I'll look into it.
22:23.37WIMPyAnd standard answer: AMI is your friend.
22:24.17dan_jI know. But it means i need to write something to monitor AMI :)
22:24.34WIMPyCorrect.
22:26.19SamotWIMPy: AMI is dead.
22:26.23Samot:)
22:26.28dan_j?
22:26.32WIMPyAsterisk is dead.
22:26.38SamotIt's a joke, dan_j.
22:26.50SamotFor WIMPy.
22:27.05WIMPyEverything but the future is dead in here.
22:27.24SamotWell, 11 isn't dead.
22:27.41WIMPyI think there are other opinions around.
22:27.47SamotIt's just that person on life support you don't want to visit.
22:28.08WIMPyBut I'm in fact just cabout to compile the possibly last 11 now.
22:28.58SamotThat must be why I hear Taps playing softly in the background..
22:57.45*** join/#asterisk infobot (ibot@rikers.org)
22:57.45*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.12.1 (2016/10/27), 11.24.1 (2016/10/27), Standard: 14.1.1 (2016/10/27); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.5.0 (2016/03/28) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
23:30.01drabI'm ending up with a bunch of asterisk logs in syslog, but logger show channels only show full, messages and console in /var/log/asterisk
23:30.22drabany idea why logs are ending in syslog too? this is on asterisk 13 on ubuntu 16.04
23:31.37drabat the end of logger.conf there is the syslog.local0 entry and that's commented out

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